Bluesky bulk profiles API
Up to 25 Bluesky profiles in one call, from comma-separated handles or DIDs, as app.bsky.actor.getProfiles returns them.
GET /v1/bluesky/profiles2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bluesky/profiles?actors=espn.com,bsky.app",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "profiles": [ { "did": "did:plc:x7d6j54pm22ufehkes6jo4jf", "handle": "espn.com", "displayName": "ESPN", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:x7d6j54pm22ufehkes6jo4jf/bafkreie4oxawqqsfzv…", "associated": { "lists": 0, "feedgens": 0, "starterPacks": 0, "labeler": false, "activitySubscription": { "allowSubscriptions": "followers" } }, "labels": [], "createdAt": "2024-11-25T21:49:49.345Z", "verification": { "verifications": [ { "…": "6 fields" } ], "verifiedStatus": "valid", "trustedVerifierStatus": "none" }, "description": "Serving sports fans. Anytime. Anywhere.", "indexedAt": "2024-12-19T20:49:48.843Z", "followersCount": 308539, "followsCount": 32, "postsCount": 872 }, { "did": "did:plc:z72i7hdynmk6r22z27h6tvur", "handle": "bsky.app", "displayName": "Bluesky", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zu…", "associated": { "lists": 26, "feedgens": 7, "starterPacks": 23, "labeler": false, "chat": { "allowIncoming": "none" }, "activitySubscription": { "allowSubscriptions": "followers" } }, "labels": [], "createdAt": "2023-04-12T04:53:57.057Z", "verification": { "verifications": [], "verifiedStatus": "none", "trustedVerifierStatus": "valid" }, "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky…", "indexedAt": "2026-11-04T15:41:10.973Z", "banner": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmy…", "followersCount": 35829384, "followsCount": 44, "postsCount": 928, "…": "2 more fields" } ]}Parameters
| Name | Type | Description |
|---|---|---|
actorsquery · required | string | Comma-separated handles or DIDs, 1 to 25. Example: espn.com,bsky.app. |
Response fields
200 with a BlueskyProfiles, in the AT Protocol’s own app.bsky lexicon JSON.
| Field | Type | Description |
|---|---|---|
profiles | BlueskyProfileViewDetailed[] |
Status codes
| Status | Meaning |
|---|---|
200 | The profiles found. |
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
What about accounts that do not exist?
They are left out of profiles; the call still succeeds.
Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.