GET
/
policy
/
{policy}
/
accounts
Accounts of addresses holding assets of specific policy
curl --request GET \
  --url https://mainnet.gomaestro-api.org/v1/policy/{policy}/accounts \
  --header 'api-key: <api-key>'
{
  "data": [
    {
      "account": "stake1u83s6geern5tjrqgy6h7r99sspdnvayfjcd20k654qh737sfj90vm",
      "assets": [
        {
          "name": "647261676f6e6d",
          "amount": 1
        }
      ]
    },
    {
      "account": "stake1u89727xfn46muezyut6ntj2cgmr0cy28xmjlvlec4w0qnmgyh3hy4",
      "assets": [
        {
          "name": "7468657265616c746f656b6e656573",
          "amount": 1
        }
      ]
    },
    {
      "account": "stake1u8awcypj0uexy9al9msgeg5jqgsrypfcewq4hmz758mdsxsf0egkq",
      "assets": [
        {
          "name": "677579677579",
          "amount": 1
        }
      ]
    },
    {
      "account": "stake1u96e4xmq9877s43meetz0tnwz37m4clv4vvrznj834dzszgkh2mj9",
      "assets": [
        {
          "name": "2e323233",
          "amount": 1
        },
        {
          "name": "6972732e616461",
          "amount": 1
        }
      ]
    }
  ],
  "last_updated": {
    "block_hash": "bdf4630098ac6923e0ef1ca0b0d6e00dca96790a8c3dd670948fdfe1456798d2",
    "block_slot": 73867237
  },
  "next_cursor": "4UJEXH0Ew5ACnrzRLfjDDQOeyeB3vhccUwWwWto"
}

Authorizations

api-key
string
header
required

Project API Key

Headers

amounts-as-strings
string | null

Large numbers returned as strings if set to true

Path Parameters

policy
string
required

Hex encoded Policy ID

Query Parameters

count
integer
default:100

The max number of results per page

Required range: x >= 0
cursor
string | null

Pagination cursor string, use the cursor included in a page of results to fetch the next page

Response

200
application/json

Returns stake addresses for accounts which hold assets of the given policy ID with the asset names and amounts

A paginated response. Pass in the next_cursor in a subsequent request as the cursor query parameter to fetch the next page of results.