Bluesky profile API
A public Bluesky profile by handle, DID or URL: display name, bio, avatar, banner, follower, follow and post counts, join date, pinned post and labels, as the AT Protocol’s own profileViewDetailed.
GET /v1/bluesky/profiles/{actor}1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bluesky/profiles/espn.com",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "did": "did:plc:x7d6j54pm22ufehkes6jo4jf", "handle": "espn.com", "displayName": "ESPN", "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:x7d6j54pm22ufehkes6jo4jf/bafkreie4oxawqqsfzvk47ysr3unsnmviedzpylxmwxnpa534…", "associated": { "lists": 0, "feedgens": 0, "starterPacks": 0, "labeler": false, "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", "followersCount": 308539, "followsCount": 32, "postsCount": 872}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. |
Status codes
| Status | Meaning |
|---|---|
200 | The profile. |
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
Which accounts are hidden?
Accounts that asked Bluesky not to show them to logged-out visitors answer 403 target_private, as bsky.app does. Never charged.
Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.