> ## Documentation Index
> Fetch the complete documentation index at: https://creatorinsights.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bluesky Post Details

Fetches a single Bluesky post by URL, returning the post's record text, author info, embed content, replyCount, repostCount, likeCount, and quoteCount. Also includes a replies array with threaded reply posts. Scraper responses preserve their public source field names by default (trim omitted or true) while removing only noisy, heavy, or unsafe fields. Set trim=false for the full sanitized source response.

Intelligence uses plan credits; niche searches start at 2, other ordinary fetches at 1, and applicable options can cost more.

> [!NOTE]
>
> Examples use illustrative values. The playground sends a real request. Intelligence can consume plan credits. Publishing examples save drafts.

## Endpoint

**GET** `https://api.creatorinsights.in/v1/bluesky/post-details`

**Content type:** Query parameters; no JSON request body.

**Authentication:** `x-api-key: YOUR_SAVED_API_KEY`

**MCP tool:** `fetch_bluesky_post_details`. See [MCP Setup](https://creatorinsights.mintlify.site/mcp-setup.md) for AI clients.

## Request parameters

**x-workspace-id** `string`

Active workspace ID or current name in your organization. Optional header alternative to passing workspace in the query.

**url** `string` *required*

Bluesky post URL

**workspace** `string`

Workspace ID or current name in the authenticated organization. Required for paid requests when the organization has more than one active workspace. The selected workspace receives this request charge.

**trim** `boolean` (default: true)

Defaults to true: preserve public source field names, metrics, and public media URLs while removing only noisy, heavy, or unsafe fields. Set false for the full sanitized source response; credentials, transport headers/context, internal credit data, and upstream-provider identity are always removed.

## Request example

Send these arguments as URL query parameters.

```json theme={null}
{
  "url": "https://bsky.app/profile/example.bsky.social/post/REPLACE_WITH_POST_ID",
  "workspace": "YOUR_WORKSPACE_ID_OR_CURRENT_NAME"
}
```

```bash cURL theme={null}
curl --get 'https://api.creatorinsights.in/v1/bluesky/post-details' \
  -H "x-api-key: $CREATOR_INSIGHTS_API_KEY" \
  --data-urlencode 'url=https://bsky.app/profile/example.bsky.social/post/REPLACE_WITH_POST_ID' \
  --data-urlencode 'workspace=YOUR_WORKSPACE_ID_OR_CURRENT_NAME'
```

```javascript Node.js theme={null}
const parameters = {
  "url": "https://bsky.app/profile/example.bsky.social/post/REPLACE_WITH_POST_ID",
  "workspace": "YOUR_WORKSPACE_ID_OR_CURRENT_NAME"
};
const url = new URL('https://api.creatorinsights.in/v1/bluesky/post-details');
for (const [name, value] of Object.entries(parameters)) url.searchParams.set(name, String(value));
const response = await fetch(url, { headers: { 'x-api-key': process.env.CREATOR_INSIGHTS_API_KEY } });
const raw = await response.text();
let result;
try { result = JSON.parse(raw); } catch { throw new Error('Non-JSON response: ' + response.status); }
if (!response.ok || result.success === false) throw new Error(result.message || result.error || 'Request failed');
console.log(result.data);
```

```python Python theme={null}
import json, os, requests

arguments = json.loads("{\"url\":\"https://bsky.app/profile/example.bsky.social/post/REPLACE_WITH_POST_ID\",\"workspace\":\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\"}")
response = requests.get("https://api.creatorinsights.in/v1/bluesky/post-details",
    headers={"x-api-key": os.environ["CREATOR_INSIGHTS_API_KEY"]},
    params=arguments, timeout=120)
response.raise_for_status()
result = response.json()
print(result["data"])
```

## Response example

HTTP 200. Illustrative values; optional fields can be omitted, null, or empty. Additional platform fields may be returned.

```json Success theme={null}
{
  "success": true,
  "data": {
    "success": true,
    "post": {
      "uri": "example",
      "cid": "example_id",
      "author": {
        "did": "example_id",
        "handle": "examplecreator",
        "display_name": "Example creator content",
        "avatar": "https://media.example.com/sample.jpg",
        "labels": [],
        "created_at": "example",
        "verification": {
          "verifications": [
            {
              "issuer": "example",
              "uri": "example",
              "is_valid": false,
              "created_at": "example"
            }
          ],
          "verified_status": "example",
          "trusted_verifier_status": "example"
        }
      },
      "record": {
        "$type": "example",
        "created_at": "example",
        "embed": {
          "$type": "example",
          "card": {
            "description": "Example creator content",
            "thumb": {
              "$type": "example",
              "ref": {
                "$link": "example"
              },
              "mime_type": "example",
              "size": 1
            },
            "title": "Example creator content",
            "uri": "https://example.com/sample"
          },
          "external": {
            "description": "Example creator content",
            "thumb": {
              "$type": "example",
              "ref": {
                "$link": "example"
              },
              "mime_type": "example",
              "size": 1
            },
            "title": "Example creator content",
            "uri": "https://example.com/sample"
          }
        },
        "facets": [],
        "text": "Example creator content"
      },
      "embed": {
        "$type": "example",
        "external": {
          "uri": "https://example.com/sample",
          "title": "Example creator content",
          "description": "Example creator content",
          "thumb": "https://media.example.com/sample.jpg"
        }
      },
      "reply_count": 120,
      "repost_count": 120,
      "like_count": 120,
      "quote_count": 120,
      "indexed_at": "example",
      "labels": []
    },
    "replies": [
      {
        "$type": "example",
        "post": {
          "uri": "example",
          "cid": "example_id",
          "author": {
            "did": "example_id",
            "handle": "examplecreator",
            "display_name": "Example creator content",
            "avatar": "https://media.example.com/sample.jpg",
            "labels": [
              {
                "src": "example",
                "uri": "example",
                "cid": "example_id",
                "val": "example",
                "cts": "example"
              }
            ],
            "created_at": "example"
          },
          "record": {
            "$type": "example",
            "created_at": "example",
            "langs": [
              "example"
            ],
            "reply": {
              "parent": {
                "cid": "example_id",
                "uri": "example"
              },
              "root": {
                "cid": "example_id",
                "uri": "example"
              }
            },
            "text": "Example creator content"
          },
          "reply_count": 120,
          "repost_count": 120,
          "like_count": 120,
          "quote_count": 120,
          "indexed_at": "example",
          "labels": []
        },
        "replies": [],
        "thread_context": {}
      }
    ]
  },
  "credits_charged": 1
}
```

## Response fields

**success** `boolean` *required*

Whether this operation succeeded. Also check HTTP status and nested platform statuses.

**data** `object` *required*

Operation-specific payload. See the nested field table and response example below.

**credits\_charged** `number`

Creator Insights plan credits for this call; the example is illustrative.

| Field | Type | Description |
| - | - | - |
| `success` | boolean | Example response field. Availability depends on the record and selected options. |
| `data` | object | Public source field names are preserved by default when trim is omitted or true; only noisy, heavy, or unsafe fields are removed. Set trim=false for the full sanitized source response. Fields vary with source availability; unavailable metrics are null. |
| `data.success` | boolean | Example response field. Availability depends on the record and selected options. |
| `data.post` | object | Nested object. Expand the response schema for its fields. |
| `data.post.uri` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.cid` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.author` | object | Nested object. Expand the response schema for its fields. |
| `data.post.author.did` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.author.handle` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.author.display_name` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.author.avatar` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.author.labels` | array | List of returned entries; may be empty. |
| `data.post.author.created_at` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.author.verification` | object | Nested object. Expand the response schema for its fields. |
| `data.post.record` | object | Nested object. Expand the response schema for its fields. |
| `data.post.record.$type` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.record.created_at` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.record.embed` | object | Nested object. Expand the response schema for its fields. |
| `data.post.record.facets` | array | List of returned entries; may be empty. |
| `data.post.record.text` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.embed` | object | Nested object. Expand the response schema for its fields. |
| `data.post.embed.$type` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.embed.external` | object | Nested object. Expand the response schema for its fields. |
| `data.post.reply_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.post.repost_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.post.like_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.post.quote_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.post.indexed_at` | string | Example response field. Availability depends on the record and selected options. |
| `data.post.labels` | array | List of returned entries; may be empty. |
| `data.replies` | array | List of returned entries; may be empty. |
| `data.replies[].$type` | string | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post` | object | Nested object. Expand the response schema for its fields. |
| `data.replies[].post.uri` | string | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post.cid` | string | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post.author` | object | Nested object. Expand the response schema for its fields. |
| `data.replies[].post.record` | object | Nested object. Expand the response schema for its fields. |
| `data.replies[].post.reply_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post.repost_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post.like_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post.quote_count` | integer | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post.indexed_at` | string | Example response field. Availability depends on the record and selected options. |
| `data.replies[].post.labels` | array | List of returned entries; may be empty. |
| `data.replies[].replies` | array | List of returned entries; may be empty. |
| `data.replies[].thread_context` | object | Nested object. Expand the response schema for its fields. |
| `credits_charged` | number | Example response field. Availability depends on the record and selected options. |

The interactive schema includes deeper nested fields. Sample fields are descriptive, not a promise that every record includes them.

## n8n and JSON tool endpoint

**POST** `https://api.creatorinsights.in/api/v1/tools/fetch_bluesky_post_details`. Use Header Auth with `x-api-key` and body content type JSON. This alias returns the n8n envelope below; included operations can report zero credits\_deducted.

```bash theme={null}
curl -X POST 'https://api.creatorinsights.in/api/v1/tools/fetch_bluesky_post_details' \
  -H "x-api-key: $CREATOR_INSIGHTS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{\"url\":\"https://bsky.app/profile/example.bsky.social/post/REPLACE_WITH_POST_ID\",\"workspace\":\"YOUR_WORKSPACE_ID_OR_CURRENT_NAME\"}'
```

```json theme={null}
{
  "status": true,
  "tool": "fetch_bluesky_post_details",
  "credits_deducted": 1,
  "data": {
    "success": true,
    "post": {
      "uri": "example",
      "cid": "example_id",
      "author": {
        "did": "example_id",
        "handle": "examplecreator",
        "display_name": "Example creator content",
        "avatar": "https://media.example.com/sample.jpg",
        "labels": [],
        "created_at": "example",
        "verification": {
          "verifications": [
            {
              "issuer": "example",
              "uri": "example",
              "is_valid": false,
              "created_at": "example"
            }
          ],
          "verified_status": "example",
          "trusted_verifier_status": "example"
        }
      },
      "record": {
        "$type": "example",
        "created_at": "example",
        "embed": {
          "$type": "example",
          "card": {
            "description": "Example creator content",
            "thumb": {
              "$type": "example",
              "ref": {
                "$link": "example"
              },
              "mime_type": "example",
              "size": 1
            },
            "title": "Example creator content",
            "uri": "https://example.com/sample"
          },
          "external": {
            "description": "Example creator content",
            "thumb": {
              "$type": "example",
              "ref": {
                "$link": "example"
              },
              "mime_type": "example",
              "size": 1
            },
            "title": "Example creator content",
            "uri": "https://example.com/sample"
          }
        },
        "facets": [],
        "text": "Example creator content"
      },
      "embed": {
        "$type": "example",
        "external": {
          "uri": "https://example.com/sample",
          "title": "Example creator content",
          "description": "Example creator content",
          "thumb": "https://media.example.com/sample.jpg"
        }
      },
      "reply_count": 120,
      "repost_count": 120,
      "like_count": 120,
      "quote_count": 120,
      "indexed_at": "example",
      "labels": []
    },
    "replies": [
      {
        "$type": "example",
        "post": {
          "uri": "example",
          "cid": "example_id",
          "author": {
            "did": "example_id",
            "handle": "examplecreator",
            "display_name": "Example creator content",
            "avatar": "https://media.example.com/sample.jpg",
            "labels": [
              {
                "src": "example",
                "uri": "example",
                "cid": "example_id",
                "val": "example",
                "cts": "example"
              }
            ],
            "created_at": "example"
          },
          "record": {
            "$type": "example",
            "created_at": "example",
            "langs": [
              "example"
            ],
            "reply": {
              "parent": {
                "cid": "example_id",
                "uri": "example"
              },
              "root": {
                "cid": "example_id",
                "uri": "example"
              }
            },
            "text": "Example creator content"
          },
          "reply_count": 120,
          "repost_count": 120,
          "like_count": 120,
          "quote_count": 120,
          "indexed_at": "example",
          "labels": []
        },
        "replies": [],
        "thread_context": {}
      }
    ]
  }
}
```

## Errors

Handle non-2xx responses before mapping data. Error codes vary with the cause; these are representative examples. A 429 response may be plain text. Never treat a queued post as published or blindly retry a partial publication.

```json theme={null}
{
  "success": false,
  "error": "UNAUTHORIZED",
  "message": "Missing or invalid API key"
}
```

| HTTP status | Meaning |
| - | - |
| 400 | Invalid arguments |
| 401 | Missing or invalid API key |
| 402 | Insufficient Creator Insights plan credits |
| 403 | Subscription or permission required |
| 404 | Resource not found |
| 409 | Conflicting request, idempotency key, or unfinished upload |
| 410 | Managed media expired; upload the file again |
| 413 | Media too large |
| 415 | Unsupported media type |
| 422 | Account selection, connection, or platform payload needs attention |
| 500 | Authentication or server error |
| 503 | Service temporarily unavailable or operation failed; inspect saved status before retrying |
| 429 | Rate limit; inspect response headers and retry later. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.