Get tokens
Query tokens
Request
- Base URL: https://insight.thirdweb.com
- URL: https://insight.thirdweb.com/v1/tokens
- Auth: API key in header x-client-id
Query parameters
Use chain_id instead
[ 20, 56, 1 ]
The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., ?chain_id=20&chain_id=56. Optional, because a single chain can as well be specified as a subdomain
[ 20, 56, 1 ]
The number of items to return
Page number (0-indexed)
Whether to include metadata for the tokens
Whether to resolve metadata IPFS or Arweave links
Whether to include spam tokens
Address(es) to filter by. You can specify multiple addresses using repeated query parameters, e.g., ?address=0x123&address=0x456
[ "0x1234567890123456789012345678901234567890", "vitalik.eth" ]
Whether to include native tokens
Address(es) to filter by. You can specify multiple addresses using repeated query parameters, e.g., ?address=0x123&address=0x456
[ "0x1234567890123456789012345678901234567890", "vitalik.eth" ]
Field to sort by
Sort order (asc or desc)
Whether to include tokens that don't have price data (only applies when metadata=true)
Response
Successful response
Example response
{
"data": [
{
"chain_id": 1,
"token_address": "vitalik.eth"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.