Asset Info API

Asset holders list

Returns a list of all accounts holding non-zero amount of the given asset sorted by the balance size. Accounts with an established trustline but with zero balance excluded from the results set. This API endpoint follows Stellar Horizon API response format convention. A response result contains records and navigation links.

get/explorer/{network}/asset/{asset}/holders

Path parameters

network'public' | 'testnet' required

Stellar network

Example:public

Stellar network

assetstring required

An asset in the format {CODE}-{ISSUER} (or "XLM" for Stellar lumens)

Example:BTC-GDKIIIL2YPRSCSFAYT7FQCH4VXF34YNBIORTYCOKJK5CZ762LX2ND4L4

Target asset

Response

Asset holders fetched

Example response

{
  "_embedded": {
    "records": [
      {
        "account": "GAB6FD5BCBVVQINU5USYV5K4JDAEO6RDL2GZU4K5BILPI6B4FIOF6QWW"
      }
    ]
  }
}

Changes

Changed in 2 of the 5 revisions of this API.211

    • the //// response's property type changed from integer to string for status

      response-property-type-changed

    • removed the optional property //// from the response with the status

      response-optional-property-removed

    • the //// response's property type changed from string to integer for status

      response-property-type-changed

    • added the optional property //// to the response with the status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog