/v1/bond
One fixed-income ETF performance card
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/bondperformance-api/v1/bond" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bondperformance-api/v1/bond", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bondperformance-api/v1/bond");
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/bondperformance-api/v1/bond",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"etf": "TLT",
"key": "long_treasury",
"name": "20y+ Treasuries",
"note": "One fixed-income ETF's performance card: change on the day, week and month, 52-week high/low and range position, with its category and rate sensitivity. Price moves inverse to yield.",
"price": 85.98,
"source": "Yahoo Finance",
"category": "treasury",
"week52_low": 83.02,
"week52_high": 92.06,
"change_1d_pct": 1.3,
"change_1m_pct": 1.16,
"change_1w_pct": 0.56,
"rate_sensitivity": "very high",
"range_position_52w": 32.7
},
"meta": {
"timestamp": "2026-06-12T10:35:12.217Z",
"request_id": "0df8e3bc-0120-49d3-8b49-09bb6d6ea66b"
},
"status": "ok",
"message": "Bond retrieved successfully",
"success": true
}