Bluesky bulk posts API
Up to 25 Bluesky posts in one call, from comma-separated URLs or at:// URIs.
GET /v1/bluesky/posts2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bluesky/posts?urls=https%3A%2F%2Fbsky.app%2Fprofile%2Fespn.com%2Fpost%2F3muznlkmspz2x",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "posts": [ { "uri": "at://did:plc:x7d6j54pm22ufehkes6jo4jf/app.bsky.feed.post/3muznlkmspz2x", "cid": "bafyreiceaay7jrgqznvxhttsmizofewx3mj6bwebjtz76nd2wh4hix4fty", "author": { "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": [ { "…": "6 fields" } ], "verifiedStatus": "valid", "trustedVerifierStatus": "none" } }, "record": { "text": "One more sleep until NFL football is BACK. 🏈", "createdAt": "2026-09-08T18:27:24.700Z", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.video", "video": { "$type": "blob", "ref": { "…": "1 fields" }, "mimeType": "video/mp4", "size": 38735071 } }, "facets": [] }, "embed": { "cid": "bafkreiflqivgi6afl5jv4qnmwzo3ks7jwe2dfurohsjfgafbtd5crw4gaq", "playlist": "https://video.bsky.app/watch/did%3Aplc%3Ax7d6j54pm22ufehkes6jo4jf/bafkreiflqivgi6afl5jv4qnmwzo3ks7jwe2dfurohsjfgafbtd5cr…", "thumbnail": "https://video.bsky.app/watch/did%3Aplc%3Ax7d6j54pm22ufehkes6jo4jf/bafkreiflqivgi6afl5jv4qnmwzo3ks7jwe2dfurohsjfgafbtd5cr…", "$type": "app.bsky.embed.video#view" }, "replyCount": 17, "repostCount": 13, "likeCount": 107, "quoteCount": 7, "bookmarkCount": 0, "indexedAt": "2026-09-08T18:27:30.159Z", "labels": [] } ]}Parameters
| Name | Type | Description |
|---|---|---|
urlsquery · required | string | Comma-separated post URLs or at:// URIs, 1 to 25. Example: https://bsky.app/profile/espn.com/post/3muznlkmspz2x. |
Response fields
200 with a BlueskyPosts, in the AT Protocol’s own app.bsky lexicon JSON.
| Field | Type | Description |
|---|---|---|
posts | BlueskyPostView[] |
Status codes
| Status | Meaning |
|---|---|
200 | The posts 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 deleted posts?
They are left out of posts; the call still succeeds.
Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.