# 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.

- Page: https://fous.com/methods/fandom.com/get-wiki-article
- Method: `fandom.com/get_wiki_article`, version 1
- Website: fandom.com
- Returns: article title, wiki name, summary, infobox facts, section headings, main image link, article link, wiki link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `topic` | string | yes | `"Darth Vader"` | Character, item, episode, place, or topic to find, such as Darth Vader. |
| `franchise` | string | yes | `"Star Wars"` | Franchise, game, or show, such as Star Wars; a Fandom wiki or article link also works. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "topic": "Darth Vader",
  "franchise": "Star Wars"
}
```

Its output:

```json
{
  "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"
  ]
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
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"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## 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

## Input schema

```json
{
  "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

```json
{
  "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
}
```

## See more

- [Wikipedia API: Get key facts from an article](https://fous.com/methods/wikipedia.org/get-key-facts.md): 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.
- [Britannica API: Get article](https://fous.com/methods/britannica.com/get-article.md): Finds the best-matching Britannica encyclopedia article for a topic and returns its introduction, quick facts, section headings, update date and main image.
- [Wikipedia API: Get article summary](https://fous.com/methods/wikipedia.org/get-article-summary.md): Returns 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 API: Get full article](https://fous.com/methods/wikipedia.org/get-full-article.md): Returns 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.
- [ESPN API: List news for a league or team](https://fous.com/methods/espn.com/list-news.md): Finds an ESPN league or team by name and lists the latest headlines ESPN publishes for it, newest first.
- [World Health Organization API: Get WHO fact sheet](https://fous.com/methods/who.int/get-fact-sheet.md): Finds a WHO fact sheet by health topic in the WHO fact-sheet directory. Returns its key facts, overview and sections in page order.
- [Substack API: Search newsletters](https://fous.com/methods/substack.com/search-newsletters.md): Finds public Substack newsletters matching a topic, in Substack's search order. Subscriber counts are null when Substack does not display one.
- [BBC News API: Read article](https://fous.com/methods/bbc.com/read-article.md): Reads the text and details of a BBC News article from its link or headline. Live coverage pages return the latest entries available.
