Latest oracle prices by feed id

GET
/prices

The latest price of each feed from the avee oracle, with its confidence interval and publish time. An unknown id 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

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?ids=stringstringstringstringstringstringstringstringstringstringstri"
{  "items": [    {      "id": "string",      "price": "string",      "conf": "string",      "ema_price": "string",      "publish_time": "string"    }  ]}