Ir al contenido
GET /v1/house

A house by id or filtered search

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/gameofthrones-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "house": {
            "id": 378,
            "name": "House Targaryen of King's Landing",
            "seats": [
                "Red Keep (formerly)",
                "Summerhall (formerly)"
            ],
            "words": "Fire and Blood",
            "region": "The Crownlands",
            "titles": [
                "King of the Andals, the Rhoynar and the First Men",
                "Lord of the Seven Kingdoms",
                "Prince of Summerhall"
            ],
            "founded": "House Targaryen: >114 BCHouse Targaryen of King's Landing:1 AC",
            "died_out": null,
            "founder_id": null,
            "overlord_id": null,
            "coat_of_arms": "Sable, a dragon thrice-headed gules",
            "current_lord_id": 1303,
            "cadet_branch_ids": [
                23
            ],
            "ancestral_weapons": [
                "Blackfyre",
                "Dark Sister"
            ],
            "sworn_member_count": 101
        }
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:32.839Z",
        "request_id": "e3ee942a-aa30-48b6-b2d8-7a97b595ea60"
    },
    "status": "ok",
    "message": "House retrieved",
    "success": true
}