Fandom

List Fandom category members

List the pages, subcategories and files in a Fandom wiki category.

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

API key (`sfk_...`)

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

categorystringrequiredquery

Category name, with or without the `Category:` prefix, e.g. `Outfits`.

min 1 chars · max 255 chars

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

typestringoptionalquery

Which members to return. Default: `all`.

one of: all, page, subcat, file

limitintegeroptionalquery

Items per page, 1–500. Default: 100.

≥ 1 · ≤ 500

cursorstringoptionalquery

Pass `page.nextCursor` from the previous response to get the next page.

min 1 chars · max 512 chars

Response fields
20

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when the wiki does not exist; the list is then empty.

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.

datacategory
string

Category name without the prefix.

Category members in sort-key order.

datamembers[]pageId
integer

MediaWiki page id.

datamembers[]title
string

Page title.

datamembers[]namespace
integer

Namespace number.

datamembers[]url
string

Page URL.

datamembers[]type
string

Member type.

one of: page, subcat, file

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor to pass in the next request when more pages exist; null on the last page.

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/category-members?category=Outfits" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Pages, subcategories and files in a category.