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
Response
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
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