Overview
ThronesApi offers data on Game of Thrones characters including names, images, family houses, and titles. No API key is required, making it a great choice for beginners who want to practice working with REST APIs. You can fetch a list of all characters or look up a specific character by ID.
Beginner Tip
This API requires no authentication, so you can test it directly in your browser or with curl. Try fetching all characters at /api/v2/Characters and then access a single character using its id.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET https://thronesapi.com/api/v2/Characters
- Result
- HTTP 200 · application/json · 11,581 bytes
- Response time
- 177 ms (median of 3)
- Transport
- TLSv1.2 · ECDHE-RSA-AES256-GCM-SHA384 · certificate issued by Let's Encrypt
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Served by
- Microsoft-IIS/10.0
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| id | integer | 0 |
| firstName | string | Daenerys |
| lastName | string | Targaryen |
| fullName | string | Daenerys Targaryen |
| title | string | Mother of Dragons |
| family | string | House Targaryen |
| image | string | daenerys.jpg |
| imageUrl | string (url) | https://thronesapi.com/assets/images/daenerys… |
Captured Response
Captured from a real request to https://thronesapi.com/api/v2/Characters on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
[
{
"id": 0,
"firstName": "Daenerys",
"lastName": "Targaryen",
"fullName": "Daenerys Targaryen",
"title": "Mother of Dragons",
"family": "House Targaryen",
"image": "daenerys.jpg",
"imageUrl": "https://thronesapi.com/assets/images/daenerys.jpg"
}
] Field Reference
id Unique numeric ID for the character. firstName Character first name. lastName Character last name or family name. fullName Complete name of the character. title In-world title or role, such as King, Queen, or Maester. imageUrl URL pointing to an image of the character. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://thronesapi.com/api/v2/Characters";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-c90ec73e3a6f7d41ad79f9059aa37c19-db593b8b2b8ada4d-00",
"errors": {
"id": [
"The value 'apisscore-nonexistent-path' is not valid."
]
}
} Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →An API of Ice And Fire
⭐ Beginner's PickAn API of Ice and Fire is a free, open REST API providing comprehensive data from the Game of Thrones universe, including characters, houses, and books from George R.R.
Breaking Bad Quotes
⭐ Beginner's PickBreaking Bad Quotes is a tiny, free API that returns random quotes from the Breaking Bad TV series.
Final Space
⭐ Beginner's PickThe Final Space API provides data from the animated TV show Final Space, including characters, episodes, and locations — all accessible without an API key.
Dune
⭐ Beginner's PickThe Dune API is a free, no-auth REST API that returns data from the Dune universe including books, characters, movies, and quotes.
IMDbOT
⭐ Beginner's PickIMDbOT is an unofficial, free REST API that provides movie and TV series information sourced from IMDb data — no API key required.