Bluesky post replies (thread) API
A post with its parent chain and its replies nested to the depth you ask for, as threadViewPost.
GET /v1/bluesky/post/thread1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bluesky/post/thread?url=https%3A%2F%2Fbsky.app%2Fprofile%2Fespn.com%2Fpost%2F3muznlkmspz2x&depth=1",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "thread": { "$type": "app.bsky.feed.defs#threadViewPost", "post": { "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/bafkreie4oxawqqsfzv…", "associated": { "activitySubscription": { "…": "1 fields" } }, "labels": [], "createdAt": "2024-11-25T21:49:49.345Z", "verification": { "verifications": [ "…" ], "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": { "…": "4 fields" } }, "facets": [] }, "embed": { "cid": "bafkreiflqivgi6afl5jv4qnmwzo3ks7jwe2dfurohsjfgafbtd5crw4gaq", "playlist": "https://video.bsky.app/watch/did%3Aplc%3Ax7d6j54pm22ufehkes6jo4jf/bafkreiflqivgi6afl5jv4qn…", "thumbnail": "https://video.bsky.app/watch/did%3Aplc%3Ax7d6j54pm22ufehkes6jo4jf/bafkreiflqivgi6afl5jv4qn…", "$type": "app.bsky.embed.video#view" }, "replyCount": 17, "repostCount": 13, "likeCount": 107, "quoteCount": 7, "bookmarkCount": 0, "indexedAt": "2026-09-08T18:27:30.159Z", "labels": [] }, "replies": [ { "post": { "uri": "at://did:plc:wutxdifahkiof54ukaktuuq5/app.bsky.feed.post/3mvi455co222x", "cid": "bafyreia7h6m4lubixzdzgnayyleq6ja6rzcbcb7ziuiypqc6xaddcj5qia", "author": { "…": "7 fields" }, "record": { "…": "5 fields" }, "bookmarkCount": 0, "replyCount": 0, "repostCount": 0, "likeCount": 0, "quoteCount": 0, "indexedAt": "2026-09-14T12:25:08.560Z", "labels": [] }, "threadContext": {}, "$type": "app.bsky.feed.defs#threadViewPost" }, { "post": { "uri": "at://did:plc:tyo22comlylf5smdhkzefz4k/app.bsky.feed.post/3mzd6okok6c2t", "cid": "bafyreigq2kuumlvh3kwe2ydrrnz2gc6mzmfcbwfijftmqziry343qidb3a", "author": { "…": "7 fields" }, "record": { "…": "6 fields" }, "embed": { "…": "6 fields" }, "bookmarkCount": 0, "replyCount": 0, "repostCount": 0, "likeCount": 0, "quoteCount": 0, "indexedAt": "2026-11-02T11:08:07.074Z", "labels": [] }, "threadContext": {}, "$type": "app.bsky.feed.defs#threadViewPost" }, "… 10 more" ], "threadContext": {} }}Parameters
| Name | Type | Description |
|---|---|---|
urlquery · required | string | The post: a bsky.app URL or its at:// URI. Example: https://bsky.app/profile/espn.com/post/3muznlkmspz2x. |
depthquery | integer | null | Reply levels, 0 to 1000. Default 6. |
parent_heightquery | integer | null | Parent levels, 0 to 1000. Default 80. |
Response fields
200 with a BlueskyThread, in the AT Protocol’s own app.bsky lexicon JSON.
| Field | Type | Description |
|---|---|---|
thread | object | app.bsky.feed.defs#threadViewPost: post, its parent chain and nested replies (each a threadViewPost, or a notFoundPost / blockedPost). |
threadgate | object |
Status codes
| Status | Meaning |
|---|---|
200 | The thread. |
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
Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.