Bluesky Post API: One Post with Exact Counts

Get one post in full

One public Bluesky post in full: author, text with its mentions, links and hashtags, time, the reply, repost, like, quote and bookmark counts as Bluesky reports them, images and video, link card, and the post it quotes. For a reply, includeParents returns the posts it answers. A post that does not exist, or that Bluesky removed, is a 404. 1 credit.

POST /post-detail Posts & replies
https://api.fetchlayer.dev/bluesky/post-detail
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.

includeParents boolean optional

For a reply, also return the posts it replies to, oldest first, in parents. A note says when part of that chain is no longer available. (default: false)

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-detail

Get one post in full

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.

post.uri string

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

post.cid string

The content hash of this version of the post.

post.url string

Link to the post on bsky.app.

post.author.did string

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

post.author.handle string

The handle, such as bsky.app.

post.author.displayName string | null

The display name.

post.author.avatarUrl string | null

The avatar image.

post.author.url string

Link to the profile.

post.author.isVerified boolean

Whether the account shows Bluesky’s verification badge.

post.author.labels string[]

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

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.

post.author.createdAt string | null

When the account was created (ISO 8601).

post.text string

The post’s text.

post.entities object[]

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

post.tags string[]

Hashtags attached outside the text.

post.langs string[]

The languages the author declared.

post.createdAt string | null

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

post.indexedAt string | null

When Bluesky first saw it.

post.replyCount number | null

Replies, as Bluesky counts them.

post.repostCount number | null

Reposts, as Bluesky counts them.

post.likeCount number | null

Likes, as Bluesky counts them.

post.quoteCount number | null

Quotes, as Bluesky counts them.

post.bookmarkCount number | null

Bookmarks, as Bluesky counts them.

post.media object[]

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

post.linkCard object | null

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

post.quotedPost object | null

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

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).

post.replyTo object | null

For a reply: { parentUri, rootUri }.

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.

post.labels string[]

Labels on the post.

parents object[]

With includeParents on a reply: the posts it replies to, oldest first. Empty otherwise.

Request

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

Response

{
  "transport": "bluesky",
  "notes": [],
  "excludedCount": 0,
  "post": {
    "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
    "cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
    "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
    "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": "👋  Bluesky is an open social network that gives creators independence from platforms, developers the freedom to build, and users a choice in their experience. We're so excited to have you here! \n\nWe share Bluesky updates & news from this account. A quick orientation thread: 🧵✨",
    "entities": [],
    "tags": [],
    "langs": [
      "en"
    ],
    "createdAt": "2024-10-17T07:06:51.491Z",
    "indexedAt": "2024-10-17T07:06:51.491Z",
    "likeCount": 63842,
    "replyCount": 8778,
    "repostCount": 9585,
    "quoteCount": 729,
    "bookmarkCount": 290,
    "media": [],
    "linkCard": null,
    "quotedPost": null,
    "quotedUnavailable": null,
    "replyTo": null,
    "labels": [],
    "loggedOutVisibility": "public"
  },
  "parents": []
}
Product overview Bluesky API: what it returns, pricing and use cases