GET
/
prices
/
pairs
/
information
/
Pairs Information
curl --request GET \
  --url https://api.amberdata.com/defi/prices/pairs/information/ \
  --header 'x-api-key: <api-key>'
{
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "baseAddress": "0x0000000000004946c0e9f43f4dee607b0ef1fa1c",
        "endDate": "2024-04-05T00:00:00Z",
        "quoteAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
        "startDate": "2020-05-24T00:00:00Z"
      }
    ],
    "metadata": {
      "next": "https://api.amberdata.com/defi/prices/pairs/information?cursor=H4sIAAAAAAAA_0rNS3FJLEl1L0m1NTIwMtE1MNQ1MFQrzqxKtTU0MDBQy09LK04tAbMBAQAA__8MpfmnKwAAAA=="
    }
  },
  "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

size
integer
default:1000

[Optional] The number of results to return in the response. Max of 10000.

timeFormat
string

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

base
string

[Optional] The address of the base asset in the pair

quote
string

[Optional] The address of the quote asset in the pair

endDateGte
string<date>
default:2024-01-01

[Optional] Filter pairs data sets with end dates greater than or equal to this date

Response

200 - application/json

200

The response is of type object.