Fandom

Get a Fandom wiki

Get a Fandom wiki's metadata, statistics and enabled features.

GET/v1/fandom/wikis/{wiki}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
wikistringrequiredpath

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])?$

langstringoptionalquery

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})?$

Response fields
34

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when the wiki or item does not exist.

one of: found, not_found

The wiki this response came from.

datawikiid
string

Wiki subdomain, e.g. `fortnite`.

datawikilang
stringnullable

Language edition path, or null for the main edition.

datawikiurl
string

Base URL of the wiki.

Wiki details when lookupStatus is `found`; otherwise null.

datainfoname
string

Wiki name, e.g. `Fortnite Wiki`.

datainfourl
string

Base URL of the wiki.

datainfomainPageTitle
stringnullable

Title of the main page.

datainfologoUrl
stringnullable

Wiki logo URL.

datainfolanguage
stringnullable

Content language code, e.g. `en`.

datainfomediawikiVersion
stringnullable

MediaWiki version the wiki runs.

Licence of the wiki's article text.

datainfolicensename
string

Licence name, e.g. `CC-BY-SA`.

datainfolicenseurl
stringnullable

Licence URL.

Wiki statistics.

datainfostatspages
integernullable

All pages, including talk and system pages.

datainfostatsarticles
integernullable

Content articles.

datainfostatsedits
integernullable

Edits ever made.

datainfostatsimages
integernullable

Uploaded files.

datainfostatsusers
integernullable

Registered users (Fandom-wide count).

datainfostatsactiveUsers
integernullable

Users who edited in the last 30 days.

datainfostatsadmins
integernullable

Administrators.

datainfostatsdiscussionThreads
integernullable

Discussions threads, or null when Discussions is off.

datainfostatsdiscussionPosts
integernullable

Discussions posts, or null when Discussions is off.

Which community features the wiki has switched on.

datainfofeaturesarticleComments
boolean

Whether article comments are enabled.

datainfofeaturesdiscussions
booleannullable

Whether Discussions is enabled, or null if it could not be checked.

datainfofeaturesportableInfobox
boolean

Whether pages can have structured infoboxes.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/fandom/wikis/fortnite" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Wiki metadata, statistics and enabled features.