Zum Inhalt springen
GET /v1/bodies

Committees, groups & delegations

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/europarl-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/europarl-api/v1/bodies" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/europarl-api/v1/bodies", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/europarl-api/v1/bodies");
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/europarl-api/v1/bodies",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 30,
        "bodies": [
            {
                "id": "1",
                "code": "1",
                "type": "COMMITTEE_PARLIAMENTARY_STANDING",
                "label": "ECON"
            },
            {
                "id": "10",
                "code": "10",
                "type": "COMMITTEE_PARLIAMENTARY_STANDING",
                "label": "REGI"
            },
            {
                "id": "100",
                "code": "100",
                "type": "COMMITTEE_PARLIAMENTARY_STANDING",
                "label": "REGI"
            },
            {
                "id": "1000",
                "code": "1000",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D06"
            },
            {
                "id": "1001",
                "code": "1001",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D07"
            },
            {
                "id": "1002",
                "code": "1002",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D08"
            },
            {
                "id": "1003",
                "code": "1003",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D09"
            },
            {
                "id": "1004",
                "code": "1004",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D-US"
            },
            {
                "id": "1005",
                "code": "1005",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D-CA"
            },
            {
                "id": "1006",
                "code": "1006",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D12"
            },
            {
                "id": "1007",
                "code": "1007",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D13"
            },
            {
                "id": "1008",
                "code": "1008",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D14"
            },
            {
                "id": "1009",
                "code": "1009",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D15"
            },
            {
                "id": "101",
                "code": "101",
                "type": "COMMITTEE_PARLIAMENTARY_STANDING",
                "label": "TRAN"
            },
            {
                "id": "1010",
                "code": "1010",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D16"
            },
            {
                "id": "1011",
                "code": "1011",
                "type": "DELEGATION_PARLIAMENTARY",
                "label": "D17"
            },
            {
                "id": "1012",
                "code": "1012",
                "type": "DELEGATION_PARLIAMENTARY",
       
…