GET
/
dex
/
ohlcv
/
information
/
Information
curl --request GET \
  --url https://api.amberdata.com/defi/dex/ohlcv/information/ \
  --header 'x-api-key: <api-key>'
{
  "description": "Successful request",
  "payload": {
    "data": {
      "uniswapv3": {
        "BCZ_WETH": {
          "address": "0x0001fcbba8eb491c3ccfeddc5a5caba1a98c4c28",
          "baseAddress": "0xbef81556ef066ec840a540595c8d12f516b6378f",
          "baseDecimals": "18",
          "baseName": "BinanceCZ",
          "baseSymbol": "BCZ",
          "blockchainId": "1c9c969065fcd1cf",
          "endDate": "2021-07-17T00:00:00Z",
          "pairName": "BCZ_WETH",
          "poolFees": "0.01",
          "quoteAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
          "quoteDecimals": "18",
          "quoteName": "Wrapped Ether",
          "quoteSymbol": "WETH",
          "startDate": "2021-07-17T00:00:00Z"
        }
      }
    },
    "metadata": {
      "next": "https://api.amberdata.com/defi/dex/ohlcv/information?cursor=H4sIAAAAAAAA_0qtSM5IzEtPtS3NyywuTywoM1YrycxNdcsvyk0ssc0szlfLT0srTi2xNVUrzqxKtTUFBAAA___rFeOJMQAAAA=="
    }
  },
  "status": 200,
  "title": "OK"
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Headers

api-version
enum<string>
default:2023-09-30

Desired Endpoint Version

Available options:
2023-09-30

Query Parameters

exchange
string

Only return data for the specified exchange(s) (comma separated). Example: uniswapv3

timeFormat
string

[Optional] Time format of the timestamps in the return payload.<BR/>[Defaults] milliseconds | ms | iso | iso8601* | hr | human_readable

size
integer
default:100

The number of records per page.

Response

200 - application/json

200

The response is of type object.