UnifAPI Docs

Get a Bluesky post

Returns one Bluesky post by author handle and post id (the record key at the end of a bsky.app post link), with replies. Returns `not_found` when the post does not exist.

Pricing — $ · min $0.003

Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.

GET
/bluesky/users/{username}/posts/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key. Provider credentials are managed by UnifAPI.

In: header

Path Parameters

username*string

Bluesky handle of the author.

Length1 <= length <= 500
id*string

Post record key, as in bsky.app/profile/{username}/post/{id}.

Length1 <= length <= 500

Header Parameters

Unifapi-Version?"2026-07-01"

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Default"2026-07-01"

Value in

  • "2026-07-01"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/bluesky/users/string/posts/string"
{  "request_id": "string",  "data": {    "id": "string",    "cid": "string",    "url": "string",    "text": "string",    "created_at": 0,    "indexed_at": 0,    "author": {      "platform": "string",      "platform_user_id": "string",      "username": "string",      "display_name": "string",      "avatar_url": "string",      "is_verified": true    },    "like_count": 0,    "repost_count": 0,    "reply_count": 0,    "quote_count": 0,    "embed": {      "kind": "string",      "external": {        "url": "string",        "title": "string",        "description": "string",        "thumb_url": "string"      },      "images": [        {          "url": "string",          "alt": "string"        }      ],      "video": {        "url": "string",        "thumbnail_url": "string",        "alt": "string"      },      "record": {        "uri": "string",        "cid": "string"      }    },    "replies": [      {        "id": "string",        "cid": "string",        "url": "string",        "text": "string",        "created_at": 0,        "indexed_at": 0,        "author": {          "platform": "string",          "platform_user_id": "string",          "username": "string",          "display_name": "string",          "avatar_url": "string",          "is_verified": true        },        "like_count": 0,        "repost_count": 0,        "reply_count": 0,        "quote_count": 0,        "embed": {          "kind": "string",          "external": {            "url": "string",            "title": "string",            "description": "string",            "thumb_url": "string"          },          "images": [            {              "url": "string",              "alt": "string"            }          ],          "video": {            "url": "string",            "thumbnail_url": "string",            "alt": "string"          },          "record": {            "uri": "string",            "cid": "string"          }        }      }    ]  },  "billing": {    "credits_charged": 0,    "records_charged": 0,    "balance_remaining": 0,    "truncated_due_to_balance": true  }}