> **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-search>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/fandom/wikis-wiki-search.mdx>

---

# Fandom Search API

Keyword search inside one Fandom wiki, with page metadata for every hit.

`GET /v1/fandom/wikis/{wiki}/search?query=…` returns matching pages best first, each with `pageId`, `title`, `url`, `namespace`, `size`, `wordCount` and `lastEditedAt`. Set `limit` (1–100) and step through results with `page`. `namespace` searches categories, files or user pages instead of articles.

Fandom's search doesn't return snippets or totals, so pair it with the page route to read a hit. For a full crawl rather than a query, use the all-pages listing.

## Request

- **Endpoint:** `GET /v1/fandom/wikis/{wiki}/search`
- **Credits:** 1 credit
Failed requests are free
- **Input:** by query
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/fandom/wikis/wiki/search/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 search 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. Each paginated page is a separate billed request.

### Why are there no snippets or total counts?

Fandom's search backend doesn't provide them. page.hasMore tells you whether another page of results exists.
