Vai al contenuto
GET /v1/justice

Justice profile by id

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/oyez-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "justice": {
            "id": "ketanji_brown_jackson",
            "href": "https://api.oyez.org/people/ketanji_brown_jackson",
            "name": "Ketanji Brown Jackson",
            "roles": [
                {
                    "type": "scotus_justice",
                    "date_end": null,
                    "date_start": "2022-06-30",
                    "role_title": "Associate Justice of the Supreme Court of the United States",
                    "institution": "Supreme Court of the United States"
                }
            ],
            "last_name": "Jackson",
            "first_name": "Ketanji",
            "view_count": 0,
            "name_suffix": null,
            "date_of_birth": 22136400,
            "date_of_death": 0,
            "place_of_birth": "Washington, DC",
            "place_of_death": null
        }
    },
    "meta": {
        "timestamp": "2026-06-07T16:46:56.825Z",
        "request_id": "c0c85c26-829f-4524-9b09-92e12afe9089"
    },
    "status": "ok",
    "message": "Justice retrieved successfully",
    "success": true
}