> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/fandom/wikis-wiki>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/fandom/wikis-wiki.mdx>

---

# Fandom Wiki API

Name, stats, and switched-on features for any Fandom wiki, so you know what the other routes will return before you crawl.

`GET /v1/fandom/wikis/{wiki}` resolves a wiki by subdomain and returns `data.info`: name, base URL, main page, logo, language, MediaWiki version and licence, plus `stats` (pages, articles, edits, images, active users, admins, Discussions threads and posts) and `features` (article comments, Discussions, structured infoboxes).

Use it first when you pull from a wiki you haven't seen before. It tells you whether comments and Discussions are on, and how busy the wiki is. Renamed wikis redirect, and `data.wiki.id` reports the subdomain that answered. An unknown wiki or language edition returns `lookupStatus: not_found`.

## Request

- **Endpoint:** `GET /v1/fandom/wikis/{wiki}`
- **Credits:** 1 credit
Failed requests are free
- **Input:** by wiki subdomain
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/fandom/wikis/wiki/get)
- **Platform page:** [/platforms/fandom](https://www.socialfetch.dev/platforms/fandom)

## FAQ

### How do I name the wiki?

Use the subdomain: fortnite for fortnite.fandom.com, blox-fruits for blox-fruits.fandom.com. A full wiki URL also works. Add lang=de (or another code) for a language edition.

### How many credits does a wiki lookup cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged — that field is the billing source of truth.

### What does lookupStatus mean?

found means the wiki was returned. not_found means the wiki or wiki doesn't exist. HTTP 200 only means the request finished, so always branch on lookupStatus.

### How do I know if a wiki has Discussions or comments?

Read data.info.features: articleComments and discussions are booleans (discussions can be null if the check couldn't complete). data.info.stats.discussionThreads gives the thread count when Discussions is on.
