Skip to Content
APITokensGet TRC1155 tokenId Holdings

Get TRC1155 tokenId Holdings

1. Overview & Typical Use

Returns the holder list for a specific tokenId within a TRC1155 contract, along with each holder’s holding details.

  • Typical use: querying the holder distribution and holding-amount ranking for a specific TRC1155 NFT.
  • When not to use: to query all tokenId inventory for a TRC1155 contract use “Get TRC1155 Inventory”.
  • Both contract and tokenId are required parameters.
  • limit max is 50; start + limit ≤ 10000.

2. Endpoint & Authentication

GET /api/trc1155/token/inventory

For Base URL and authentication, see Common Network & Authentication.

3. Request

ParameterTypeRequiredDefaultDescription
contractstringYesTRC1155 contract address
tokenIdstringYesToken ID within the TRC1155 contract
startintegerNo0Start offset; start + limit ≤ 10000
limitintegerNo20Page size, max 50

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredTotal number of holders
rangeTotalintegerRequiredTotal count within the filter range
page_sizeintegerRequiredNumber of records returned on the current page
codeintegerRequiredResponse status code; 200 = success
dataarrayRequiredHoldings record array; see below

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
token_idstringRequiredToken ID
holder_countstringRequiredQuantity held by this address
owner_addressstringRequiredHolder address
token_namestringRequiredToken name
token_descriptionstringOptionalToken description
token_imagestringOptionalToken image URL (external link)
token_imageInnerUrlstringOptionalToken image URL (site-cached)
token_urlstringOptionalToken metadata URL

5. Errors

For HTTP status codes, see Common Errors. Notes for this endpoint:

  • Both contract and tokenId are required: omitting either returns a missing-parameter error.
  • Empty result is not an error: no matches returns 200 + data: [], which is a normal response.
Last updated on: