DeCommas Use Cases
Datalayer Endpoints
All Tokens Metadata
All Coins Metadata
Tokens by Symbol
Coins
ERC-20 Tokens
ERC-20 Tokens Metadata
ERC-20 Transfers
NFTs
NFT Transfers
NFT Metadata
NFT Holders
NFT Collection Metadata
Transactions
Transaction Details
Transaction NFT transfers
Transaction ERC-20 transfers
Protocols
Token Holders
Endpoint: Tokens by Symbol
/tokens_by_symbol
Returns a list of tokens in all networks with the search symbol.
Example
https://datalayer.decommas.net/datalayer/api/v1/tokens_by_symbol/usdc?api-key={YOUR-API-KEY}
GET-params:
- api-key
- networks (default networks=all). You can pass the names of the networks you need, for example, for optimism and arbitrum, the request will look like this:
- https://datalayer.decommas.net/datalayer/api/v1/tokens_by_symbol/{token_symbol}?networks=optimism,arbitrum&api-key={YOUR-API-KEY}
Response example (ALL FIELDS ARE MANDATORY)
{
"count": 2,
"status": 200,
"result": [
{
"chain_name": "mainnet",
"chain_id": 1,
"address": "0x566957ef80f9fd5526cd2bef8be67035c0b81130",
"name": "USD Coin (PoS)",
"decimals": 6,
"symbol": "USDC",
"logo_url": "https://assets.coingecko.com/coins/images/22945/large/USDCpo_wh_small.png?1644223406",
"actual_price": "0.999029",
"is_verified": true,
"is_stable": false,
"is_protocol_token": false
},
{
"chain_name": "mainnet",
"chain_id": 1,
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"name": "USD Coin",
"decimals": 6,
"symbol": "USDC",
"logo_url": "https://assets.coingecko.com/coins/images/6319/large/USD_Coin_icon.png?1547042389",
"actual_price": "1",
"is_verified": true,
"is_stable": true,
"is_protocol_token": false
}
]
}