/v1/history
One security class outstanding month by month
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/debtcomposition-api/v1/history" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/debtcomposition-api/v1/history", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/debtcomposition-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/debtcomposition-api/v1/history",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 24,
"source": "US Treasury (MSPD)",
"history": [
{
"date": "2024-06-30",
"amount_busd": 5765.8,
"amount_musd": 5765830.0899
},
{
"date": "2024-07-31",
"amount_busd": 5915.8,
"amount_musd": 5915782.1837
},
{
"date": "2024-08-31",
"amount_busd": 6121.8,
"amount_musd": 6121801.8453
},
{
"date": "2024-09-30",
"amount_busd": 6004.8,
"amount_musd": 6004760.6777
},
{
"date": "2024-10-31",
"amount_busd": 6186.8,
"amount_musd": 6186777.7925
},
{
"date": "2024-11-30",
"amount_busd": 6389.8,
"amount_musd": 6389763.232
},
{
"date": "2024-12-31",
"amount_busd": 6186.9,
"amount_musd": 6186882.0707
},
{
"date": "2025-01-31",
"amount_busd": 6379.9,
"amount_musd": 6379924.9602
},
{
"date": "2025-02-28",
"amount_busd": 6368,
"amount_musd": 6367951.7093
},
{
"date": "2025-03-31",
"amount_busd": 6156,
"amount_musd": 6155950.4395
},
{
"date": "2025-04-30",
"amount_busd": 6060,
"amount_musd": 6060018.6605
},
{
"date": "2025-05-31",
"amount_busd": 6003,
"amount_musd": 6003024.2416
},
{
"date": "2025-06-30",
"amount_busd": 5784.1,
"amount_musd": 5784061.0518
},
{
"date": "2025-07-31",
"amount_busd": 5995.9,
"amount_musd": 5995910.2789
},
{
"date": "2025-08-31",
"amount_busd": 6369,
"amount_musd": 6369006.639
},
{
"date": "2025-09-30",
"amount_busd": 6397,
"amount_musd": 6397045.0501
},
{
"date": "2025-10-31",
"amount_busd": 6593.2,
"amount_musd": 6593194.1855
},
{
"date": "2025-11-30",
"amount_busd": 6723.3,
"amount_musd": 6723293.4315
},
{
"date": "2025-12-31",
"amount_busd": 6547.3,
"amount_musd": 6547260.1224
},
{
"date": "2026-01-31",
…