Tokens API
Query the list of tokens available on Kroko DEX, ranked by trading activity.GET /api/v1/tokens2
Returns the token list ranked by trading activity (total transaction count across V2 pairs and V3 pools).Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | No | Number of tokens to return (1–500, default: 100) |
Response
| Field | Description |
|---|---|
address | Token contract address (checksummed) |
symbol | Token ticker symbol |
name | Full token name |
decimals | Number of decimal places |
logoURI | Token icon URL (nullable) |
Ranking Logic
Tokens are ranked by totaltxCount aggregated across all V2 pairs and V3 pools they participate in. Pinned tokens (with admin-set priority) appear first regardless of activity.
GET /api/v1/tokens2/search
Search tokens by symbol or name. Useful for token selector UIs.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Search query (case-insensitive) |
limit | number | No | Max results (default: 10) |
Response
Same format as/api/v1/tokens2. Searches both symbol and name fields using substring matching.
Example
Token Address Discovery
If you have a token contract address but it’s not in the API:- Search by address is not currently supported via the API
- Read on-chain: Call
symbol(),name(), anddecimals()on the ERC-20 contract directly - Import: Contact the team to have the token added to the official list