Operations related to tokens
Get all tokens held by an address with their balances and USD values.
path Parameters
addressThe Spark address or public key hex
query Parameters
networkResponses
Response for status 200
totalTokenValueUsdFetch metadata for multiple tokens in a single request. Accepts 1-100 token addresses.
query Parameters
networkRequest Body
token_addressesArray of token addresses to look up (1-100).
Responses
Response for status 200
total_countTotal number of tokens returned
Get token details by identifier/address, or search tokens by name/ticker. Returns TokenDetailsResponse for exact matches and TokenMetadata[] for search queries.
path Parameters
identifierToken identifier (64-char hex), token address (bech32 btk...), or search query string.
query Parameters
networklimitMaximum number of tokens to return. Limit is 50.
offsetNumber of results to skip.
Responses
Response for status 200
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: metadata, totalSupply, marketCapUsd +1 more | |
| type = array |
totalSupplyCurrent total supply as a decimal string
marketCapUsdMarket cap in USD
volume24hUsd24-hour trading volume in USD
Get the top holders of a token sorted by balance descending.
path Parameters
identifierToken identifier (hex) or token address (bech32).
query Parameters
networklimitMaximum number of holders to return. Limit is 75.
offsetNumber of results to skip.
Responses
Response for status 200
Get paginated transactions for a specific token.
path Parameters
identifierToken identifier (hex) or token address (bech32).
query Parameters
networklimitMaximum number of transactions to return (default: 25, max: 100).
offsetNumber of results to skip.
Responses
Response for status 200
List tokens with cursor-based pagination, sorting, and filtering. Supports filtering by icon availability, holder address, and minimum holder count.
query Parameters
networklimitThe number of tokens to return per page. If not provided, the default limit of 25 will be used.
cursorThe cursor to paginate the tokens by. If not provided, the first page of tokens will be returned.
sortsortDirectionhasIconWhether to filter for tokens with icons. If not provided, all tokens will be returned.
holderAddressThe public key hex of the holder to filter for. If not provided, all tokens will be returned.
minHoldersThe minimum number of holders to filter for. If not provided, all tokens will be returned.
Responses
Response for status 200
totalTokensTotal number of tokens matching the query
Cursor for the next page, or null if no more pages
Fetches the hourly tokens balances for an address and token identifier. Currently available on the free plan but will be limited to enterprise users in the future.
path Parameters
addressThe address to fetch the tokens balances for.
tokenIdentifierThe token identifier to fetch the tokens balances for.
query Parameters
networkdirectionfromtocursorPagination cursor from previous response.
limitNumber of results per page (default: 12, max: 48).
Responses
Response for status 200
Cursor for the next page, or null if no more pages