Tokens API
Learn all the detailed references of Tokens API that provide ERC20/721/1155 token detail information, including the input filters, supported chains, and output fields.
The Tokens API retrieves high-level information on ERC20 tokens, ERC721 tokens (also known as NFT contracts, "Collections," or "NFT Collections," containing multiple tokens), and ERC1155 tokens (also called NFT contracts, "Collections," or "NFT Collections," containing several tokens).
Inputs
filter
Name | Type | Description |
---|---|---|
|
| Token contract address on the blockchain (ERC20, ERC721, ERC1155). |
|
| Name of the contract (e.g. "Moonbirds"). Note that this will fetch all contracts with the name "Moonbirds". |
|
| Identity: blockchain address, domain name, social identity of the owner of the contract |
|
| Symbol of the contract (e.g. "BAYC"). Note - it will return all contracts that have the same symbol. |
|
| ERC20, ERC721, ERC1155 |
|
| It will return only NFTs that are spams (true) or not spams (false). |
Querying by name or symbol returns all contracts with matching data. These fields are not unique.
blockchain
Enum | Description |
---|---|
| Ethereum mainnet |
| Base mainnet |
| Zora mainnet |
| Gold Chain L3 |
| Degen Chain L3 |
order
Name | Description |
---|---|
| Sort the result by the token name in alphabetical order, either in ascending ( |
| Sort the result by the token symbol in alphabetical order, either in ascending ( |
| Sort the result by the token type in alphabetical order ( |
Outputs
Name | Type | Description |
---|---|---|
|
| Token contract address on the blockchain |
|
| Returns the base URI |
|
| Blockchain where the token is deployed |
|
| Unique blockchain identifier |
|
| Token's contract metadata object |
|
| URI for the token's contract metadata |
|
| Number of decimal places for the token's smallest unit |
|
| Airstack unique identifier for the contract |
|
| Indicate whether a token is a spam or not. |
|
| Block number of the token's most recent transfer |
|
| Hash of the token's most recent transfer |
|
| Timestamp of the token's most recent transfer |
|
| Logo image for the contract in various sizes (if available) |
|
| Token contract name |
| **Nested query** allowing to retrieve address, domain names, and social profiles of the contract owner | |
|
| Off-chain data such as project name, description, website, Discord & Twitter |
|
| Token contract metadata as it appears inside the contact |
|
| Token contract symbol (ticker) |
| **Nested query** - allows querying Token Balance information | |
| **Nested query** - individual NFT token data | |
|
| Returns count of all token attribute types and values |
|
| Total supply of the token |
|
| ERC20, ERC721, or ERC1155 |
Last updated