Profile Posts
An account's posts and reposts, newest first.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
handle?stringThe account's handle (bsky.app) or DID.
url?stringThe profile's link, instead of handle.
cursor?stringnextCursor of the previous page.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.bluesky.profilePosts({ handle: "bsky.app" });Example Response
{ "data": [ { "id": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l", "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l", "text": "👋 Bluesky is an open social network that gives creators independence from platforms, developers the freedom to build, and users a choice in their experience. We're so excited to have you here! \n\nWe share Bluesky updates & news from this account. A quick orientation thread: 🧵✨", "createdAt": "2024-10-17T07:06:51.491Z", "author": { "id": "did:plc:z72i7hdynmk6r22z27h6tvur", "username": "bsky.app", "displayName": "Bluesky", "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka", "verified": false, "url": "https://bsky.app/profile/bsky.app" }, "stats": { "views": null, "likes": 63842, "comments": 8779, "shares": 9585, "saves": 290, "engagementRate": null }, "media": [], "hashtags": [], "mentions": [], "ext": { "cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq", "rkey": "3l6oveex3ii2l", "quotes": 729, "langs": [ "en" ], "replyTo": null, "repost": null, "pinned": true, "quoted": null, "link": null, "altTexts": [], "repliesRestricted": true, "labels": [], "indexedAt": "2024-10-17T07:06:51.491Z" } }, { "id": "at://did:plc:dalbbospvxinrzc7a5clbnyj/app.bsky.feed.post/3n2xthjwiac22", "url": "https://bsky.app/profile/odpomery.bsky.social/post/3n2xthjwiac22", "text": "Night and day illustrations I did for @bsky.app earlier this year!", "createdAt": "2026-11-23T09:38:25.356Z", "author": { "id": "did:plc:dalbbospvxinrzc7a5clbnyj", "username": "odpomery.bsky.social", "displayName": "Owen D. Pomery", "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:dalbbospvxinrzc7a5clbnyj/bafkreigbxpqxwqgngqy35jgpzh7pguqtklvfbffjr523hubgpcqgobnc5e", "verified": false, "url": "https://bsky.app/profile/odpomery.bsky.social" }, "stats": { "views": null, "likes": 1536, "comments": 21, "shares": 93, "saves": 42, "engagementRate": null }, "media": [ { "kind": "video", "url": "https://video.bsky.app/watch/did%3Aplc%3Adalbbospvxinrzc7a5clbnyj/bafkreidgg5yet4cavzeyh3hdljkh5ttfum7o27rqjvhyqpf7gslt55irsu/playlist.m3u8", "thumbnailUrl": "https://video.bsky.app/watch/did%3Aplc%3Adalbbospvxinrzc7a5clbnyj/bafkreidgg5yet4cavzeyh3hdljkh5ttfum7o27rqjvhyqpf7gslt55irsu/thumbnail.jpg", "width": 800, "height": 1302, "durationSeconds": null } ], "hashtags": [], "mentions": [ "bsky.app" ], "ext": { "cid": "bafyreicahfeh6pb3htyefflu7fcjjle7pqetqypmx2ko3ymvr6hbo2fi3e", "rkey": "3n2xthjwiac22", "quotes": 4, "langs": [ "en" ], "replyTo": null, "repost": { "by": { "id": "did:plc:z72i7hdynmk6r22z27h6tvur", "username": "bsky.app", "displayName": "Bluesky", "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka", "verified": false, "url": "https://bsky.app/profile/bsky.app" }, "at": "2026-11-23T16:29:58.241Z" }, "pinned": false, "quoted": null, "link": null, "altTexts": [], "repliesRestricted": false, "labels": [], "indexedAt": "2026-11-23T09:38:28.548Z" } } ], "pagination": { "nextCursor": "2026-10-22T16:11:13.754Z", "hasMore": true }}