/v1/character
A character by id or filtered search
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/gameofthrones-api/v1/character" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gameofthrones-api/v1/character", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gameofthrones-api/v1/character");
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/gameofthrones-api/v1/character",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"character": {
"id": 583,
"born": "In 283 AC",
"died": null,
"name": "Jon Snow",
"gender": "Male",
"titles": [
"Lord Commander of the Night's Watch"
],
"aliases": [
"Lord Snow",
"Ned Stark's Bastard",
"The Snow of Winterfell",
"The Crow-Come-Over",
"The 998th Lord Commander of the Night's Watch",
"The Bastard of Winterfell",
"The Black Bastard of the Wall",
"Lord Crow"
],
"culture": "Northmen",
"book_ids": [
5
],
"father_id": null,
"mother_id": null,
"played_by": [
"Kit Harington"
],
"spouse_id": null,
"tv_series": [
"Season 1",
"Season 2",
"Season 3",
"Season 4",
"Season 5",
"Season 6"
],
"allegiance_house_ids": [
362
]
}
},
"meta": {
"timestamp": "2026-06-01T00:04:32.772Z",
"request_id": "97a29067-59f2-4b11-938b-987cc53a05a4"
},
"status": "ok",
"message": "Character retrieved",
"success": true
}