Discover/Wikia API
live

Wikia APIwikia.org

Access structured data from any Fandom wiki: page infoboxes, categories, sections, and site statistics across thousands of fan communities.

Endpoint health
verified 4d ago
get_wiki_info
list_category_members
search_pages
get_page_data
4/4 passing latest checkself-healing
Endpoints
4
Updated
26d ago

What is the Wikia API?

The Fandom Wiki API provides 4 endpoints that retrieve structured data from any Fandom wiki by subdomain, covering page search, category browsing, detailed page content, and site-level statistics. The get_page_data endpoint returns infobox key-value pairs, section outlines, categories, and a plain-text description for any named page — making it straightforward to pull character sheets, episode summaries, or lore articles without parsing wiki markup by hand.

Try it
The wiki subdomain (e.g., 'starwars' for starwars.fandom.com, 'marvel' for marvel.fandom.com).
Maximum number of results to return.
Search keyword or phrase.
api.parse.bot/scraper/3d672e96-ab72-47c3-a6bd-214cfc76e418/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3d672e96-ab72-47c3-a6bd-214cfc76e418/search_pages?wiki=starwars&limit=5&query=Darth+Vader' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace wikia-org-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.fandom_wiki_api import Fandom, Page, PageDetail, CategoryMember, WikiInfo, PageNotFound

fandom = Fandom()

# Construct a wiki and get its info
starwars = fandom.wiki("starwars")
wiki_info = starwars.info()
print(wiki_info.statistics.articles, wiki_info.statistics.edits)
print(wiki_info.info.sitename, wiki_info.info.generator)

# Search for pages within the wiki
for page in starwars.search(query="Darth Vader"):
    print(page.title, page.pageid, page.wordcount)

# List category members with automatic pagination
for member in starwars.category_members(category="Humans", limit=10):
    print(member.title, member.pageid, member.ns)

# Get detailed page data via the sub-resource
detail = starwars.pages.get(page="Luke Skywalker")
print(detail.title, detail.pageid, detail.url)
print(detail.description)
print(detail.categories)

for section in detail.sections:
    print(section.index, section.level, section.title)
All endpoints · 4 totalmissing one? ·

Search for pages within a specific Fandom wiki. Returns matching page titles, IDs, snippets, and word counts ordered by relevance. Snippet text may be empty depending on wiki configuration. Results are returned in a single page; use the limit parameter to control result count.

Input
ParamTypeDescription
wikirequiredstringThe wiki subdomain (e.g., 'starwars' for starwars.fandom.com, 'marvel' for marvel.fandom.com).
limitintegerMaximum number of results to return.
queryrequiredstringSearch keyword or phrase.
Response
{
  "type": "object",
  "fields": {
    "wiki": "string - the wiki subdomain queried",
    "query": "string - the search keyword used",
    "results": "array of objects with title, pageid, snippet, and wordcount"
  },
  "sample": {
    "data": {
      "wiki": "starwars",
      "query": "Darth Vader",
      "results": [
        {
          "title": "Darth Vader (disambiguation)",
          "pageid": 471241,
          "snippet": "",
          "wordcount": 363
        },
        {
          "title": "Anakin Skywalker",
          "pageid": 452390,
          "snippet": "",
          "wordcount": 168751
        }
      ]
    },
    "status": "success"
  }
}

About the Wikia API

What the API Covers

The API targets Fandom wikis (hosted at *.fandom.com) and accepts a wiki subdomain parameter on every endpoint, so the same four calls work for any of the thousands of communities on the platform — from starwars to minecraft to niche fandoms. All endpoints return the wiki field in the response for easy traceability in multi-wiki pipelines.

Searching and Browsing Content

search_pages takes a query string and an optional limit, returning an array of results where each item includes title, pageid, snippet, and wordcount. This is useful for fuzzy discovery when you don't know the exact page title. list_category_members accepts a category name (with or without the Category: prefix) and pages results using a continue token — pass the token from one response into the next call to walk through categories with more than 500 members.

Structured Page and Wiki Data

get_page_data is the most data-rich endpoint. Given a wiki and exact page title, it returns the full canonical url, a pageid, an infobox object of sidebar key-value pairs, an ordered sections array (each with index, level, and title), a categories array, and a plain description string from the opening paragraph. This structured shape is consistent across different wiki templates because infobox data is normalized into a flat object. get_wiki_info returns top-level wiki metadata — sitename, server, language, and MediaWiki generator version — alongside a statistics object covering pages, articles, edits, images, users, activeusers, and admins.

Pagination and Identifiers

MediaWiki integer pageid values are returned by search_pages, list_category_members, and get_page_data, so results can be cross-referenced or used to build stable identifiers. Category pagination via the continue field is the only form of cursor-based pagination; search_pages respects a numeric limit but does not currently expose a continuation cursor.

Reliability & maintenanceVerified

The Wikia API is a managed, monitored endpoint for wikia.org — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when wikia.org changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official wikia.org API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a character database for a game franchise by iterating a 'Characters' category with list_category_members and fetching infobox fields via get_page_data.
  • Compare contributor activity and article counts across multiple fandom communities using get_wiki_info statistics.
  • Power an autocomplete or search feature in a fan app using search_pages snippets and word counts.
  • Extract episode summaries and section outlines for an episode guide using the sections and description fields from get_page_data.
  • Seed a knowledge graph with structured lore data by pulling infobox key-value pairs for items, locations, or species pages.
  • Monitor wiki growth over time by periodically polling get_wiki_info for edits, articles, and activeusers counts.
  • Classify pages by franchise topic by reading the categories array returned from get_page_data.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Fandom have an official developer API?+
Yes. Fandom exposes the standard MediaWiki Action API at https://<wiki>.fandom.com/api.php, which supports read operations on any public wiki. The Parse API builds a structured, normalized interface on top of that surface so you get clean JSON without assembling raw MediaWiki query parameters yourself.
What does `get_page_data` return for the infobox, and how consistent is it across wikis?+
The infobox field is a flat key-value object extracted from the sidebar template on a page. The keys reflect whatever fields that specific wiki's infobox template defines — for example, 'affiliation', 'species', or 'first_appearance' on a Star Wars character page. Because different wikis use different infobox templates, the exact keys vary by community and page type.
Can `list_category_members` return more than 500 results?+
Each individual call is capped at 500 members. For categories larger than 500 pages, the response includes a continue string. Pass that value as the continue parameter in a subsequent call to retrieve the next batch. Repeat until continue is null to exhaust the full category.
Does the API return the full wikitext or rendered HTML content of a page?+
Not currently. get_page_data returns a plain-text description (the opening paragraph), an infobox object, and a sections array with section titles and hierarchy — but not the full body text or rendered HTML. You can fork this API on Parse and revise it to add a full-text or parsed-HTML endpoint for the sections you need.
Does the API cover wikis not hosted on fandom.com, such as independent MediaWiki sites?+
Not currently. All four endpoints are scoped to Fandom subdomains (e.g., starwars.fandom.com) via the wiki subdomain parameter. Independent MediaWiki installations are not covered. You can fork this API on Parse and revise the base URL logic to point at other MediaWiki-powered sites.
Page content last updated . Spec covers 4 endpoints from wikia.org.
Related APIs in EntertainmentSee all →
wikia.com API
Extract structured data from Fandom (formerly Wikia) gaming wikis. Search pages, retrieve full page content, list category members, and convert wiki pages into organized guides with infoboxes, section breakdowns, and clean text.
gamepedia.com API
Search gaming wikis across Fandom to find guides, maps, strategies, and game information, then retrieve detailed page content in multiple formats along with images and metadata. Discover trending articles, browse categories, and navigate game-specific knowledge bases to get the gaming data you need.
Wikipedia API
Search Wikipedia and instantly access full article content on any topic, then explore related articles by browsing through Wikipedia categories. Retrieve article metadata, extracts, and navigate curated category trees to discover connected subjects.
eldenring.wiki.fextralife.com API
Search and retrieve structured Elden Ring game information from the Fextralife Wiki, including weapons, enemies, locations, and lore. Access full article content with hierarchical sections, tables, and images, or search the complete article catalog by keyword.
wikihow.com API
Search and retrieve wikiHow articles with complete instructions, including all steps, ingredients, tips, and categories organized in a structured format. Instantly access random articles or find exactly what you need with powerful search functionality to learn how to do virtually anything.
detectiveconanworld.com API
Access comprehensive Detective Conan content including anime episodes, manga chapters, characters, movies, and OVAs with detailed information and search functionality. Build Detective Conan applications by retrieving episode details, character profiles, movie listings, and searching across the entire wiki database.
deepwiki.com API
Search and retrieve documentation for any GitHub repository indexed on DeepWiki, including wiki pages, table of contents, and source file references in markdown format. Look up repository profiles, discover featured projects, and access complete wiki content all in one place.
fmhy.net API
Browse, search, and extract resource listings from the FMHY (freemediaheckyeah) wiki. Retrieve entries by category, keyword, or star rating across all wiki pages.