Fandom Search API
Keyword search inside one Fandom wiki, with page metadata for every hit.
GET /v1/fandom/wikis/{wiki}/search1 credit Failed requests are free
About this endpoint
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.
Fandom Search API 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.
Other Fandom endpoints
- WikiGET /v1/fandom/wikis/{wiki}
- PageGET /v1/fandom/wikis/{wiki}/page
- PagesGET /v1/fandom/wikis/{wiki}/pages
- Category membersGET /v1/fandom/wikis/{wiki}/category-members
- Recent changesGET /v1/fandom/wikis/{wiki}/recent-changes
- Article commentsGET /v1/fandom/wikis/{wiki}/article-comments
- DiscussionsGET /v1/fandom/wikis/{wiki}/discussions
- Discussion threadGET /v1/fandom/wikis/{wiki}/discussions/{threadId}