An API of Ice And Fire
Books, characters, and houses from Game of Thrones lore
An API of Ice and Fire serves structured data on the books, characters, and houses of George R. R. Martin's A Song of Ice and Fire. Every resource is a hyperlinked JSON document you can crawl without a key. A friendly playground for REST and pagination demos.
GET https://anapioficeandfire.com/api/books/1
{
"url": "https://anapioficeandfire.com/api/books/1",
"name": "A Game of Thrones",
"isbn": "978-0553103540",
"authors": [
"George R. R. Martin"
],
"numberOfPages": 694,
"publisher": "Bantam Books",
"released": "1996-08-01T00:00:00"
}curl "https://anapioficeandfire.com/api/books/1"const res = await fetch("https://anapioficeandfire.com/api/books/1");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://anapioficeandfire.com/api/books/1")
print(res.json())/books/1PROBEDBooks, characters, and houses from Game of Thrones lore
/booksBooks — documented GET route.
/books?limit=10Books — documented GET route.
/books/search?q=testSearch by query parameters.
/characters/583Characters details by ID (example: 583).
/houses/362Houses details by ID (example: 362).
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
An API of Ice And Fire: common questions
Is An API of Ice And Fire free to use?
Yes — An API of Ice And Fire is a free media API. Free tier: Free, no key. Whether the free tier allows commercial use is unclear — check the provider docs.
Does An API of Ice And Fire need an API key?
No — An API of Ice And Fire needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call An API of Ice And Fire from the browser?
Yes — An API of Ice And Fire 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 An API of Ice And Fire up right now?
As of our last scheduled check, An API of Ice And Fire is new. We re-probe it every sweep — the status badge and uptime chart above always show the latest.