The Unlinked API uses HTTP RPC-style methods and generally follow the schema:

https://api.unlinked.dev/{version}/{service}/{method}

For example GET https://api.unlinked.dev/v1/staking/citizens to list all citizens that are staked for a given address.

HTTP Methods

We strictly use only GET methods. POST, PUT and DELETE are not used.

GET

GET methods are used for reading data. Filtering, sorting, or pagination is done via query parameters.

curl "https://api.unlinked.dev/v1/staking/citizens/{id}?address=0x" \
  -H "Authorization: Bearer <ROOT_KEY>"