/v1/rate
Best buy/sell P2P price, mid and spread
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/p2prates-api/v1/rate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/p2prates-api/v1/rate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/p2prates-api/v1/rate");
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/p2prates-api/v1/rate",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"fiat": "ARS",
"note": "Price = fiat per 1 USDT; for USDT this approximates the street USD rate.",
"asset": "USDT",
"source": "Binance P2P",
"buy_price": 1500,
"fiat_name": "Argentine Peso",
"mid_price": 1498.5,
"buy_median": 1501.88,
"sell_price": 1497,
"spread_pct": 0.2002,
"sell_median": 1496.72,
"total_buy_ads": 251,
"total_sell_ads": 417
},
"meta": {
"timestamp": "2026-06-10T22:56:55.493Z",
"request_id": "279b2112-1132-495d-8e2c-ce6f721ace60"
},
"status": "ok",
"message": "Rate retrieved successfully",
"success": true
}