/v1/flows
Latest day cash deposits & withdrawals by category
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/treasurycash-api/v1/flows" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/treasurycash-api/v1/flows", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/treasurycash-api/v1/flows");
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/flows",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"date": "2026-06-10",
"source": "US Treasury (Daily Treasury Statement)",
"top_deposits": [
{
"category": "Taxes - Withheld Individual/FICA",
"amount_musd": 11249
},
{
"category": "Taxes - Non Withheld Ind/SECA Electronic",
"amount_musd": 5067
},
{
"category": "Taxes - Corporate Income",
"amount_musd": 2864
},
{
"category": "Taxes - Non Withheld Ind/SECA Other",
"amount_musd": 2310
},
{
"category": "Public Debt Cash Issues (Table IIIB)",
"amount_musd": 1759
},
{
"category": "Taxes - Miscellaneous Excise",
"amount_musd": 804
},
{
"category": "United States Postal Service (USPS)",
"amount_musd": 362
},
{
"category": "Federal Reserve Earnings",
"amount_musd": 350
},
{
"category": "DHS - Customs Duties, Taxes, and Fees",
"amount_musd": 334
},
{
"category": "HHS - Medicare Premiums",
"amount_musd": 323
}
],
"top_withdrawals": [
{
"category": "SSA - Benefits Payments",
"amount_musd": 32767
},
{
"category": "HHS - Grants to States for Medicaid",
"amount_musd": 5677
},
{
"category": "Public Debt Cash Redemp. (Table IIIB)",
"amount_musd": 3372
},
{
"category": "Taxes - Individual Tax Refunds (EFT)",
"amount_musd": 1991
},
{
"category": "Dept of Defense (DoD) - misc",
"amount_musd": 1724
},
{
"category": "Federal Retirement Thrift Savings Plan",
"amount_musd": 1275
},
{
"category": "Dept of Education (ED)",
"amount_musd": 999
},
{
"category": "HHS - Federal Supple Med Insr Trust Fund",
"amount_musd": 806
},
{
"category": "Unclassified",
"amount_musd": 806
},
{
"category": "HHS - Federal Hospital Insr Trust Fund",
"amount_musd": 737
}
]
},
"meta": {
"timestamp": "2026-06-12T01:41:29.946Z",
"request_id": "f54efdd1-cac2-47ac-891f-38ad5e2edf67"
},
"status": "ok",
"message": "Flows retrieved successfully",
"success": true
}