Skip to Content

Trending

The feed Threads gives a visitor now.

GET
/v1/threads/trending

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

cursor?string

nextCursor of the previous page.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.threads.trending();
Example Response
{  "data": [    {      "id": "4037535815235947409",      "url": "https://www.threads.com/@leo_hillier_photography/post/DgINW6jDkuR",      "text": "Anne Widdecombe’s estate sale confirms who she was.",      "createdAt": "2026-11-24T14:49:57.000Z",      "author": {        "id": "68110919017",        "username": "leo_hillier_photography",        "displayName": "Leo Hillier",        "avatarUrl": "https://scontent-nrt1-1.cdninstagram.com/v/t51.2885-19/462679647_1051405903234880_2787649124151444946_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-nrt1-1.cdninstagram.com&_nc_cat=108&_nc_oc=Q6cZ2gHFJYsSTtdEq0F-qncV25dClE0QhWwDzYwOt7-pp4FMRgw7cgw6gMfTzX_aI73Lfbg&_nc_ohc=oAaoYKiHyRUQ7kNvwE2RYLF&_nc_gid=-vKBw5jSoRGSONCTvkXr_g&edm=ACM2rXoBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQQeEt7J4On_o9mqbJ_Xa6r7VeBsnVaHg8xoTq1XBPgVUw&oe=6B0BE8DD&_nc_sid=68810c",        "verified": false,        "url": "https://www.threads.com/@leo_hillier_photography"      },      "stats": {        "views": null,        "likes": 1136,        "comments": 131,        "shares": null,        "saves": null,        "engagementRate": null      },      "media": [],      "hashtags": [],      "mentions": [],      "ext": {        "code": "DgINW6jDkuR",        "kind": "text",        "reposts": 34,        "quotes": 0,        "isReply": false,        "replyTo": null,        "quoted": null,        "link": null,        "topic": "UK Politcs",        "pinned": false,        "continued": false,        "repostedAt": null,        "language": "en",        "paidPartnership": false,        "altText": null      }    },    {      "id": "4037221791304095331",      "url": "https://www.threads.com/@madlori/post/DgHF9Q-JZZj",      "text": "I just learned that good looking men in Japan are categorized into seven strict sub-categories that are named after...condiments.\n\nNever change, Japan.",      "createdAt": "2026-11-24T04:26:03.000Z",      "author": {        "id": "62929063493",        "username": "madlori",        "displayName": "Lori",        "avatarUrl": "https://scontent-nrt6-1.cdninstagram.com/v/t51.82787-19/684891697_17958341364103494_437393955793584369_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-nrt6-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gHFJYsSTtdEq0F-qncV25dClE0QhWwDzYwOt7-pp4FMRgw7cgw6gMfTzX_aI73Lfbg&_nc_ohc=TXJWA5nEWj8Q7kNvwHI_74l&_nc_gid=-vKBw5jSoRGSONCTvkXr_g&edm=ACM2rXoBAAAA&ccb=7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQQ3B8gVMSAGH7H-GdAdmn_6u1F96IsMgFyZogRIXdJORg&oe=6B0BE51F&_nc_sid=68810c",        "verified": false,        "url": "https://www.threads.com/@madlori"      },      "stats": {        "views": null,        "likes": 339,        "comments": 11,        "shares": 8,        "saves": null,        "engagementRate": null      },      "media": [],      "hashtags": [],      "mentions": [],      "ext": {        "code": "DgHF9Q-JZZj",        "kind": "text",        "reposts": 8,        "quotes": 0,        "isReply": false,        "replyTo": null,        "quoted": null,        "link": null,        "topic": null,        "pinned": false,        "continued": false,        "repostedAt": null,        "language": "en",        "paidPartnership": false,        "altText": null      }    }  ],  "pagination": {    "nextCursor": "GvYPvuLVkb3PwYhwxL2p2onHyIdwhp7Bybaz5IZwxNDB-fX11Yhwxtms4of1i4dwzJ2KieSVj4hwkIiumZv884Zw0Pimwfjpj4hw1qOQ0Y3AgYdwmsOI4cLe5oZw3I2XkYiyjohwnLi0sdGQuIhwoq7ysNTbmohwpIua0ZT_n4dw8uKL4YThoYhwJtKsvvrBaBQIWQgYABoIOgYZDAA=",    "hasMore": true  }}