Bluesky Replies API: The Reply Tree of a Post

Read the replies to a post

The replies under a post as a tree, in Bluesky’s ranking (top), newest or oldest first, each a full post with its own counts, nested up to five levels. Bluesky returns a sample of a large thread in one read and offers no further pages: hasMore and a note say when the list is incomplete. Replies the post’s author hid are not included, and Bluesky itself may leave out replies from opted-out accounts; a note says so. Up to 500 top-level replies. 1 credit.

POST /post-replies Posts & replies
https://api.fetchlayer.dev/bluesky/post-replies
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

post string required

A post: its bsky.app link (https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l) or its at:// address.

sort string optional

top: Bluesky’s ranking. newest or oldest. (default: top)

depth integer optional

Levels of replies to replies, 0-5. (default: 1)

limit integer optional

How many top-level replies to return, 1-500. (default: 100)

excludeOptedOut boolean optional

Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written. (default: false)

format string optional

json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON. (default: json)

timeoutMs integer optional

Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running.

Response Fields

post-replies

Read the replies to a post

transport string

The data source: always the platform id, "bluesky".

notes string[]

Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none.

excludedCount number

How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag.

post object

The post the replies belong to: { uri, url, replyCount }.

sort string

The order used.

depth number

The depth used.

replyCount number

How many top-level replies are in this response.

replies object[]

Each { post, replies, moreReplies }: the reply, the replies under it, and whether it has more replies than were returned.

replies[].post.uri string

The post’s at:// address. Every tool that takes post accepts it.

replies[].post.cid string

The content hash of this version of the post.

replies[].post.url string

Link to the post on bsky.app.

replies[].post.author.did string

The account id. It stays the same when the handle changes; every tool that takes user accepts it.

replies[].post.author.handle string

The handle, such as bsky.app.

replies[].post.author.displayName string | null

The display name.

replies[].post.author.avatarUrl string | null

The avatar image.

replies[].post.author.url string

Link to the profile.

replies[].post.author.isVerified boolean

Whether the account shows Bluesky’s verification badge.

replies[].post.author.labels string[]

Moderation and self-applied labels on the account, such as bot.

replies[].post.author.loggedOutVisibility string

public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise.

replies[].post.author.createdAt string | null

When the account was created (ISO 8601).

replies[].post.text string

The post’s text.

replies[].post.entities object[]

What the text holds, in order: mentions (did), links (url) and hashtags (tag).

replies[].post.tags string[]

Hashtags attached outside the text.

replies[].post.langs string[]

The languages the author declared.

replies[].post.createdAt string | null

When it was posted, as written by the author’s app (ISO 8601).

replies[].post.indexedAt string | null

When Bluesky first saw it.

replies[].post.replyCount number | null

Replies, as Bluesky counts them.

replies[].post.repostCount number | null

Reposts, as Bluesky counts them.

replies[].post.likeCount number | null

Likes, as Bluesky counts them.

replies[].post.quoteCount number | null

Quotes, as Bluesky counts them.

replies[].post.bookmarkCount number | null

Bookmarks, as Bluesky counts them.

replies[].post.media object[]

Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }.

replies[].post.linkCard object | null

A link card on the post: { url, title, description, imageUrl }.

replies[].post.quotedPost object | null

The post this one quotes, in the same shape, one level deep.

replies[].post.quotedUnavailable string | null

Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack).

replies[].post.replyTo object | null

For a reply: { parentUri, rootUri }.

replies[].post.loggedOutVisibility string

public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise.

replies[].post.labels string[]

Labels on the post.

hasMore boolean

true when the thread holds more replies than Bluesky returned in its one read.

nextCursor null

Always null: a reply tree has no further pages.

Request

curl -X POST "https://api.fetchlayer.dev/bluesky/post-replies" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"post":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l","depth":1,"limit":10}'

Response

{
  "transport": "bluesky",
  "notes": [
    "Bluesky returns a limited sample of a large thread in one read and offers no way to page further, so this list is incomplete.",
    "Some replies the author hid or that Bluesky ranks low are not included.",
    "Bluesky itself may leave out replies from accounts that ask to be shown only to people with a Bluesky account (seen on 2026-11-24); they are then not in this list."
  ],
  "excludedCount": 0,
  "post": {
    "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
    "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
    "replyCount": 8778
  },
  "sort": "top",
  "depth": 1,
  "replyCount": 10,
  "replies": [
    {
      "post": {
        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovfftinx2m",
        "cid": "bafyreid5gnc6nuo4jcnjkp52xu66otq3qioorrrowzlqrnc6l7pupii2eq",
        "url": "https://bsky.app/profile/bsky.app/post/3l6ovfftinx2m",
        "author": {
          "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
          "handle": "bsky.app",
          "displayName": "Bluesky",
          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
          "url": "https://bsky.app/profile/bsky.app",
          "isVerified": false,
          "labels": [],
          "loggedOutVisibility": "public",
          "createdAt": "2023-04-12T04:53:57.057Z"
        },
        "text": "• Anyone can create and subscribe to feeds. There are 50k+ feeds here, like posts from mutuals, news, or cat photos!\n\nbsky.app/feeds\n\n• The Discover feed shows you posts that we think you'll like. Help us fine-tune it for you by using the \"Show more\" & \"Show less\" buttons in t…",
        "entities": [
          {
            "type": "link",
            "text": "bsky.app/feeds",
            "url": "https://bsky.app/feeds"
          }
        ],
        "tags": [],
        "langs": [
          "en"
        ],
        "createdAt": "2024-10-17T07:07:26.071Z",
        "indexedAt": "2024-10-17T07:07:26.071Z",
        "likeCount": 3245,
        "replyCount": 61,
        "repostCount": 283,
        "quoteCount": 41,
        "bookmarkCount": 10,
        "media": [],
        "linkCard": null,
        "quotedPost": null,
        "quotedUnavailable": null,
        "replyTo": {
          "parentUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
          "rootUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
        },
        "labels": [],
        "loggedOutVisibility": "public"
      },
      "replies": [
        {
          "post": {
            "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovgyi7ah2t",
            "cid": "bafyreifvkmpdgo4cbarvbt6he56cjchz5y2bpszsftrdackoobsba2lgiq",
            "url": "https://bsky.app/profile/bsky.app/post/3l6ovgyi7ah2t",
            "author": {
              "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
              "handle": "bsky.app",
              "displayName": "Bluesky",
              "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
              "url": "https://bsky.app/profile/bsky.app",
              "isVerified": false,
              "labels": [],
              "loggedOutVisibility": "public",
              "createdAt": "2023-04-12T04:53:57.057Z"
            },
            "text": "• On Bluesky, you own your online identity. If you own a website, you can set that as your username. We highly recommend official organizations / brands to do this , it's one form of self-verification here!",
            "entities": [],
            "tags": [],
            "langs": [
              "en"
            ],
            "createdAt": "2024-10-17T07:08:19.185Z",
            "indexedAt": "2024-10-17T07:08:19.185Z",
            "likeCount": 3058,
            "replyCount": 52,
            "repostCount": 323,
            "quoteCount": 83,
            "bookmarkCount": 11,
            "media": [],
            "linkCard": {
              "url": "https://bsky.social/about/blog/4-28-2023-domain-handle-tutorial",
              "title": "How to set your domain as your handle - Bluesky",
              "description": "Using a domain as your handle helps with account identity, verification, and portability. Here's how to set your domain as your handle.",
              "imageUrl": null
            },
            "quotedPost": null,
            "quotedUnavailable": null,
            "replyTo": {
              "parentUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovfftinx2m",
              "rootUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
            },
            "labels": [],
            "loggedOutVisibility": "public"
          },
          "replies": [],
          "moreReplies": true
        }
      ],
      "moreReplies": true
    }
  ],
  "nextCursor": null,
  "hasMore": true
}
Product overview Bluesky API: what it returns, pricing and use cases