/v1/meta
Source & award types
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/usaspending-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/usaspending-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/usaspending-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/usaspending-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Live US federal spending: contracts, grants, loans and direct payments. Search awards or top recipients by keyword/recipient/fiscal-year and award type; list and inspect federal agencies and their budgets.",
"source": "USAspending.gov (US Treasury)",
"filters": [
"keyword",
"recipient",
"fiscal_year",
"type"
],
"endpoints": [
"/v1/agencies",
"/v1/agency",
"/v1/awards",
"/v1/recipients",
"/v1/meta"
],
"award_types": [
"contracts",
"grants",
"loans",
"direct_payments",
"other"
]
},
"meta": {
"timestamp": "2026-05-31T08:05:00.220Z",
"request_id": "2aa8d99d-67e8-4468-a03c-cf28ddcaee26"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}