Skip to Content

Trending

The posts of Bluesky's Discover feed, 50 a page.

GET
/v1/bluesky/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.bluesky.trending();
Example Response
{  "data": [    {      "id": "at://did:plc:6bfbhripser5pbn7o3w2yhbi/app.bsky.feed.post/3n34lyluqt22o",      "url": "https://bsky.app/profile/gregeoce.bsky.social/post/3n34lyluqt22o",      "text": "DEEP DARK NIGHT",      "createdAt": "2026-11-25T07:08:06.574Z",      "author": {        "id": "did:plc:6bfbhripser5pbn7o3w2yhbi",        "username": "gregeoce.bsky.social",        "displayName": "Gregeoce",        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:6bfbhripser5pbn7o3w2yhbi/bafkreicn32q6d2wnypndguz6x5pkdoz3rim5264ea5fgfblduft4v7ft2m",        "verified": false,        "url": "https://bsky.app/profile/gregeoce.bsky.social"      },      "stats": {        "views": null,        "likes": 296,        "comments": 0,        "shares": 151,        "saves": 12,        "engagementRate": null      },      "media": [        {          "kind": "image",          "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:6bfbhripser5pbn7o3w2yhbi/bafkreiaxtr67vtaniadjlmuekiwkn4fgdrf46wymzbugndmuhcb7qhji6q",          "thumbnailUrl": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:6bfbhripser5pbn7o3w2yhbi/bafkreiaxtr67vtaniadjlmuekiwkn4fgdrf46wymzbugndmuhcb7qhji6q",          "width": 2100,          "height": 2800,          "durationSeconds": null        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "cid": "bafyreiejbhydi4i25ulafszwbtilx2hp6zcf6sniwavneh2loiofxmociq",        "rkey": "3n34lyluqt22o",        "quotes": 0,        "langs": [          "zh"        ],        "replyTo": null,        "repost": null,        "pinned": false,        "quoted": null,        "link": null,        "altTexts": [],        "repliesRestricted": false,        "labels": [],        "indexedAt": "2026-11-25T07:08:18.242Z"      }    },    {      "id": "at://did:plc:lxhcjiftrg5sakpqqmienly5/app.bsky.feed.post/3n35ivln25c2x",      "url": "https://bsky.app/profile/capecodfairytales.bsky.social/post/3n35ivln25c2x",      "text": "#Poetry  #Painting #Home\n\nI know two of the sweetest words are \n“Welcome home”.\n\nWelcome.\nHome.\n\n- Tanner Olson\n\n.\n🎨 Stephanie Lambourne",      "createdAt": "2026-11-25T15:45:24.171Z",      "author": {        "id": "did:plc:lxhcjiftrg5sakpqqmienly5",        "username": "capecodfairytales.bsky.social",        "displayName": "Art & Nature",        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:lxhcjiftrg5sakpqqmienly5/bafkreial2s244fj5nvoy3n6srdkxag7xeu4nh5qhtktpzpcdon3wpds5im",        "verified": false,        "url": "https://bsky.app/profile/capecodfairytales.bsky.social"      },      "stats": {        "views": null,        "likes": 232,        "comments": 2,        "shares": 34,        "saves": 8,        "engagementRate": null      },      "media": [        {          "kind": "image",          "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:lxhcjiftrg5sakpqqmienly5/bafkreibjkoznnrw53hn47x3pn5f2hzuw2fsvbhgx256j43uudqpy4qjc5m",          "thumbnailUrl": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:lxhcjiftrg5sakpqqmienly5/bafkreibjkoznnrw53hn47x3pn5f2hzuw2fsvbhgx256j43uudqpy4qjc5m",          "width": 804,          "height": 1006,          "durationSeconds": null        }      ],      "hashtags": [        "Poetry",        "Painting",        "Home"      ],      "mentions": [],      "ext": {        "cid": "bafyreib22rjrecc6asw6exn6ebaf3ob7dydvyyifxknrwwxs3s2jibjnvm",        "rkey": "3n35ivln25c2x",        "quotes": 0,        "langs": [          "en"        ],        "replyTo": null,        "repost": null,        "pinned": false,        "quoted": null,        "link": null,        "altTexts": [],        "repliesRestricted": false,        "labels": [],        "indexedAt": "2026-11-25T15:45:34.648Z"      }    }  ],  "pagination": {    "nextCursor": "eyJvIjoiMjAyNi0xMS0yNVQwNjo1MzozNC43MzE5Nzk3NThaIiwibiI6IjIwMjYtMTEtMjVUMTg6NTM6MzQuNzMxOTc5NzU4WiIsInNzIjoiMjAyNi0xMS0yNVQxODo1MzozNC43MzE5Nzk3NThaIiwibHUiOiIyMDI2LTExLTI1VDE4OjUzOjM0Ljc1MjY5MDc2M1oiLCJwZyI6MSwibSI6IkFRQUFBQUFBQUFBSkFBQUFPakFBQUJrQUFBQ0x6d0FBanM4QUFJL1BBQUNVendBQW04OEFBSi9QQUFDa3p3QUFwYzhCQUtiUEFnQ3B6d0VBcTg4QUFLM1BBUUN1endJQXI4OEFBTERQQUFDeHp3RUFzczhBQUxQUEJRQzB6d01BdGM4Q0FMYlBB…",    "hasMore": true  }}