An API of Ice and Fire
live MediaFandomA Song of Ice and Fire (GoT) books, characters, houses. Keyless.
6 tools
0ms auth
free tier 50 calls/day
Tools
books List/search books.
Parameters
Name Type Description
name opt string — fromReleaseDate opt string — toReleaseDate opt string — page opt number — pageSize opt number — Try it
Response
book
required: id Single book.
Parameters
Name Type Description
id req number — Try it
Response
characters List/search characters.
Parameters
Name Type Description
name opt string — culture opt string — born opt string — died opt string — isAlive opt boolean — gender opt string — page opt number — pageSize opt number — Try it
Response
character
required: id Single character.
Parameters
Name Type Description
id req number — Try it
Response
houses List/search houses.
Parameters
Name Type Description
name opt string — region opt string — words opt string — hasTitles opt boolean — hasSeats opt boolean — hasDiedOut opt boolean — hasAncestralWeapons opt boolean — page opt number — pageSize opt number — Try it
Response
house
required: id Single house.
Parameters
Name Type Description
id req number — Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/anapioficeandfire/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Call a tool
bash
curl -X POST https://gateway.pipeworx.io/anapioficeandfire/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"books","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("books", {}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("a song of ice and fire (got) books, characters, houses"); Related packs
Other Pipeworx packs in the same categories (Media, Fandom):