Donโt have an API key?
Go to console.chainbase.com to create an account and a new API key.
Supported chains by use case
When calling the Token API, you can use the Network ID listed in the table below as the chain_id
parameter. Token API only supports EVM-compatible blockchains for now.
We will continue to add support for new blockchains. If there is a chain that you wish to support, but we do not, please let us know by reaching out to [email protected]
Chain | Network ID | Balances | Token Transfers | Token Holders | Token Metadata | Market Data |
---|---|---|---|---|---|---|
Ethereum | 1 | ![]() | ![]() | ![]() | ![]() | ![]() |
Polygon | 137 | ![]() | ![]() | ![]() | ![]() | |
BNB | 56 | ![]() | ![]() | ![]() | ![]() | |
Avalanche | 43114 | ![]() | ![]() | ![]() | ![]() | |
Fantom | 250 | ![]() | ![]() | ![]() | ![]() | |
Arbitrum | 42161 | ![]() | ![]() | ![]() | ![]() | |
Optimism | 10 | ![]() | ![]() | ![]() | ![]() |
Token API Endpoints by use case
Balances
Endpoint | What to use it for? |
---|---|
getAccountBalance | Get native token balance |
getAccountTokens | Get ERC20 token balance |
Token Transfers
Endpoint | What to use it for? |
---|---|
getTokenTransfers | Get token transfers by contract |
Token Holders
Endpoint | What to use it for? |
---|---|
getTokenHolders | Get token holders |
Token Metadata
Endpoint | What to use it for? |
---|---|
getTokenMetadata | Get token metadata |
Market Data
Endpoint | What to use it for? |
---|---|
getTokenPrice | Get token price |
getTokenPriceHistory | Get token price history |