Rango Docs
Search…
⌃K
Links

Metadata

Get all tokens, DEX, and bridges meta data

Get Metadata

This service fetches all required data to fill a swap's UI, including the list of all tokens, and metadata of Swappers (DEXes & Bridges).
Typescript
cURL
const meta = await rangoClient.meta()
curl 'https://api.rango.exchange/basic/meta?apiKey=YOUR_API_KEY' \
-H 'content-type: application/json;charset=UTF-8' \
-H 'x-rango-id: USER_RANDOM_UUID' \
-H 'origin: https://app.rango.exchange' \
--compressed
You can use usdPrice field of tokens to show some information such as the total value of wallets in $, the size of swaps in $, the loss amount in $, etc.

Metadata Response

Field
Description
blockChains
List of all supported blockchains
tokens
List of all tokens
swappers
List of all supported DEXes & Bridges