/v1/meta
Spec
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/treasurycash-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/treasurycash-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/treasurycash-api/v1/meta");
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/treasurycash-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "All amounts are millions of US dollars (musd); a billions figure (busd) is added for the balance. The TGA balance updates each business day. flows excludes the 'Total' summary lines and ranks individual categories by size.",
"source": "US Treasury Daily Treasury Statement (api.fiscaldata.treasury.gov/v1/accounting/dts, live)",
"service": "treasurycash-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/flows": "Latest day's largest cash deposits & withdrawals by category (limit=10).",
"GET /v1/balance": "Latest TGA opening/deposits/withdrawals/closing balance + net change.",
"GET /v1/history": "Daily closing TGA balance over a window (days=60)."
},
"description": "The US federal government's checking account — the Treasury General Account (TGA) at the Federal Reserve — from the official Daily Treasury Statement. balance returns the latest day's opening balance, total deposits, total withdrawals, closing balance and net change; history returns the daily closing TGA balance over a window; flows returns the latest day's largest cash deposits and withdrawals by category. A falling TGA injects cash into markets, a rising one drains it — a closely watched liquidity gauge. Live, no key, nothing stored. The Treasury-cash / fiscal-liquidity data-cut, distinct from the national-debt, fiscal-deficit and yield-curve APIs.",
"latest_date": "2026-06-10",
"upstream_status": "ok",
"closing_balance_busd": 801.084
},
"meta": {
"timestamp": "2026-06-12T01:41:30.491Z",
"request_id": "b209d85d-04ae-41ee-b7b4-9e5998d9af0b"
},
"status": "ok",
"message": "Meta",
"success": true
}