Get tokens
Retrieves a list of all tokens supported by the platform across all blockchain networks.
get
/v1/tokens/
Request
Header parameters
Requires authentication.
Body parameters
Doesn't require setting any parameters.
Response
Successful response
| Name | Type | Required | Description |
|---|---|---|---|
id | Number | Required | Token ID. |
code | String | Required | Token code. |
name | String | Required | Token name. |
network_id | Number | Required | Network relation. |
image | String | Optional | Token image URL. |
decimals | Number | Required | Token decimals to adjust amount. |
contract_address | String | Optional | Token contract address. |
wrapped_token_address | String | Optional | If a token has a non-empty value in the response, the token must be wrapped before use. |
is_enabled | Bool | Required | Enabled for exchange. |
cmc_id | Int | Required | Market data provider token ID. |
Sample response
application/json
{
"data": [
{
"id": 4,
"code": "eth",
"name": "ETH",
"network_id": 6,
"image": "https://s2.coinmarketcap.com/static/img/coins/200x200/1027.png",
"decimals": 18,
"contract_address": null,
"wrapped_token_address": "0xc02aaa39************083c756cc2",
"is_enabled": true,
"cmc_id": 1027
},
...
]
}
Error response
Check the error response schema.
Error codes
| Error code | Error type | Error description |
|---|---|---|
401 | authentication_error | Authentication error. |
404 | http_error | Incorrect HTTP request. |
429 | rate_limit_error | Rate limit exceeded. |
500 | internal_error | Internal server error. |
- 401
- 404
- 429
- 500
{
"code": 401,
"type": "authentication_error",
"message": "Authentication error"
}
{
"code": 404,
"type": "http_error",
"message": "HTTP error"
}
{
"code": 429,
"type": "rate_limit_error",
"message": "Rate limit exceeded"
}
{
"code": 500,
"type": "internal_error",
"message": "Internal server error"
}