GET
/
twap
/
pairs
/
information
Global TWAP - Pairs Information
curl --request GET \
  --url https://api.amberdata.com/market/defi/twap/pairs/information \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": [
    {
      "baseAddress": "0x00000000000045166c45af0fc6e4cf31d9e14b9a",
      "quoteAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
      "startDate": "2021-04-18T00:00:00.000Z",
      "endDate": "2021-09-27T00:00:00.000Z"
    }
  ]
}

Authorizations

x-api-key
string
header
default:API_KEY
required

Query Parameters

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

size
integer
default:1000

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

Response

200 - application/json

200

The response is of type object.