latestOpenAPI 3.0.02026-08-2232150173.9 KB

b70d36b7002b

metadata

Returns price for multiple tokens

get/api/v1/prices/{chainId}

Path parameters

chainIdnumber required

Chain ID of the network to search for

Query parameters

addressesstring[] required

Ethereum address of the token to check price for (max 100 addresses).

[
  "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
]

Response

decimalsnumber required
pricenumber required
addressstring required
symbolstring
namestring
timestampnumber
chainIdnumber required

Example response

[
  {
    "decimals": 8,
    "price": 27052,
    "address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
    "symbol": "WBTC",
    "name": "Wrapped Bitcoin",
    "timestamp": 1695197412,
    "chainId": 1
  }
]