/v1/bond
One fixed-income ETF performance card
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/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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"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
}