Naar de inhoud
GET /v1/meta

Filters & usage notes

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/gameofthrones-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "The world of A Song of Ice and Fire (Game of Thrones). /v1/character = a character by id or search (name, culture, gender; e.g. id=583 → Jon Snow); /v1/house = a house by id or filter (name, region, words; e.g. id=378 → House Targaryen); /v1/book = a book by id or by name. Add page & pageSize to paginate. Relations (father, allegiances, books, …) are returned as ids.",
        "source": "An API of Ice and Fire (anapioficeandfire.com)",
        "filters": {
            "book": [
                "name"
            ],
            "house": [
                "name",
                "region",
                "words"
            ],
            "character": [
                "name",
                "culture",
                "gender"
            ]
        },
        "endpoints": [
            "/v1/character",
            "/v1/house",
            "/v1/book",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:32.908Z",
        "request_id": "96576157-2aa8-4b34-b820-c63ee3462f17"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}