An API of Ice And Fire

All the data from the universe of Ice And Fire you've ever wanted!

Made by Joakim Skoog, it's the world's greatest source for quantified and structured data from the universe of Ice and Fire (and the HBO series Game of Thrones).

Sandbox

Play around with the API without build an integration yourself

Psst, need a hint? Try /books/1, /characters/583 or /houses/378

{
        "url": "https://anapioficeandfire.com/api/characters/583",
        "name": "Jon Snow",
        "culture": "Northmen",
        "born": "In 283 AC",
        "died": "",
        "titles": [
                "Lord Commander of the Night's Watch"
        ],
        "aliases": [
                "Lord Snow",
                "Ned Stark's Bastard",
                "The Snow of Winterfell",
                "The Crow-Come-Over",
                "The 998th Lord Commander of the Night's Watch",
                "The Bastard of Winterfell",
                "The Black Bastard of the Wall",
                "Lord Crow"
        ],
        "father": "",
        "mother": "",
        "spouse": "",
        "allegiances": [
                "https://anapioficeandfire.com/api/houses/362"
        ],
        "books": [
                "https://anapioficeandfire.com/api/books/5"
        ],
        "povBooks": [
                "https://anapioficeandfire.com/api/books/1",
                "https://anapioficeandfire.com/api/books/2",
                "https://anapioficeandfire.com/api/books/3",
                "https://anapioficeandfire.com/api/books/8"
        ],
        "tvSeries": [
                "Season 1",
                "Season 2",
                "Season 3",
                "Season 4",
                "Season 5"
        ],
        "playedBy": [
                "Kit Harington"
        ]
}      
            

Open source

The API is open source! Contribute directly to the API by writing code, documentation or posting bugs!

Documentation

All data is accessible through our HTTP API with SDKs in a bunch of different languages. Check out the documentation to get started.