Fandom API: Get a wiki article
Finds a topic on the main English Fandom wiki for a franchise (picked from Fandom's cross-wiki search, or given as a wiki or article link) and returns the article's opening paragraphs, infobox facts, section headings, main image and links.
Unofficial. Not affiliated with or endorsed by Fandom.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Topic, required
topic Character, item, episode, place, or topic to find, such as Darth Vader.
Darth Vader
- Franchise, required
franchise Franchise, game, or show, such as Star Wars; a Fandom wiki or article link also works.
Star Wars
Input as JSON
{ "topic": "Darth Vader", "franchise": "Star Wars"}Output
{ "summary": "Anakin Skywalker was a legendary Force-sensitive human male who was a Jedi Knight of the Galactic Republic and the prophesied Chosen One of the Jedi Order , destined to bring balance to the Force . Also known as \" Ani \" during his childhood, Skywalker earned the moniker \" Hero With No Fear \" from hi…", "wiki_link": "https://starwars.fandom.com" , "wiki_name": "Wookieepedia", "article_link": "https://starwars.fandom.com/wiki/Anakin_Skywalker" , "article_title": "Anakin Skywalker", "infobox_facts": [ { "label": "Homeworld", "value": "Tatooine" }, { "label": "Born", "value": "41 BBY , Tatooine (disputed)" }, { "label": "Died", "value": "4 ABY , DS-2 Death Star II Mobile Battle Station , Endor system" } ], "main_image_link": "https://static.wikia.nocookie.net/starwars/images/6/6f/Anakin_Skywalker_RotS.png/revision/latest/scale-to-width-down/500?cb=20130621175844" , "section_headings": [ "Biography", "Early life", "Childhood on Tatooine" ]}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"fandom.com/get_wiki_article","input":{"topic":"Darth Vader","franchise":"Star Wars"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "fandom.com/get_wiki_article" , "input": { "topic": "Darth Vader", "franchise": "Star Wars" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "fandom.com/get_wiki_article" , "input": { "topic": "Darth Vader", "franchise": "Star Wars" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run fandom.com/get_wiki_article# with {"topic":"Darth Vader","franchise":"Star Wars"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "franchise", "topic" ], "properties": { "topic": { "type": "string", "description": "Character, item, episode, place, or topic to find, such as Darth Vader." }, "franchise": { "type": "string", "description": "Franchise, game, or show, such as Star Wars; a Fandom wiki or article link also works." } }}Output schema
{ "type": "object", "required": [ "article_title", "wiki_name", "summary", "infobox_facts", "section_headings", "main_image_link", "article_link", "wiki_link" ], "properties": { "summary": { "type": [ "string", "null" ], "description": "First substantive paragraphs of the article as plain text." }, "wiki_link": { "type": "string", "description": "Link to the wiki homepage." }, "wiki_name": { "type": "string", "description": "Name of the fan wiki." }, "article_link": { "type": "string", "description": "Link to the article on Fandom." }, "article_title": { "type": "string", "description": "Title of the article, including the canonical title for a redirect." }, "infobox_facts": { "type": "array", "items": { "type": "object", "required": [ "label", "value" ], "properties": { "label": { "type": "string" }, "value": { "type": "string" } }, "additionalProperties": false }, "description": "Facts shown in the article infobox. Empty if there is no infobox." }, "main_image_link": { "type": [ "string", "null" ], "description": "Main article image link, when available." }, "section_headings": { "type": "array", "items": { "type": "string" }, "description": "Section headings in article order." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
fandom.com/get_wiki_article- Returns
- article title, wiki name, summary, infobox facts, section headings, main image link, article link, wiki link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method fandom.com/get_wiki_article with the inputs above.
Ask your agent
- Pull up the Fandom wiki page for Geralt of Rivia from The Witcher and give me the infobox details and summary
- What does the Elden Ring wiki say about Malenia, Blade of Miquella? I want her infobox stats and the section headings
- Look up the Breaking Bad episode 'Ozymandias' on its fan wiki and summarize the opening paragraphs
- I need the main image and article link for the Master Sword from the Zelda fan wiki
- Get the fandom.com article on Tony Stark from the Marvel Cinematic Universe wiki, including the infobox facts like actor and affiliation
See more
Returns the labeled facts, in order, from the information box of a Wikipedia article in any language edition. Articles without an information box have no facts.
wikipedia.org/get_key_factsFinds the best-matching Britannica encyclopedia article for a topic and returns its introduction, quick facts, section headings, update date and main image.
britannica.com/get_articleReturns the opening summary, short description, main image, article link and last edit time for a Wikipedia topic in the chosen language. For ambiguous names it uses the top matching article and lists up to five alternatives.
wikipedia.org/get_article_summaryReturns the full text of a Wikipedia article in ordered sections, with its last edit time, reference count and visible categories, in any language edition. Footnotes, tables and navigation material are excluded; a topic that is not an exact title uses the best search match.
wikipedia.org/get_full_articleFinds an ESPN league or team by name and lists the latest headlines ESPN publishes for it, newest first.
espn.com/list_newsFinds a WHO fact sheet by health topic in the WHO fact-sheet directory. Returns its key facts, overview and sections in page order.
who.int/get_fact_sheetFinds public Substack newsletters matching a topic, in Substack's search order. Subscriber counts are null when Substack does not display one.
substack.com/search_newslettersReads the text and details of a BBC News article from its link or headline. Live coverage pages return the latest entries available.
bbc.com/read_article