Skip to Content

Hashtag Posts

A hashtag's posts, 50 a page.

GET
/v1/bluesky/hashtag/posts

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

name*string

The hashtag, without #.

sort?string

top (by relevance, the default: one page) or latest (newest first, paged).

Value in"top""latest"
cursor?string

nextCursor of the previous page (with sort=latest).

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.hashtagPosts({ name: "caturday" });
Example Response
{  "data": [    {      "id": "at://did:plc:gachswit6caz2ad2ljkgsgg6/app.bsky.feed.post/3n322rkuq6k2i",      "url": "https://bsky.app/profile/cats-are-evil.bsky.social/post/3n322rkuq6k2i",      "text": "#caturday #cats",      "createdAt": "2026-11-24T06:54:37.559Z",      "author": {        "id": "did:plc:gachswit6caz2ad2ljkgsgg6",        "username": "cats-are-evil.bsky.social",        "displayName": "Irrefutable proof cats are evil",        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:gachswit6caz2ad2ljkgsgg6/bafkreihknlc6r5oc3uiddlltp62sj2llsjecmglckmtsau4nxvfuym33vi",        "verified": false,        "url": "https://bsky.app/profile/cats-are-evil.bsky.social"      },      "stats": {        "views": null,        "likes": 468,        "comments": 13,        "shares": 71,        "saves": 12,        "engagementRate": null      },      "media": [        {          "kind": "image",          "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:gachswit6caz2ad2ljkgsgg6/bafkreigy5ynfjteiln5743pen6ujw3qd7ahmu4vhsqfdts27cl5vxbteoe",          "thumbnailUrl": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:gachswit6caz2ad2ljkgsgg6/bafkreigy5ynfjteiln5743pen6ujw3qd7ahmu4vhsqfdts27cl5vxbteoe",          "width": 1200,          "height": 1040,          "durationSeconds": null        }      ],      "hashtags": [        "caturday",        "cats"      ],      "mentions": [],      "ext": {        "cid": "bafyreiftzuh36yzhpszqpbewi3un7hjxjgrutaxe4eluquwc2lcq5u5vda",        "rkey": "3n322rkuq6k2i",        "quotes": 3,        "langs": [          "en"        ],        "replyTo": null,        "repost": null,        "pinned": false,        "quoted": null,        "link": null,        "altTexts": [],        "repliesRestricted": false,        "labels": [],        "indexedAt": "2026-11-24T06:54:39.041Z"      }    },    {      "id": "at://did:plc:gachswit6caz2ad2ljkgsgg6/app.bsky.feed.post/3n34lilsodc2x",      "url": "https://bsky.app/profile/cats-are-evil.bsky.social/post/3n34lilsodc2x",      "text": "#caturday #cats",      "createdAt": "2026-11-25T06:59:09.636Z",      "author": {        "id": "did:plc:gachswit6caz2ad2ljkgsgg6",        "username": "cats-are-evil.bsky.social",        "displayName": "Irrefutable proof cats are evil",        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:gachswit6caz2ad2ljkgsgg6/bafkreihknlc6r5oc3uiddlltp62sj2llsjecmglckmtsau4nxvfuym33vi",        "verified": false,        "url": "https://bsky.app/profile/cats-are-evil.bsky.social"      },      "stats": {        "views": null,        "likes": 305,        "comments": 7,        "shares": 28,        "saves": 6,        "engagementRate": null      },      "media": [        {          "kind": "image",          "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:gachswit6caz2ad2ljkgsgg6/bafkreialoytdl3c2j4bftgavjcodteaypjxnlrek22xbcceuisaft6qktq",          "thumbnailUrl": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:gachswit6caz2ad2ljkgsgg6/bafkreialoytdl3c2j4bftgavjcodteaypjxnlrek22xbcceuisaft6qktq",          "width": 1080,          "height": 1350,          "durationSeconds": null        }      ],      "hashtags": [        "caturday",        "cats"      ],      "mentions": [],      "ext": {        "cid": "bafyreig4ys5xgfwjtgwiitpk6mra5pzsauo6f7izrcn2xnq6hztfhxfjmm",        "rkey": "3n34lilsodc2x",        "quotes": 2,        "langs": [          "en"        ],        "replyTo": null,        "repost": null,        "pinned": false,        "quoted": null,        "link": null,        "altTexts": [],        "repliesRestricted": false,        "labels": [],        "indexedAt": "2026-11-25T06:59:11.440Z"      }    }  ],  "pagination": {    "nextCursor": null,    "hasMore": false  }}