Sitelet https://funapi.dev/docs/got#rl-put

Game of Thrones API — free mock REST API for testing

Great houses of Westeros, their nobles, and the dragons of House Targaryen. Practice CRUD, Bearer auth, nested resources, pagination, and a thematic 409 conflict.

The Game of Thrones API is one of the larger surfaces here: houses, nobles, dragons, battles and quotes, with allegiances tying them together. Battles change house standing, so reads taken before a write go stale — making it a practical place to test cache invalidation and optimistic concurrency on something bigger than a two-field record.

Base URL: https://funapi.dev/api/got/v1 · 12 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.

Example request and response

GET https://funapi.dev/api/got/v1/houses — List all houses. No token, no signup:

curl -i https://funapi.dev/api/got/v1/houses

answers 200 OK with:

{
  "total": 4,
  "data": [
    {
      "id": 1,
      "name": "House Stark",
      "seat": "Winterfell",
      "words": "Winter Is Coming",
      "sigil": "a grey direwolf on white"
    },
    {
      "id": 2,
      "name": "House Targaryen",
      "seat": "Dragonstone",
      "words": "Fire and Blood",
      "sigil": "a red three-headed dragon on black"
    },
    {
      "id": 3,
      "name": "House Lannister",
      "seat": "Casterly Rock",
      "words": "Hear Me Roar",
      "sigil": "a golden lion on crimson"
    },
    {
      "id": 4,
      "name": "House Greyjoy",
      "seat": "Pyke",
      "words": "We Do Not Sow",
      "sigil": "a golden kraken on black"
    }
  ]
}

Open and run this endpoint

What you can practise here

houses

four great houses

nobles

not all of them survive

dragons

two are still unclaimed

battles

Westeros conflict simulator

quotes

memorable lines

All 39 mock REST APIs

Use this response elsewhere

Unofficial and fan-made. The Game of Thrones API is a practice API that borrows a theme; it is not affiliated with, sponsored or endorsed by the owners of the names it references, which belong to them. Every record it returns is test data for exercising HTTP behaviour, not an authoritative source on the subject.

Last updated