/v1/meta
Totals & breakdown
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/congress-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/congress-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/congress-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/congress-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": "Every member of the US Congress, current and historical (1789-present). chamber: senate | house. Look up by bioguide id, search/filter by name/state/party/chamber, or list current members.",
"total": 12766,
"fields": [
"bioguide",
"govtrack",
"wikidata",
"name",
"gender",
"birthday",
"current",
"chamber",
"state",
"district",
"party",
"term_count",
"terms"
],
"source": "@unitedstates/congress-legislators",
"states": 59,
"current": 536,
"current_house": 436,
"current_senate": 100,
"current_by_party": {
"Democrat": 260,
"Republican": 273,
"Independent": 3
}
},
"meta": {
"timestamp": "2026-05-31T07:41:40.267Z",
"request_id": "04d30351-ea52-42c0-b9c3-76eb05083bb3"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}