GET /v2/tokens/
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/rubic/v2/tokens/Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeToken catalog and search for one chain (paginated).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
network | query | str | optional | Chain filter. Accepts the Rubic code (ETH, BSC, ZK_SYNC, …) or any hub alias ('ethereum', 'bsc', 'binance-smart-chain', '137'); the client translates aliases to the code the app sends. example: ethereum |
query | query | str | optional | Token search string: address, symbol or name. example: 0x0000000000000000000000000000000000000000 |
symbol | query | str | optional | Exact symbol lookup on a chain. example: ETH |
page | query | int | optional | 1-based page number for the paginated token list. example: 1 |
pageSize | query | int | optional | Rows per page for the token list (server default 50). example: 20 |
Response
type: object
data key: results
count key: count
cursor key: next
pagination: cursor
sample: {
"count": "int",
"next": "str",
"previous": "null",
"results": "array[5]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/rubic/v2/tokens/?network=ethereum&query=0x0000000000000000000000000000000000000000&symbol=ETH&page=1&pageSize=20"