/v1/meta
Source & award types
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}