Oracle prices at a past moment

GET
/prices/at

The first price of each feed published at or after ts, within the oracle's history window. A feed with no price in that window is 404.

Query Parameters

ids*array<>

comma-separated 32-byte hex feed ids, 0x optional — the ids GET /v2/price_feeds of the oracle lists

Items1 <= items <= 100
ts*integer

unix seconds UTC

Formatint64
Range1 <= value

Header Parameters

Accept-Payment?string

payment methods the client can use, comma-separated, case-insensitive. With x402 in the list, a spent keyless budget answers 402 with the x402 challenge instead of 429.

PAYMENT-SIGNATURE?string

base64 x402 v2 payment payload for this request. A paid request skips the keyless budget and is settled only when it answers 2xx. The v1 header X-PAYMENT is accepted too.

Response Body

application/json

application/problem+json

application/problem+json

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/prices/at?ids=stringstringstringstringstringstringstringstringstringstringstri&ts=1"
{  "items": [    {      "id": "string",      "price": "string",      "conf": "string",      "ema_price": "string",      "publish_time": "string"    }  ]}