Threads Trending API — Trending Topics Right Now

See what is trending

What is trending on Threads right now, for the United States: each topic with the search phrase behind it and a one-line summary of the conversation. Up to 20 topics. 1 credit.

POST /trending-topics Search & trending
https://api.fetchlayer.dev/threads/trending-topics
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

limit integer optional

Maximum topics returned, 1-20. (default: 10)

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

trending-topics

See what is trending

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.

topicCount number

How many topics are in this response.

topics object[]

The trending topics.

topics[].id string

The topic’s id.

topics[].query string

The search phrase; pass it to search-posts to read the posts behind it.

topics[].title string | null

The topic’s title; often null, in which case query names it.

topics[].summary string | null

One line on the conversation.

topics[].url string

Link to the topic.

Request

curl -X POST "https://api.fetchlayer.dev/threads/trending-topics" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"limit":3}'

Response

{
  "transport": "threads",
  "notes": [
    "Trending topics reflect the United States and change through the day."
  ],
  "topicCount": 3,
  "topics": [
    {
      "id": "1122571380394508",
      "query": "Gilded Age",
      "title": null,
      "summary": "Fans follow Marian and Ada storylines in season four of HBO's The Gilded Age",
      "url": "https://www.threads.com/search?q=Gilded+Age&serp_type=trends&trend_fbid=1122571380394508"
    }
  ]
}
Product overview Threads API: what it returns, pricing and use cases