/v1/justice
Justice profile by id
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}