metadata

Returns price for a token

get/api/v1/prices/{chainId}/{address}

Request

  • Base URL
    https://api.enso.finance
  • URL
    https://api.enso.finance/api/v1/prices/{chainId}/{address}
  • Auth
    HTTP bearer

Path parameters

addressstring required
Example:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Address of the token to search for

chainIdstring required
Example:1

Chain ID of the network to search for

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
}

Changes

No recorded changes to this operation across all 24 revisions of this API.