/v1/price
One feed's latest aggregate price
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/pyth-api/v1/price" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pyth-api/v1/price", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pyth-api/v1/price");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/pyth-api/v1/price",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"id": "e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43",
"base": "BTC",
"expo": -8,
"price": 61369.9,
"quote": "USD",
"source": "Pyth Network",
"symbol": "BTC/USD",
"ema_price": 61432.82,
"asset_type": "Crypto",
"confidence": 21.27,
"publish_time": "2026-06-10T22:57:06.000Z"
},
"meta": {
"timestamp": "2026-06-10T22:57:09.557Z",
"request_id": "d7d7a561-0e13-49cf-b5a8-9b12573d332d"
},
"status": "ok",
"message": "Price retrieved successfully",
"success": true
}