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 free

Token catalog and search for one chain (paginated).

Parameters

nameintypedescription
networkquerystroptionalChain 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
queryquerystroptionalToken search string: address, symbol or name.
example: 0x0000000000000000000000000000000000000000
symbolquerystroptionalExact symbol lookup on a chain.
example: ETH
pagequeryintoptional1-based page number for the paginated token list.
example: 1
pageSizequeryintoptionalRows 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"