Bluesky following API
The accounts a Bluesky account follows, most recent first, up to 100 a page.
GET /v1/bluesky/profiles/{actor}/follows1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bluesky/profiles/espn.com/follows?limit=5",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "subject": { "did": "did:plc:x7d6j54pm22ufehkes6jo4jf", "handle": "espn.com", "displayName": "ESPN", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:x7d6j54pm22ufehkes6jo4jf/bafkreie4oxawqqsfzvk47ysr3unsnmviedzpylxmwxnpa534…", "associated": { "activitySubscription": { "allowSubscriptions": "followers" } }, "labels": [], "createdAt": "2024-11-25T21:49:49.345Z", "verification": { "verifications": [ { "issuer": "did:plc:z72i7hdynmk6r22z27h6tvur", "issuerDisplayName": "Bluesky", "issuerHandle": "bsky.app", "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.verification/3lndppjqgb72f", "isValid": true, "createdAt": "2025-04-21T10:44:20.398Z" } ], "verifiedStatus": "valid", "trustedVerifierStatus": "none" }, "description": "Serving sports fans. Anytime. Anywhere.", "indexedAt": "2024-12-19T20:49:48.843Z" }, "follows": [ { "did": "did:plc:cqg5zp2gd4fd4fxzokb4odlz", "handle": "artbutmakeitsports.bsky.social", "displayName": "ArtButMakeItSports", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:cqg5zp2gd4fd4fxzokb4odlz/bafkreicivarm6uxjfocgragm4fvmymeybah6ebte6k6ketn5…", "associated": { "chat": { "allowIncoming": "all", "allowGroupInvites": "all" }, "activitySubscription": { "allowSubscriptions": "followers" } }, "labels": [], "createdAt": "2023-04-27T19:26:37.561Z", "description": "I turn Art into Sports (and vice versa) | NO AI USED | “Everything I didn't know I needed\" - follower testimonial", "indexedAt": "2025-09-13T03:26:57.699Z" }, { "did": "did:plc:mbxm4wdmklezjotcqa3g7uto", "handle": "sethwalder.bsky.social", "displayName": "Seth Walder", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:mbxm4wdmklezjotcqa3g7uto/bafkreieqpgxbgsw47ij77m7yqufi5ymmmzihm56zmorah3bp…", "associated": { "chat": { "allowIncoming": "all" }, "activitySubscription": { "allowSubscriptions": "followers" } }, "labels": [], "createdAt": "2024-11-15T15:15:12.530Z", "verification": { "verifications": [ { "issuer": "did:plc:z72i7hdynmk6r22z27h6tvur", "issuerDisplayName": "Bluesky", "issuerHandle": "bsky.app", "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.verification/3lynrffr5ub2o", "isValid": true, "createdAt": "2025-09-12T17:18:13.361Z" } ], "verifiedStatus": "valid", "trustedVerifierStatus": "none" }, "description": "ESPN NFL Analyst. DMs open.", "indexedAt": "2025-07-10T20:19:30.332Z" }, "… 3 more" ], "cursor": "3lgf5mb3g2l2p"}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 BlueskyFollows, in the AT Protocol’s own app.bsky lexicon JSON.
| Field | Type | Description |
|---|---|---|
subject | BlueskyProfileView | |
follows | BlueskyProfileView[] | |
cursor | string | Pass it as after for the next page; absent on the last page. |
Status codes
| Status | Meaning |
|---|---|
200 | A page of followed accounts. |
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.