Read the posts under a topic
Posts filed under a Threads topic (the tag shown above a post): one page only, with no further pages, about 10 posts. Pass topicId, returned with every topic, to pin the exact topic. 1 credit.
/topic-posts Search & trending https://api.fetchlayer.dev/threads/topic-posts Headers
Authorization string required Bearer token — your FetchLayer API key.
Parameters
topic string required The topic’s name, as shown on a post or a profile (for example gta6 or Baking Threads).
topicId string optional The topic’s numeric id, when known (returned with every topic: on a post, a profile and a topic response); narrows the results to exactly that topic. Digits only.
limit integer optional Maximum posts returned, 1-30. Threads shows one page, so fewer can come back. (default: 20)
format string optional json or markdown; any other value is a 400. Over MCP, markdown returns the result rendered as text; the REST API accepts it and returns JSON. (default: json)
timeoutMs integer optional Time limit for the whole request, in milliseconds (1000–120000); a value outside that range is a 400. When it runs out, a paged listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running.
Response Fields
topic-posts
Read the posts under a topic
transport string The data source: always the platform id, "threads".
notes string[] Caveats you can act on, such as "one page of results" or a listing that stopped early. Empty when there are none. An empty result always comes with a note explaining it.
topic object The topic: { name, id, url }. id is null when the request did not pin one with topicId and Threads did not name it.
postCount number How many posts are in this response.
posts object[] The posts, in the post shape.
posts[].id string The post’s numeric id.
posts[].code string The post’s short code, as in its link. post-detail and post-replies accept it.
posts[].url string Link to the post.
posts[].author.id string The account’s numeric id.
posts[].author.username string The username, without @. Every tool that takes user accepts it.
posts[].author.fullName string | null The display name.
posts[].author.isVerified boolean Whether the account shows a verification badge.
posts[].author.isPrivate boolean | null Whether the account is private. A private account’s posts are not returned.
posts[].author.profilePicUrl string | null Profile picture. Expires after a few days like every media link.
posts[].author.url string Link to the profile.
posts[].text string | null The post’s text. null for a post that is only media.
posts[].entities object[] What the text mentions, in order: { type: "mention", text, username }, { type: "link", text, url } and { type: "tag", text, topic }.
posts[].createdAt string | null When it was posted (ISO 8601, UTC).
posts[].likeCount number | null Likes. An exact count.
posts[].replyCount number | null Replies. An exact count.
posts[].repostCount number | null Reposts. An exact count; the accounts that reposted are not available.
posts[].quoteCount number | null Quotes. An exact count; the quotes themselves are not available.
posts[].shareCount number | null Shares. An exact count.
posts[].mediaType string text, image, video, carousel, audio or other.
posts[].media object[] Images and videos, in order: { type (image or video), url (the image, or a video’s poster), videoUrl, width, height, altText }. The links expire after a few days; read the post again for fresh ones, or download through /media.
posts[].linkPreview object | null A link card on the post: { url, displayUrl, title, imageUrl }.
posts[].topic object | null The topic tag shown above the post: { name, id, url }. Pass id as topicId to topic-posts.
posts[].isReply boolean Whether the post is a reply.
posts[].replyToUsername string | null For a reply, the account it answers.
posts[].isPinned boolean Whether the author pinned it to their profile.
posts[].quotedPost object | null The post this one quotes, in the same shape, one level deep.
posts[].repostedPost object | null On a repost, the original post, in the same shape, one level deep.
Request
curl -X POST "https://api.fetchlayer.dev/threads/topic-posts" \
-H "Authorization: Bearer ss-your-key" \
-H "Content-Type: application/json" \
-d '{"topic":"gta6","limit":3}'Response
{
"transport": "threads",
"notes": [
"Topic pages return one page of posts (about 10)."
],
"topic": {
"name": "gta6",
"id": null,
"url": "https://www.threads.com/search?q=gta6&serp_type=tags"
},
"postCount": 3,
"posts": [
{
"id": "4037040702714149359",
"code": "DgGcyFFEfnv",
"url": "https://www.threads.com/@meettheskrimps/post/DgGcyFFEfnv",
"author": {
"id": "63312627788",
"username": "meettheskrimps",
"fullName": "Meet the Skrimps",
"isVerified": true,
"isPrivate": false,
"profilePicUrl": "https://scontent-lax3-1.cdninstagram.com/v/t51.82787-19/531196224_17921171949109742_3030187237304853…",
"url": "https://www.threads.com/@meettheskrimps"
},
"text": "Grand Theft America.\n\nThe most realistic open-world crime game ever made. No cheat codes. No respawns.\n\nRated M for Maladministration.\n\nNext drop 12.7.2026\n\n#GTA6 #GrandTheftAuto #GTAVI #Skrimp Mee…",
"entities": [],
"createdAt": "2026-11-23T22:26:18.000Z",
"likeCount": 10,
"replyCount": 0,
"repostCount": 0,
"quoteCount": 0,
"shareCount": 1,
"mediaType": "video",
"media": [
{
"type": "video",
"url": "https://scontent-lax3-2.cdninstagram.com/v/t51.71878-15/922900381_1453646419636779_51149405203460122…",
"videoUrl": "https://scontent-lax3-2.cdninstagram.com/o1/v/t2/f2/m86/AQMdiLitSmryTN8YUCrvnmNaCIqZhaYOCN1lXuOkNEVP…",
"width": 640,
"height": 356,
"altText": null
}
],
"linkPreview": null,
"topic": null,
"isReply": false,
"replyToUsername": null,
"isPinned": false,
"quotedPost": null,
"repostedPost": null
}
]
}