Get one price feed
The feed's metadata. The response echoes the ID you asked with, Pyth-compatible or Astra.
Path Parameters
id*string
A 32-byte feed ID in hex, with or without 0x, any case.
Match
^(0[xX])?[0-9a-fA-F]{64}$Response Body
application/json
text/plain
text/plain
text/plain
curl -X GET "https://example.com/v2/price_feeds/string"{ "id": "string", "attributes": { "asset_type": "string", "base": "string", "description": "string", "display_symbol": "string", "quote_currency": "string", "schedule": "string", "symbol": "string", "min_channel": "string", "astra_id": "string", "property1": "string", "property2": "string" }, "market_hours": { "is_open": true, "next_open": null, "next_close": null }}List price feeds GET
Every feed once, under its primary ID: the Pyth-compatible ID when the feed has one, otherwise the Astra ID. The Astra ID is always in `attributes.astra_id`.
Latest prices GET
The current value of each requested feed, whatever the `channel`. A feed with no servable value yet counts as not found. Send at most 200 IDs per request; longer URLs are rejected before they reach Astra. For more feeds, use several requests or subscribe over WebSocket, where IDs travel in the message body.