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.
four great houses
GET /got/v1/houses — List all housesGET /got/v1/houses/{id} — Get one houseGET /got/v1/houses/{id}/nobles — Get all nobles of a house (nested resource)not all of them survive
GET /got/v1/nobles/{id} — Get one noblePOST /got/v1/nobles — Add a noble to a house (requires Bearer auth)PUT /got/v1/nobles/{id} — Update a noble (requires Bearer auth)POST /got/v1/nobles/{id}/kill — Kill off a noble (409 if already dead) (requires Bearer auth)two are still unclaimed
GET /got/v1/dragons — List dragons, filter by sizeGET /got/v1/dragons/random — A random dragonWesteros conflict simulator
POST /got/v1/battles — Simulate a battle between two houses (requires Bearer auth)GET /got/v1/battles/{id} — Get a battle resultmemorable lines
GET /got/v1/quotes/random — Get a random Westeros quote