/v1/rate
Best buy/sell P2P price, mid and spread
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}