娯
Thrones API API
4 endpointsEntertainment & BooksGlobalsocial:read4 real examples
Returns Game of Thrones characters with their titles and houses, house counts, and text search over names, titles and houses.
View as Markdown| GET | /thronesapi/characters | All characters of the series with their titles and houses. |
| GET | /thronesapi/character | One character of the series by id. |
| GET | /thronesapi/houses | The houses of the series, with how many listed characters each has, largest first. |
| GET | /thronesapi/search | Characters whose full name, title or house contains a text. |
characters
GET
/v1/thronesapi/charactersAll characters of the series with their titles and houses.
scope social:read1 unitcached 24 hpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
family | string |
firstName | string |
fullName | string |
id | string |
imageUrl | string |
lastName | string |
title | string |
curl "https://api.hoshime.com/v1/thronesapi/characters" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/thronesapi/characters", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/thronesapi/characters", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "family": "House Targaryen", "firstName": "Daenerys", "fullName": "Daenerys Targaryen", "id": "0", "imageUrl": "https://thronesapi.com/assets/images/daenerys.jpg", "lastName": "Targaryen", "title": "Mother of Dragons" }, { "family": "House Tarly", "firstName": "Samwell", "fullName": "Samwell Tarly", "id": "1", "imageUrl": "https://thronesapi.com/assets/images/sam.jpg", "lastName": "Tarly", "title": "Maester" } ], "meta": { "cached": false, "endpoint": "characters", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "thronesapi", "requestId": "req_2Xb9kQ…", "units": 1 } }
character
GET
/v1/thronesapi/characterOne character of the series by id.
scope social:read1 unitcached 24 h
Parameters
idinteger required | Character id, such as 1. e.g. 1 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
family | string |
firstName | string |
fullName | string |
id | string |
imageUrl | string |
lastName | string |
title | string |
curl "https://api.hoshime.com/v1/thronesapi/character?id=1" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/thronesapi/character?id=1", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/thronesapi/character?id=1", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "family": "House Tarly", "firstName": "Samwell", "fullName": "Samwell Tarly", "id": "1", "imageUrl": "https://thronesapi.com/assets/images/sam.jpg", "lastName": "Tarly", "title": "Maester" }, "meta": { "cached": false, "endpoint": "character", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "thronesapi", "requestId": "req_2Xb9kQ…", "units": 1 } }
houses
GET
/v1/thronesapi/housesThe houses of the series, with how many listed characters each has, largest first.
scope social:read1 unitcached 24 hpaginated
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
members | integer (int64) |
name | string |
curl "https://api.hoshime.com/v1/thronesapi/houses" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/thronesapi/houses", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/thronesapi/houses", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "members": 7, "name": "House Stark" }, { "members": 3, "name": "Baratheon" } ], "meta": { "cached": false, "endpoint": "houses", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "thronesapi", "requestId": "req_2Xb9kQ…", "units": 1 } }
search
GET
/v1/thronesapi/searchCharacters whose full name, title or house contains a text.
scope social:read1 unitcached 24 hpaginated
Parameters
querystring required | Text to look for, such as Arya or Stark. Case does not matter. e.g. Arya |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
family | string |
firstName | string |
fullName | string |
id | string |
imageUrl | string |
lastName | string |
title | string |
curl "https://api.hoshime.com/v1/thronesapi/search?query=Arya" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/thronesapi/search?query=Arya", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/thronesapi/search?query=Arya", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "family": "House Stark", "firstName": "Arya", "fullName": "Arya Stark", "id": "3", "imageUrl": "https://thronesapi.com/assets/images/arya-stark.jpg", "lastName": "Stark", "title": "No One" }, { "family": "Targaryan", "firstName": "Viserys", "fullName": "Viserys Targaryn", "id": "26", "imageUrl": "https://thronesapi.com/assets/images/viserys-targaryan.jpg", "lastName": "Targaryan", "title": "King Viserys III" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "thronesapi", "requestId": "req_2Xb9kQ…", "units": 1 } }