Harry Potter API

Harry Potter characters

🎬 MediaHEALTHYchecked 40 min ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

Unofficial character metadata with house and wand info. Fan-hosted; uptime may vary.

98HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 98 · healthy
Uptime history
100%90 days
100%30 days
202P50 · ms
864P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 74 ms, slowest 563 ms, most recent 112 ms.
Live response samplecaptured by our last successful check
GET https://hp-api.onrender.com/api/characters

[
  {
    "id": "9e3f7ce4-b9a7-4244-b709-dae5c1f1d4a8",
    "name": "Harry Potter",
    "alternate_names": [
      "The Boy Who Lived",
      "The Chosen One"
    ],
    "species": "human",
    "gender": "male",
    "house": "Gryffindor",
    "dateOfBirth": "31-07-1980",
    "yearOfBirth": 1980
  },
  {
    "id": "4c7e6819-a91a-45b2-a454-f931e4a7cce3",
    "name": "Hermione Granger",
    "alternate_names": [
      "Hermy",
      "Know-it-all"
    ],
    "species": "human",
    "gender": "female",
    "house": "Gryffindor",
    "dateOfBirth": "19-09-1979",
    "yearOfBirth": 1979
  }
]
Call itcurl · fetch · python
curl "https://hp-api.onrender.com/api/characters"
const res = await fetch("https://hp-api.onrender.com/api/characters");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://hp-api.onrender.com/api/characters")
print(res.json())
Endpoints · 5HealthyFULL DOCS ↗
Monitored path responding — GET /api/characters202 mschecked 40 min ago
GET/api/charactersPROBED

Harry Potter characters

GET/api

Api — documented GET route.

GET/api/1

Api details by ID (example: 1).

GET/api?limit=10

Api — documented GET route.

GET/api/search?q=test

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Harry Potter API: common questions

Is Harry Potter API free to use?

Yes — Harry Potter API is a free media API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Harry Potter API need an API key?

No — Harry Potter API needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Harry Potter API from the browser?

Yes — Harry Potter API returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Harry Potter API up right now?

As of our last scheduled check, Harry Potter API is healthy with 100% uptime over 90 days and a 202 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.