/v1/prices
Min/max/mid oracle price and spread for every token
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/gmx-api/v1/prices" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gmx-api/v1/prices", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gmx-api/v1/prices");
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/gmx-api/v1/prices",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"chain": "arbitrum",
"count": 125,
"prices": [
{
"symbol": "0G",
"address": "0x95c317066CF214b2E6588B2685D949384504F51e",
"decimals": 18,
"synthetic": true,
"spread_bps": 19.2887,
"spread_usd": 0.000527063,
"updated_at": "2026-06-10T22:57:54.021Z",
"max_price_usd": 0.273513203,
"mid_price_usd": 0.273249671,
"min_price_usd": 0.27298614
},
{
"symbol": "AAVE",
"address": "0xba5DdD1f9d7F570dc94a51479a000E3BCE967196",
"decimals": 18,
"synthetic": null,
"spread_bps": 2.4643,
"spread_usd": 0.0149916,
"updated_at": "2026-06-10T22:57:54.021Z",
"max_price_usd": 60.8414042,
"mid_price_usd": 60.8339084,
"min_price_usd": 60.8264127
},
{
"symbol": "ADA",
"address": "0x53186c8419BEB83fE4Da74F7875041a1287337ED",
"decimals": 6,
"synthetic": true,
"spread_bps": 2.756,
"spread_usd": 4.427e-5,
"updated_at": "2026-06-10T22:57:54.021Z",
"max_price_usd": 0.160653895,
"mid_price_usd": 0.16063176,
"min_price_usd": 0.160609626
},
{
"symbol": "AERO",
"address": "0xEcc5eb985Ddbb8335b175b0A2A1144E4c978F1f6",
"decimals": 18,
"synthetic": true,
"spread_bps": 1.132,
"spread_usd": 3.725e-5,
"updated_at": "2026-06-10T22:57:54.021Z",
"max_price_usd": 0.32907686,
"mid_price_usd": 0.329058235,
"min_price_usd": 0.32903961
},
{
"symbol": "AI16Z",
"address": "0xBb69bd9dc152C2c0F083507641a46193d2B61EBb",
"decimals": 9,
"synthetic": true,
"spread_bps": 0,
"spread_usd": 0,
"updated_at": "2026-06-10T22:57:54.021Z",
"max_price_usd": 0.000421092637,
"mid_price_usd": 0.000421092637,
"min_price_usd": 0.000421092637
},
{
"symbol": "AIXBT",
"address": "0xcA543Cb8bCC76e4E0A034F56EB40a1029bDFd70E",
"decimals": 18,
"synthetic": true,
"spread_bps": 10.6292,
"spread_usd": 2.17455e-5,
"updated_at": "2026-06-10T22:57:54.021Z",
"max_price_usd": 0.0204690928,
"mid_price_usd": 0.02045822,
"min_price_usd": 0.0204473473
},
{
"symbol": "ALGO",
…