Fandom

Get a Fandom Discussions thread

Get a Fandom Discussions thread and its replies.

GET/v1/fandom/wikis/{wiki}/discussions/{threadId}
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])?$

threadIdstringrequiredpath

Discussions thread id, e.g. `4400000000000172871` (from a thread URL `/f/p/<id>`).

pattern: ^\d{1,19}$

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

sortstringoptionalquery

Reply order. `newest` (default) pages through every reply with `cursor`. `oldest` returns the first `limit` replies only, without further pages.

one of: newest, oldest

limitintegeroptionalquery

Replies per page, 1–100. Default: 100.

≥ 1 · ≤ 100

cursorstringoptionalquery

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

min 1 chars · max 512 chars

Response fields
82

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.

The thread when lookupStatus is `found`; otherwise null.

datathreadid
string

Thread id.

datathreadurl
string

Thread URL on the wiki.

datathreadtitle
stringnullable

Thread title.

Forum category the thread is in.

datathreadforumid
string

Forum (category) id.

datathreadforumname
stringnullable

Forum (category) name.

Who started the thread.

datathreadauthorid
stringnullable

Fandom user id, or null for anonymous or unknown users.

datathreadauthorname
stringnullable

Fandom username.

datathreadauthoravatarUrl
stringnullable

Avatar image URL.

datathreadauthorprofileUrl
stringnullable

The user's profile page on this wiki.

datathreadcreatedAt
stringnullable

When the thread was created (ISO-8601).

datathreadlastActivityAt
stringnullable

When the thread was last modified or replied to (ISO-8601).

datathreadtext
string

Plain text of the opening post.

Images in the opening post.

datathreadimages[]url
string

Image URL.

datathreadimages[]width
integernullable

Width in pixels.

datathreadimages[]height
integernullable

Height in pixels.

Links in the opening post.

datathreadlinks[]
stringoptional
datathreadhasPoll
boolean

Whether the opening post contains a poll.

The opening post's poll with answers and votes, or null.

datathreadpollquestion
stringnullable

The poll question.

datathreadpolltotalVotes
integernullable

Votes across all answers.

≥ 0

Answers in display order.

datathreadpollanswers[]text
string

Answer text.

datathreadpollanswers[]votes
integernullable

Votes for this answer.

≥ 0

datathreadpollanswers[]imageUrl
stringnullable

Image shown with the answer, if any.

datathreadreplyCount
integer

Number of replies (posts after the opening post).

≥ 0

datathreadupvotes
integer

Upvotes on the opening post.

≥ 0

datathreadtrendingScore
numbernullable

Fandom's trending score for the thread.

datathreadisLocked
boolean

Whether replies are locked.

datathreadisDeleted
boolean

Whether the thread was deleted by a moderator.

Wiki articles the thread is tagged with.

datathreadarticles[]title
string

Article title.

datathreadarticles[]url
string

Article URL.

Replies on this page.

datareplies[]id
string

Post id.

datareplies[]threadId
stringnullable

Id of the thread the post belongs to.

datareplies[]isReply
boolean

True for replies; false for the opening post of a thread.

datareplies[]createdAt
stringnullable

When the post was created (ISO-8601).

datareplies[]editedAt
stringnullable

When the post was last edited, or null if never edited.

Who wrote the post.

datareplies[]authorid
stringnullable

Fandom user id, or null for anonymous or unknown users.

datareplies[]authorname
stringnullable

Fandom username.

datareplies[]authoravatarUrl
stringnullable

Avatar image URL.

datareplies[]authorprofileUrl
stringnullable

The user's profile page on this wiki.

datareplies[]text
string

Plain text of the post. Images become `[image]`; link previews become `[link: url]`.

Images in the post.

datareplies[]images[]url
string

Image URL.

datareplies[]images[]width
integernullable

Width in pixels.

datareplies[]images[]height
integernullable

Height in pixels.

Links in the post, including link previews.

datareplies[]links[]
stringoptional

Users mentioned with @.

datareplies[]mentions[]id
stringnullable

Mentioned user's id.

datareplies[]mentions[]name
string

Mentioned username.

datareplies[]hasPoll
boolean

Whether the post contains a poll.

The poll's question, answers and votes, or null.

datareplies[]pollquestion
stringnullable

The poll question.

datareplies[]polltotalVotes
integernullable

Votes across all answers.

≥ 0

Answers in display order.

datareplies[]pollanswers[]text
string

Answer text.

datareplies[]pollanswers[]votes
integernullable

Votes for this answer.

≥ 0

datareplies[]pollanswers[]imageUrl
stringnullable

Image shown with the answer, if any.

datareplies[]upvotes
integer

Upvote count.

≥ 0

datareplies[]position
integernullable

Position within the thread (1 is the opening post) when known.

datareplies[]isDeleted
boolean

Whether the post was deleted by a moderator.

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/discussions/4400000000000172871" \
  -H "x-api-key: YOUR_API_KEY"

Responses

A thread and a page of its replies.