Schemas

Wiki Page

Wiki pages (Fandom articles, categories, files) with their readable text, source markup, sections, infoboxes and last edit.

On this page
  1. Schema
  2. Item errors
  3. Endpoints

Schema

Single-item endpoints return this object as data; list endpoints return an array of them as data with a page object. The standard meta comes with every response.

platformstring

Platform that hosts the wiki.

idstring

Platform-native page ID (string), unique on the platform: the wiki's link key (wiki.name) and the page's number on that wiki, joined by a colon (fortnite:11594; fortnite/de:2536 on the German edition). Stays the same when the page is renamed, where the platform keeps its number; an endpoint that reads a page takes it back as its input.

titlestring

The page's title as its wiki names it, with spaces (not the underscores of its link) and its namespace prefix (Category:Outfits).

urlstring uri

Canonical page URL.

typestring

page: an article or any other page; category: a category's page, which lists its members; file: an uploaded file's page (an image, a video). New values may be added; treat unknown values as page.

One ofpagecategoryfile

wikiobject

The wiki the page belongs to: its link key and link, and its ID and title when the answer carries them.

ShowHide 4 child fields
idstringnullable

The wiki's ID, as the platform's endpoint for the wiki answers it (community.id: Fandom's numeric wiki ID); null when the answer does not carry it.

namestring

The wiki's link key as its links write it (community.name): fortnite for fortnite.fandom.com, fortnite/de for its German edition at fortnite.fandom.com/de.

titlestringnullable

The wiki's name as it shows it (community.title: Fortnite Wiki); null when the answer does not carry it.

urlstring uri

The wiki's link, where its pages' links start (https://fortnite.fandom.com, or https://fortnite.fandom.com/de for its German edition).

textstringnullable

The page's readable text as plain text: its body as rendered (templates expanded, tables kept), without navigation, infoboxes or edit links. Not the source (that is markup; a readme's text is its source). Null when the page renders no text, and on lists that don't carry it.

markupstringnullable

The page's source as its editors wrote it, in its markup (MediaWiki wikitext, Markdown), not rendered: what a readme's text is to a README, with markup_format as its format. Null when the page is empty, on lists, and when the request leaves it out.

markup_formatstringnullable

The markup markup is written in (wikitext: MediaWiki's; rst: reStructuredText; text: plain); null when markup is. New values may be added.

One ofwikitextmarkdownrstasciidocorgtextother

htmlstringnullable

The page's body as the wiki renders it, in HTML; links in it are as the wiki wrote them (a relative one resolves against url). Null unless the request asks for it, and when the page renders nothing.

sectionsobject[]

The page's headings in order, its table of contents; [] when it has none (or unknown: see unknown_fields).

ShowHide 3 child fields
titlestring

The heading's text, as plain text.

levelinteger

Heading level, as the HTML heading it renders (1–6: MediaWiki's == Heading == is 2, Markdown's # is 1).

anchorstring

The heading's anchor: the page's url followed by # and the anchor links to it.

edited_atstring date-timenullable

When the page's current revision was saved, RFC 3339 UTC; null when the answer does not carry it.

editorobjectnullable

The account that saved the current revision; null when the platform names none (an edit made logged out, or a hidden user).

ShowHide 6 child fields
idstringnullable

Platform-native account ID; null when only the handle is known.

usernamestringnullable

Handle without the @; null when the account has none.

display_namestringnullable

Display name shown on the profile.

urlstring urinullable

Canonical profile URL.

avatar_urlstring urinullable

Profile picture URL. Platform CDN URLs can expire within hours.

is_verifiedbooleannullable

Platform verification badge; null where the platform has no badge.

revision_idstringnullable

ID of the page's current revision (it changes with every edit); null when the answer does not carry it.

edit_summarystringnullable

What the editor wrote about the current revision (its edit summary), as written; null when they wrote nothing or the answer does not carry it.

platform_specificobject

Fields only this platform has, under its ID (platform_specific.<platform>); each null when unknown.

ShowHide 1 child field
fandomobjectnullable

A Fandom wiki page's own fields.

ShowHide 20 child fields
page_idstringnullable

The page's number on its wiki (MediaWiki's page ID: what api.php's pageids and index.php?curid take); numbered per wiki, so the same number names other pages on other wikis.

languagestringnullable

BCP-47 language the page is written in, as its wiki states it (MediaWiki's page language: de on a German edition); null when not given.

namespaceintegernullable

MediaWiki namespace number: 0 articles, 2 user pages, 6 files, 10 templates, 14 categories, odd numbers talk pages, 100 and up the wiki's own.

display_titlestringnullable

The title as the page displays it, as plain text (it may differ from title in case or styling); null when not shown.

descriptionstringnullable

Fandom's short summary of the page (what search results and link previews show); null when it has none.

image_urlstring urinullable

The page's lead image, as Fandom picks it for previews; null when it has none.

is_redirectbooleannullable

True when the page only redirects to another (on a list that includes redirects).

redirected_fromstringnullable

The title asked for, when it redirected to this page; null when it did not.

size_bytesintegernullable

Length of the page's wikitext in bytes, as MediaWiki counts it.

word_countintegernullable

Words on the page, as the wiki's search counts them; null outside a search.

categorized_atstring date-timenullable

On a category's member list, when the page was added to that category, RFC 3339 UTC; null elsewhere.

categoriesstring[]

The categories the page shows readers, without the Category: prefix (Outfits); [] when none (or unknown: see unknown_fields).

hidden_categoriesstring[]

Maintenance categories the page is in but hides from readers, without the Category: prefix; [] when none (or unknown: see unknown_fields).

templatesstring[]

Titles of the templates and modules the page uses (Template:Infobox Cosmetics); [] when none (or unknown: see unknown_fields).

linked_titlesstring[]

Titles of the wiki's pages this page links to, prefix included; [] when none (or unknown: see unknown_fields).

external_linksstring[]

Links from the page to other websites; [] when none (or unknown: see unknown_fields).

file_namesstring[]

Names of the files (images, videos) the page shows, without the File: prefix; [] when none (or unknown: see unknown_fields).

language_linksobject[]

The same page on the wiki's other language editions; [] when none (or unknown: see unknown_fields).

ShowHide 3 child fields
languagestring

BCP-47 language of the edition.

titlestring

The page's title there.

urlstring urinullable

The page's link there; null when the wiki does not give one.

infoboxesobject[]

The page's infoboxes (the fact boxes beside an article), structured, in the page's order; [] when none (or unknown: see unknown_fields).

ShowHide 3 child fields
titlestringnullable

The infobox's heading, usually the subject's name; null when it has none.

imagesobject[]

Pictures the infobox shows, in its order (a gallery's tabs: Icon, Featured); [] when none.

ShowHide 10 child fields
typestring

Kind of file. New values may be added; treat unknown values as other.

One ofimagevideoaudiogif

urlstring urinullable

Direct file URL; null when the platform withholds it, or when the link would only work from SocialTap's network or with a login. Often signed and expiring: see expires_at.

expires_atstring date-timenullable

When url stops working, RFC 3339 UTC, read from the platform's signed URL; null when unknown or when it does not expire.

thumbnail_urlstring urinullable

Poster or preview image URL.

widthintegernullable

Width in pixels.

heightintegernullable

Height in pixels.

duration_msintegernullable

Duration in milliseconds (video and audio only).

alt_textstringnullable

Accessibility text provided by the author or platform.

file_namestringnullable

Its file's name on the wiki, without the File: prefix; null when not given.

captionstringnullable

Its caption or tab label; null when none.

fieldsobject[]

Its rows, in display order; [] when none.

ShowHide 5 child fields
tabstringnullable

The tab of a tabbed infobox it sits in; null when the infobox has no tabs.

groupstringnullable

The header it sits under; null when none.

keystringnullable

The template parameter behind the row (rarity): the same on every page of the wiki that uses the infobox; null when it has none.

labelstringnullable

The row's label as plain text; null when it has none.

valuestring

The row's value as plain text (a list's items separated by commas).

fileobjectnullable

On a file's page, the file itself; null on other pages.

ShowHide 7 child fields
urlstring uri

The file's URL on Fandom's image host.

mime_typestringnullable

Its MIME type (image/png); null when not given.

size_bytesintegernullable

Its size in bytes.

widthintegernullable

Width in pixels; null for a file without one (audio, a document).

heightintegernullable

Height in pixels; null for a file without one.

uploaded_atstring date-timenullable

When its current version was uploaded, RFC 3339 UTC.

uploaderobjectnullable

The account that uploaded its current version; null when not named.

ShowHide 6 child fields
idstringnullable

Platform-native account ID; null when only the handle is known.

usernamestringnullable

Handle without the @; null when the account has none.

display_namestringnullable

Display name shown on the profile.

urlstring urinullable

Canonical profile URL.

avatar_urlstring urinullable

Profile picture URL. Platform CDN URLs can expire within hours.

is_verifiedbooleannullable

Platform verification badge; null where the platform has no badge.

approximate_fieldsstring[]

JSON paths of values the platform rounds or states as display text. [] when all exact.

unknown_fieldsstring[]

JSON paths of lists whose [] means unknown, not none (sections on a list of pages). [] when every list is known.

Item errors

Besides the request-level errors every endpoint can return, wiki page endpoints return:

CodeHTTPRetryMeaningWhat to do
not_found404NoThe item does not exist or was deleted. On GET /v1/requests/{id}/response: the response was not kept (details.reason says why).Check the link or ID. Do not retry.
private_or_unavailable403NoThe item exists but isn't public: it is private, age- or region-restricted, or needs a login. It shares 403 with forbidden, which is about the key: branch on the code.Only public items can be fetched. Do not retry.

Endpoints

3 endpoints return wiki pages on Fandom.