/v1/meta
Houses & usage notes
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/harrypotter-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/harrypotter-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/harrypotter-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/harrypotter-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "The Wizarding World of Harry Potter. /v1/character = search characters by name (and house=Gryffindor|Slytherin|Hufflepuff|Ravenclaw) or fetch by id — with species, blood status, patronus, wand, family and more; /v1/spell = search spells (incantation, effect, light); /v1/book = the seven books; /v1/potion = search potions (ingredients, effect, difficulty). Add page & pageSize to paginate; ids are lowercase-hyphenated slugs.",
"houses": [
"Gryffindor",
"Slytherin",
"Hufflepuff",
"Ravenclaw"
],
"source": "PotterDB (api.potterdb.com)",
"endpoints": [
"/v1/character",
"/v1/spell",
"/v1/book",
"/v1/potion",
"/v1/meta"
]
},
"meta": {
"timestamp": "2026-06-01T00:04:31.802Z",
"request_id": "8def8def-4ed6-4af9-9329-2c8ebd2d385b"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}