Get a Fandom wiki page
Get a Fandom wiki article's text, wikitext, infoboxes and metadata.
Headers
Get your API keyAPI key (`sfk_...`)
Fandom wiki subdomain, e.g. `fortnite` for fortnite.fandom.com or `blox-fruits` for blox-fruits.fandom.com. A full wiki host or URL is also accepted.
min 1 chars · max 63 chars · pattern: ^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$
Page title as it appears in the wiki URL, e.g. `Peely` or `Chapter_7:_Season_4`. Spaces and underscores are equivalent. A full page URL is also accepted, and a `#section` is ignored.
min 1 chars · max 255 chars
Language edition of the wiki, e.g. `de` for fortnite.fandom.com/de. Omit for the main (usually English) edition.
pattern: ^[a-z]{2,3}(?:-[a-z]{2,4})?$
Also return the rendered article HTML. Default: false.
Return the page's wikitext source. Default: true.
Endpoint-specific response payload.
`not_found` when the wiki or item does not exist.
one of: found, not_found
The wiki this response came from.
Wiki subdomain, e.g. `fortnite`.
Language edition path, or null for the main edition.
Base URL of the wiki.
The page when lookupStatus is `found`; otherwise null.
MediaWiki page id.
Canonical page title.
Title as displayed, as plain text.
MediaWiki namespace number: 0 = articles, 2 = user pages, 6 = files, 10 = templates, 14 = categories.
Page URL.
For `File:` pages (namespace 6), the file itself; null for other pages.
Direct URL of the file.
MIME type, e.g. `image/png`.
File size in bytes.
Width in pixels.
Height in pixels.
When the current version was uploaded (ISO-8601).
Username that uploaded the current version.
The requested title when it was a redirect to this page.
Current revision id.
When the current revision was saved (ISO-8601).
Username that saved the current revision.
Edit summary of the current revision.
Size of the wikitext in bytes.
Readable article text without navigation, infoboxes or edit links.
Wikitext source, or null when `includeWikitext=false`.
Rendered article HTML, or null unless `includeHtml=true`.
Structured infoboxes on the page.
Infobox heading, usually the item name.
Images shown in the infobox.
Image URL.
Image caption.
Label/value rows in display order.
Section heading inside the infobox, when grouped.
Template parameter name behind the field, e.g. `rarity`.
Displayed label, e.g. `Rarity`.
Displayed value as plain text.
Table of contents.
Section index.
Heading level (2 = `==`).
Heading text.
URL fragment for the heading.
Visible categories, without the `Category:` prefix.
Maintenance categories hidden from readers.
Titles of wiki pages this page links to.
Templates used on the page.
File names used on the page.
Links to other websites.
The same page in other language editions.
Language code.
Title in that language edition.
URL in that language edition.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/fandom/wikis/fortnite/page?title=Peely" \
-H "x-api-key: YOUR_API_KEY"Responses
Article content, infoboxes and metadata.