/v1/history
Recent history of one rate
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/usrates-api/v1/history" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/usrates-api/v1/history", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/usrates-api/v1/history");
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/usrates-api/v1/history",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"name": "Secured Overnight Financing Rate",
"type": "sofr",
"count": 30,
"history": [
{
"date": "2026-06-05",
"name": "Secured Overnight Financing Rate",
"type": "SOFR",
"rate_pct": 3.63,
"percentiles": {
"p1": 3.58,
"p25": 3.61,
"p75": 3.68,
"p99": 3.71
},
"volume_billions": 3131
},
{
"date": "2026-06-04",
"name": "Secured Overnight Financing Rate",
"type": "SOFR",
"rate_pct": 3.62,
"percentiles": {
"p1": 3.58,
"p25": 3.59,
"p75": 3.67,
"p99": 3.7
},
"volume_billions": 3147
},
{
"date": "2026-06-03",
"name": "Secured Overnight Financing Rate",
"type": "SOFR",
"rate_pct": 3.61,
"percentiles": {
"p1": 3.58,
"p25": 3.59,
"p75": 3.67,
"p99": 3.7
},
"volume_billions": 3098
},
{
"date": "2026-06-02",
"name": "Secured Overnight Financing Rate",
"type": "SOFR",
"rate_pct": 3.63,
"percentiles": {
"p1": 3.59,
"p25": 3.61,
"p75": 3.68,
"p99": 3.71
},
"volume_billions": 3148
},
{
"date": "2026-06-01",
"name": "Secured Overnight Financing Rate",
"type": "SOFR",
"rate_pct": 3.65,
"percentiles": {
"p1": 3.6,
"p25": 3.63,
"p75": 3.71,
"p99": 3.74
},
"volume_billions": 3224
},
{
"date": "2026-05-29",
"name": "Secured Overnight Financing Rate",
"type": "SOFR",
"rate_pct": 3.63,
"percentiles": {
"p1": 3.58,
"p25": 3.61,
"p75": 3.69,
"p99": 3.72
},
"volume_billions": 3201
},
{
"date": "2026-05-28",
"name": "Secured Overnight Financing Rate",
"type": "SOFR",
"rate_pct": 3.62,
"percentiles": {
"p1": 3.58,
"p25": 3.6,
"p75": 3.68,
"p99": 3.72
},
"vol
…