Bluesky user custom feeds API
The custom feeds an account created, with like counts.
GET /v1/bluesky/profiles/{actor}/feeds1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bluesky/profiles/bsky.app/feeds?limit=5",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "feeds": [ { "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/with-friends", "cid": "bafyreig6odglhywpzwm36p4h5jzlc7kbiushd5wbf44woap2kab74fwrju", "did": "did:web:discover.bsky.app", "creator": { "did": "did:plc:z72i7hdynmk6r22z27h6tvur", "handle": "bsky.app", "displayName": "Bluesky", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihw…", "associated": { "…": "2 fields" }, "labels": [], "createdAt": "2023-04-12T04:53:57.057Z", "verification": { "…": "3 fields" }, "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: su…", "indexedAt": "2026-11-04T15:41:10.973Z", "…": "1 more fields" }, "displayName": "Popular With Friends", "description": "A mix of popular content from accounts you follow and content that your follows …", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreiep…", "likeCount": 41423, "indexedAt": "2026-10-28T17:12:54.788Z", "acceptsInteractions": true, "…": "1 more fields" }, "… 4 more" ], "cursor": "hot-classic"}Parameters
| Name | Type | Description |
|---|---|---|
actorpath · required | string | Handle (espn.com, @jay.bsky.social), DID (did:plc:…) or a bsky.app profile URL. Example: espn.com. |
limitquery | integer | Items per page, 1 to 100. Default 50. |
afterquery | string | Cursor: the previous page’s cursor. |
Response fields
200 with a BlueskyFeeds, in the AT Protocol’s own app.bsky lexicon JSON.
| Field | Type | Description |
|---|---|---|
feeds | BlueskyGeneratorView[] | |
cursor | string | Pass it as after for the next page; absent on the last page. |
Status codes
| Status | Meaning |
|---|---|
200 | A page of feeds. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The account, post, feed, list or starter pack does not exist, was deleted or taken down. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Bluesky is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How do I get the next page?
Pass the response’s cursor back as after. Bluesky’s cursors are stateless, so they keep working.
Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.