An API of Ice and Fire · Example Payload

Book

Game of ThronesASOIAFA Song of Ice and FireBooksCharactersHousesFantasyEntertainmentOpen APIFree API

Book is an example object payload from An API of Ice and Fire, with 11 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

urlnameisbnauthorsnumberOfPagespublishercountrymediaTypereleasedcharacterspovCharacters

Example Payload

Raw ↑
{
  "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",
  "country": "United States",
  "mediaType": "Hardcover",
  "released": "1996-08-01T00:00:00",
  "characters": [
    "https://anapioficeandfire.com/api/characters/2",
    "https://anapioficeandfire.com/api/characters/12",
    "https://anapioficeandfire.com/api/characters/13"
  ],
  "povCharacters": [
    "https://anapioficeandfire.com/api/characters/148",
    "https://anapioficeandfire.com/api/characters/208",
    "https://anapioficeandfire.com/api/characters/232",
    "https://anapioficeandfire.com/api/characters/339",
    "https://anapioficeandfire.com/api/characters/583",
    "https://anapioficeandfire.com/api/characters/957",
    "https://anapioficeandfire.com/api/characters/1052",
    "https://anapioficeandfire.com/api/characters/1109",
    "https://anapioficeandfire.com/api/characters/1303"
  ]
}