# Bluesky Single Posts Scraper (`socialdataapi/bluesky-single-posts-scraper`) Actor

Bluesky Single Posts Scraper scrapes a Bluesky post by URL: text, author, media, likes, reposts, quotes and the reply thread as one flat row per post, with filters, author stats, sentiment and quotes mode. No Bluesky login needed. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/socialdataapi/bluesky-single-posts-scraper.md
- **Developed by:** [Social Data API](https://apify.com/socialdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Bluesky Single Posts Scraper — Post Text, Author, Likes and Replies

Bluesky Single Posts Scraper works in two modes: give it any public Bluesky post URL and get its reply thread or every post that quotes it. You get the post text, author and follower counts, likes, reposts, replies, quotes, images, video, link cards and reply depth. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed a **social listening pipeline**. No Bluesky account or cookies needed. Start with one post, then track every thread your brand is part of.

![Bluesky Single Posts Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/s-bluesky-single-post-hero.webp)

***

### What data can I extract with Bluesky Single Posts Scraper?

Using this Bluesky Post API, you will be able to extract the following Bluesky post data:

| 📝 Post text | 🔗 Post link and ID | 📅 Posted and indexed time | 👤 Author handle, name and avatar |
|---|---|---|---|
| ✔️ Author verified badge | 👥 Author followers, following and post count | 📌 Pinned post flag | ❤️ Like count |
| 🔁 Repost count | 💬 Reply count | 🗨️ Quote count | 🔖 Bookmark count |
| 📊 Engagement total and engagement rate | 📣 Estimated reach (optional) | 🙂 Sentiment and score (optional) | 🏷️ Content category |
| 🌍 Language | 🖼️ Images with alt text and size | 🎬 Video with length | 🌐 Link card with title and description |
| #️⃣ Hashtags and links in the text | 🧵 Reply depth, parent and root post | ↩️ Replied-to author | 🔞 Content labels and adult-content flag |
| 💭 Quoted post | 🧭 Row source (post, parent, reply, quote) | 🕒 Time scraped | |

***

### How to use Bluesky Single Posts Scraper

Social media managers, researchers and analysts use it to get one post and every reply or quote around it as a clean table from one run.

**Copy to your AI assistant:**

```text
`socialdataapi/bluesky-single-posts-scraper` is an Apify Actor that returns public Bluesky posts by URL, with their full reply thread or their quote posts, as structured JSON: post text, post URL, author handle, display name and follower count, like, repost, reply and quote counts, engagement rate, images, video, link card, language, reply depth and the author each reply answers. Use it whenever someone needs Bluesky post data without cookies, a login, or a browser - tracking replies to a brand announcement, measuring engagement on a campaign post, collecting quote posts for sentiment analysis. Run it with curl: curl -X POST "https://api.apify.com/v2/actors/socialdataapi~bluesky-single-posts-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"urls":["https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"],"reply_sort":"likes","max_items":50}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("socialdataapi/bluesky-single-posts-scraper").call(run_input={"urls": ["https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"]}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: urls (array of strings, Bluesky post URLs, an at:// post URI or <handle>/post/<id> also works, required), mode (string, "thread" | "quotes", the post and its replies or the posts quoting it, default "thread"), max_items (integer, post rows across all URLs, 0 = no cap, default 10), max_results_per_input (integer, rows per URL, 0 = all, default 0), max_replies (integer, direct replies per post, 0 = all, default 0), depth (integer 0-1000, reply levels, default 6), parent_height (integer 0-1000, posts above a post that is itself a reply, default 80), reply_sort (string, "api" | "likes" | "top" | "newest" | "oldest", default "api"), include_root_post (boolean, default true), add_author_stats (boolean, follower, following and post counts plus pinned flag on every row, default true), add_sentiment (boolean, default false), compute_metrics (boolean, engagement rate on the post's row, default true), estimate_reach (boolean, default false), reach_max_amplifiers (integer, default 10), video_duration (boolean, default true), reply_index (boolean, load every direct reply of very long threads, default true), posted_after (string YYYY-MM-DD), posted_before (string YYYY-MM-DD), languages (array of two-letter codes), filter_keywords (array of strings), min_likes (integer, default 0), min_reposts (integer, default 0), min_replies (integer, default 0), output_format (string, "rows" | "thread", one flat row per post or one nested item per URL, default "rows"), max_retries (integer 0-10, default 3), timeout (integer seconds, default 30), concurrency (integer 1-16, default 4), proxyConfiguration (object, optional proxy, default no proxy). Every post row has type "post" and a source: "thread-root" (the post itself), "parent", "reply" or "quote"; a URL that is invalid or not found returns one row with type "error", the error code and a message, which is not billed. Each stored post row is one row_result event. Free Apify plan: up to 20 posts per run and 200 per month. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/actors/socialdataapi~bluesky-single-posts-scraper/builds/default
```

#### Bluesky Single Posts Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this actor and it can read Bluesky on its own: any post by URL with its reply thread or quote posts, author stats and engagement numbers. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/bluesky-single-posts-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Bluesky Single Posts Scraper](https://apify.com/socialdataapi/bluesky-single-posts-scraper) in the Apify Store.
3. Paste the Bluesky post URL (or several, one per line).
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Bluesky Single Posts Scraper to bulk

The post URLs field takes a list: add as many posts as you need in one run. Three posts load side by side, duplicates are skipped, and each post's rows appear in the output as soon as that post is done. Use the max posts per run setting to cap the whole run and the max rows per URL setting to cap each post. Filters (date window, languages, keywords, minimum likes, reposts or replies) cut the output to the posts you want. To watch threads over time, save an Apify task and schedule it. Each stored post row is one billed event; error rows are free.

***

### ✨ Features

Bluesky Single Posts Scraper fetches clean, structured posts from Bluesky. It's ideal for tracking the replies to a brand announcement, measuring engagement on campaign posts, collecting quote posts for sentiment research and archiving full conversation threads.

It extracts, per post:

- **Post text and link** – the full text, the post URL and its permanent ID
- **Engagement** – like, repost, reply, quote and bookmark counts, their total and the engagement rate
- **Author** – handle, display name, avatar, verified badge, follower, following and post counts
- **Thread position** – reply depth, the parent and root post and the author each reply answers
- **Media** – images with alt text and size, video with its length, link cards
- **Language and labels** – post language, hashtags, links and adult-content flags
- **Sentiment** (optional) – positive, negative or neutral with a score from -1 to 1

⚡ No Bluesky account, cookies or browser needed; the actor connects directly and switches to a proxy by itself only when it gets blocked.

***

### Use cases 💡

- **Social media manager** — export every reply to a brand post, sorted by likes.
- **Researcher** — collect all quote posts of a viral post with sentiment scores.
- **PR team** — filter replies by keyword and date to spot complaints early.
- **Analyst** — compare engagement rate and reply depth across campaign posts.
- **AI agent builder** — feed full reply threads into an LLM to summarize the discussion.

Building an AI agent? [Connect Bluesky Single Posts Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

- **Whole threads, not just the first page.** A recorded run returned 500 unique posts from one large Bluesky thread in 18 seconds; very long reply lists are completed past the part Bluesky shows at first.
- **The numbers behind each post.** A recorded ESPN post came back with 169 likes, 23 reposts, 13 replies, 17 quotes, an engagement rate of 0.0725 and the author's 306,022 followers.
- **2 modes, 7 filters, 2 output formats.** Reply thread or quote posts; date window, languages, keywords and minimum likes, reposts and replies; flat rows or one nested thread per URL.

***

### ⬇️ Input

![Bluesky Single Posts Scraper input form with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/s-bluesky-single-post-input.webp)

The actor takes a list of Bluesky post URLs (Post URLs is the only required field); everything else is optional. Both modes share the parameters below:

- **Thread mode** uses every parameter: reply depth, parents, reply sort, replies per post and the filters.
- **Quotes mode** returns one row per post that quotes each URL (no row for the post itself); the row caps, author stats, sentiment and filters apply, the reply, root-post, metrics and reach options are for thread mode.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `urls` | Yes | array | Bluesky post links, one per line. An at:// post URI or `<handle>/post/<id>` works too. | `["https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"]` |
| `mode` | No | string | `thread` = the post and every reply under it; `quotes` = the posts that quote it. Default `thread`. | `"thread"` |
| `max_items` | No | integer | Stop after this many post rows across all URLs together. 0 = no cap. Default 10. | `50` |
| `max_results_per_input` | No | integer | Most rows per URL (the post, its parents and replies all count). 0 = all (default). | `20` |
| `max_replies` | No | integer | Most direct replies to load per post. 0 = every one (default). | `0` |
| `depth` | No | integer | Reply levels to load, 0-1000 (1 = direct replies only, 0 = the post alone). Default 6. | `6` |
| `parent_height` | No | integer | When the post is itself a reply: how many posts above it to include, 0-1000. Default 80. | `80` |
| `reply_sort` | No | string | Reply order at every level: `api` (Bluesky's order, default), `likes`, `top`, `newest`, `oldest`. | `"likes"` |
| `include_root_post` | No | boolean | Put the post's own row first. Default true. | `true` |
| `add_author_stats` | No | boolean | Add follower, following and post counts plus the pinned flag to every row. Default true. | `true` |
| `add_sentiment` | No | boolean | Add sentiment and a score from -1 to 1 (tuned for English). Default false. | `false` |
| `compute_metrics` | No | boolean | Add the engagement rate to the post's own row. Default true. | `true` |
| `estimate_reach` | No | boolean | Add the estimated reach to the post's own row (author's followers plus those of everyone who reposted or quoted it). Default false. | `false` |
| `reach_max_amplifiers` | No | integer | Most reposters and quoters counted for the reach. Default 10. | `10` |
| `video_duration` | No | boolean | Add the video length to a post with a video. Default true. | `true` |
| `reply_index` | No | boolean | Complete very long reply lists past the part Bluesky shows. Default true. | `true` |
| `posted_after` | No | string | Keep only posts created on or after this day (YYYY-MM-DD). | `"2025-07-01"` |
| `posted_before` | No | string | Keep only posts created on or before this day (YYYY-MM-DD). | `"2025-12-31"` |
| `languages` | No | array | Keep only posts in these languages (two-letter codes). | `["en"]` |
| `filter_keywords` | No | array | Keep a post only when its text, hashtags or link title contain one of these words. | `["contract"]` |
| `min_likes` | No | integer | Keep only posts with at least this many likes. Default 0. | `1` |
| `min_reposts` | No | integer | Keep only posts with at least this many reposts. Default 0. | `0` |
| `min_replies` | No | integer | Keep only posts with at least this many replies. Default 0. | `0` |
| `output_format` | No | string | `rows` = one flat row per post (default); `thread` = one nested item per URL with the reply tree. | `"rows"` |
| `max_retries` | No | integer | How often a failed request is retried, 0-10. Default 3. | `3` |
| `timeout` | No | integer | Seconds to wait for one answer. Default 30. | `30` |
| `concurrency` | No | integer | Requests sent side by side within one post, 1-16. Default 4. | `4` |
| `proxyConfiguration` | No | object | Optional proxy. Default: no proxy; the actor switches to one by itself when blocked. | `{"useApifyProxy": false}` |

Accepted post formats:

- `https://bsky.app/profile/<handle>/post/<id>` (a DID in place of the handle works too)
- `at://did:plc:<id>/app.bsky.feed.post/<id>`
- `<handle>/post/<id>`

#### Free plan limits

Users on the Apify free plan can fetch up to 20 posts per run (all post URLs together) and 200 posts per month. When the limit is reached the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input: thread mode

```json
{
    "urls": ["https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"],
    "mode": "thread",
    "max_items": 50,
    "max_results_per_input": 20,
    "max_replies": 0,
    "depth": 6,
    "parent_height": 80,
    "reply_sort": "likes",
    "include_root_post": true,
    "add_author_stats": true,
    "add_sentiment": true,
    "compute_metrics": true,
    "estimate_reach": false,
    "reach_max_amplifiers": 500,
    "video_duration": true,
    "reply_index": true,
    "posted_after": "2025-07-01",
    "posted_before": "2025-12-31",
    "languages": ["en"],
    "filter_keywords": [],
    "min_likes": 0,
    "min_reposts": 0,
    "min_replies": 0,
    "output_format": "rows",
    "max_retries": 3,
    "timeout": 30,
    "concurrency": 4,
    "proxyConfiguration": {"useApifyProxy": false}
}
```

#### Example input: quotes mode

```json
{
    "urls": ["https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"],
    "mode": "quotes",
    "max_items": 0,
    "add_author_stats": true,
    "output_format": "rows"
}
```

***

### ⬆️ Output

![Bluesky Single Posts Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/s-bluesky-single-post-output.webp)

Every post is one typed, normalized JSON row with the same schema on every run: the post itself, its parents, its replies or its quote posts, each marked by its source. A post URL that is invalid or not found returns one error row (not billed); export the results as JSON (default), CSV or Excel.

#### Example output

A thread-mode post row, a quotes-mode quote row and an error row:

```json
[
    {
        "type": "post",
        "source": "thread-root",
        "sourceInput": "https://bsky.app/profile/espn.com/post/3lsvv3zz5c224",
        "url": "https://bsky.app/profile/espn.com/post/3lsvv3zz5c224",
        "uri": "at://did:plc:x7d6j54pm22ufehkes6jo4jf/app.bsky.feed.post/3lsvv3zz5c224",
        "id": "3lsvv3zz5c224",
        "text": "Breaking: Shai Gilgeous-Alexander has agreed to a four-year, $285M super maximum contract extension with the Thunder through 2030-31, sources tell Shams Charania.\n\nIt's the richest annual salary for a player in league history.",
        "createdAt": "2025-07-01T14:14:42.461Z",
        "handle": "espn.com",
        "displayName": "ESPN",
        "authorProfileUrl": "https://bsky.app/profile/espn.com",
        "authorVerified": true,
        "authorFollowersCount": 306022,
        "authorFollowsCount": 32,
        "authorPostsCount": 872,
        "isPinned": false,
        "likeCount": 169,
        "replyCount": 13,
        "repostCount": 23,
        "quoteCount": 17,
        "bookmarkCount": 0,
        "engagement": 222,
        "language": "en",
        "isReply": false,
        "isQuote": false,
        "mediaType": "image",
        "images": [
            {
                "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:x7d6j54pm22ufehkes6jo4jf/bafkreid4gakgczxorivf432xpxjthul7ppjzwwvtaxnxcyrctz77ydusuq",
                "thumbnail": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:x7d6j54pm22ufehkes6jo4jf/bafkreid4gakgczxorivf432xpxjthul7ppjzwwvtaxnxcyrctz77ydusuq",
                "alt": null,
                "width": 1599,
                "height": 2000
            }
        ],
        "hashtags": [],
        "nsfw": false,
        "threadDepth": 0,
        "contentCategory": "other",
        "engagementRate": 0.0725,
        "scrapedAt": "2026-11-10T14:18:03Z"
    },
    {
        "type": "post",
        "source": "quote",
        "sourceInput": "https://bsky.app/profile/espn.com/post/3lsvv3zz5c224",
        "url": "https://bsky.app/profile/risingaction.bsky.social/post/3lsvvmniatc2b",
        "uri": "at://did:plc:ierjgqvlxnhsh6xgfvxqmyxl/app.bsky.feed.post/3lsvvmniatc2b",
        "id": "3lsvvmniatc2b",
        "text": "Why would a tall Canadian kid do anything but try to be a basketball player?\n\nConor McDavis makes peanuts.",
        "createdAt": "2025-07-01T14:23:59.753Z",
        "handle": "risingaction.bsky.social",
        "authorProfileUrl": "https://bsky.app/profile/risingaction.bsky.social",
        "authorVerified": true,
        "authorFollowersCount": 9305,
        "likeCount": 23,
        "replyCount": 6,
        "repostCount": 0,
        "quoteCount": 0,
        "engagement": 29,
        "language": "en",
        "isReply": false,
        "isQuote": true,
        "mediaType": "text",
        "quotedPostUrl": "https://bsky.app/profile/espn.com/post/3lsvv3zz5c224",
        "threadDepth": null,
        "scrapedAt": "2026-11-10T14:22:02Z"
    },
    {
        "type": "error",
        "sourceInput": "https://bsky.app/profile/espn.com/post/3zzzzzzzzzzzz",
        "error": "not_found",
        "errorMessage": "Post not found: at://did:plc:x7d6j54pm22ufehkes6jo4jf/app.bsky.feed.post/3zzzzzzzzzzzz",
        "scrapedAt": "2026-11-10T14:18:26Z"
    }
]
```

The Output tab shows the same rows in views: Overview, Author, Stats, Media, Thread, Details, Errors and Nested thread.

***

### How does it work?

The actor reads only public Bluesky data: what any visitor sees without logging in. You give it post links; it loads each post, then its parents, replies or quote posts, and turns every one into a flat row with the same fields every time. When Bluesky shows only part of a very long reply list, the actor looks up the rest so the thread is complete. It connects directly, retries requests that fail, and switches to a proxy by itself only when it is blocked, so you never manage proxies. No browser is used, so runs start quickly and stay light. Rows appear in the output while the run is still going, and the field names stay stable even when Bluesky changes its app.

***

### How do you integrate Bluesky Single Posts Scraper into your stack?

It works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Bluesky Single Posts Scraper with the Apify API

```python
import requests

items = requests.post(
    "https://api.apify.com/v2/actors/socialdataapi~bluesky-single-posts-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"urls": ["https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"], "reply_sort": "likes", "max_items": 20},
).json()
for item in items:
    print(item.get("handle"), item.get("likeCount"), item.get("text"))
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Register the actor once and your AI assistant can pull Bluesky posts, reply threads and quote posts whenever a conversation needs them.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/bluesky-single-posts-scraper"
```

This registers Bluesky Single Posts Scraper as a tool your agent can call directly. It works in Claude Code, Cursor and Windsurf.

#### No-code tools (n8n, Make, LangChain)

**n8n:** add the Apify node and pick "Run an Actor" with `socialdataapi/bluesky-single-posts-scraper`, or use the HTTP Request node pointed at the run-sync endpoint with your token.

**Make:** use the Apify app's "Run an Actor" module, then "Get Dataset Items" to pass the rows to the next step.

**LangChain:** install `langchain-apify` and wrap the actor as a tool with `ApifyActorsTool("socialdataapi/bluesky-single-posts-scraper")`.

***

### Is it legal to scrape Bluesky data?

Scraping publicly available Bluesky posts is generally legal. Bluesky Single Posts Scraper returns only public data: what any visitor sees without logging in. Under GDPR, collecting public data is generally permissible, but storing and using it must comply with local data-protection law, especially when posts contain personal data. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Bluesky Single Posts Scraper return?

Each row carries the post text, the author's handle and follower count, the like, repost, reply and quote counts, the reply depth and the media of the post. See [the data fields section](#what-data-can-i-extract-with-bluesky-single-posts-scraper) for the full list.

#### Does Bluesky Single Posts Scraper require a Bluesky account or login?

No. Only public post data is extracted. No credentials or cookies are needed.

#### How fast does Bluesky Single Posts Scraper run?

A recorded local run returned a post and its 4 most-liked replies in 1.7 seconds of scraping, and 500 posts of one large thread in 18 seconds. Data is live, not cached.

#### What happens if a post is private or doesn't exist?

The run goes on and that URL returns one error row with type "error", an error code such as `not_found` or `invalid_input`, and a message. Error rows are not billed; filter them out by their type in your code.

#### Can I scrape multiple Bluesky posts at once?

Yes. Put as many post URLs as you need in the post URLs list; three load side by side and each post's rows are saved as soon as it is done.

#### Does Bluesky Single Posts Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Bluesky Single Posts Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/bluesky-single-posts-scraper"
```

Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Bluesky Single Posts Scraper return data in a format LLMs can use directly?

Yes. Rows are typed, normalized JSON with consistent field names. No HTML parsing, no selectors. Pass them straight to an LLM, index them into a vector store, or feed them to an agent tool — no transformation step.

#### What happens when Bluesky changes its layout or updates its anti-bot system?

This actor is maintained and updated. When Bluesky changes, the actor is updated, and your calls keep returning the same JSON schema with no changes on your end.

#### Can I use Bluesky Single Posts Scraper without managing proxies or browser infrastructure?

Yes. Retries and the switch to a proxy when blocked run on the actor's side, and no browser is needed. You send one request and get structured JSON back. No proxy accounts, no headless browser setup, no maintenance.

#### Which Bluesky post fields work best for AI training data and RAG indexing?

For RAG: the post text, the link card title and description, the hashtags and the image alt text. For training data: the like, repost, reply and quote counts, the engagement rate, the reply depth, the author's follower count and the verified and adult-content flags. All fields are typed — strings, integers, booleans — with no normalization needed.

***

### Your feedback

Found a bug or missing a field? Let us know in the actor's Issues tab. Every report is read, and fixes ship in new builds.

# Actor input Schema

## `urls` (type: `array`):

Bluesky post links, one per line: https://bsky.app/profile/<handle>/post/<id>. An at:// post URI or <handle>/post/<id> works too. Each post is scraped with its replies (or its quote posts in quotes mode).

## `mode` (type: `string`):

thread = the post and every reply under it. quotes = the posts that quote it.

## `max_items` (type: `integer`):

Stop after this many post rows across all URLs together. 0 = no cap. Free plan: up to 20 posts per run (all URLs together) and 200 per month; paid plans have no limit.

## `max_results_per_input` (type: `integer`):

Most rows to keep for each URL (the post itself, its parents and replies all count). 0 = all.

## `max_replies` (type: `integer`):

Most direct (first-level) replies to load per post. 0 = every one there is.

## `depth` (type: `integer`):

How many reply levels to load under the post (1 = direct replies only, 0 = the post alone). Max 1000.

## `parent_height` (type: `integer`):

When the post is itself a reply: how many posts above it to include (source = parent). 0 = none.

## `reply_sort` (type: `string`):

Order of replies at every level. api = Bluesky's own order (the author's replies first), likes / top = most liked first, newest, oldest.

## `include_root_post` (type: `boolean`):

Thread mode: put the post's own row (source = thread-root) first. Off = only its parents and replies.

## `add_author_stats` (type: `boolean`):

Add authorFollowersCount, authorFollowsCount, authorPostsCount and isPinned to every row.

## `add_sentiment` (type: `boolean`):

Add sentiment (positive / negative / neutral) and sentimentScore (-1 to 1) from the post text and emoji (tuned for English).

## `compute_metrics` (type: `boolean`):

Add engagementRate (likes, reposts, replies and quotes per author follower) to the post's own row.

## `estimate_reach` (type: `boolean`):

Add estimatedReach to the post's own row: the author's followers plus the followers of everyone who reposted or quoted it. Adds a few seconds per post.

## `reach_max_amplifiers` (type: `integer`):

Most reposters and quoters counted for estimatedReach.

## `video_duration` (type: `boolean`):

Add durationSeconds to the row of a post with a video.

## `reply_index` (type: `boolean`):

Bluesky shows only part of a very long reply list. On = look up the missing direct replies too, so you get every reply. Off = only the replies Bluesky shows.

## `posted_after` (type: `string`):

Keep only posts created on or after this day (YYYY-MM-DD).

## `posted_before` (type: `string`):

Keep only posts created on or before this day (YYYY-MM-DD, that day included).

## `languages` (type: `array`):

Keep only posts in these languages (two-letter codes such as en, de, ja). Empty = all.

## `filter_keywords` (type: `array`):

Keep a post only when its text, hashtags or link title contain one of these words (case-insensitive). Empty = all.

## `min_likes` (type: `integer`):

Keep only posts with at least this many likes.

## `min_reposts` (type: `integer`):

Keep only posts with at least this many reposts.

## `min_replies` (type: `integer`):

Keep only posts with at least this many replies.

## `output_format` (type: `string`):

rows = one flat row per post (best for tables and exports). thread = one nested item per URL with the post, its reply tree, computed metrics and run stats.

## `max_retries` (type: `integer`):

How often a failed request is retried.

## `timeout` (type: `integer`):

Seconds to wait for one answer.

## `concurrency` (type: `integer`):

Requests sent side by side within one post (profiles, extra replies).

## `proxyConfiguration` (type: `object`):

Optional. By default the run connects directly and switches to a proxy by itself only when it is blocked.

## Actor input object example

```json
{
  "urls": [
    "https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"
  ],
  "mode": "thread",
  "max_items": 10,
  "max_results_per_input": 0,
  "max_replies": 0,
  "depth": 6,
  "parent_height": 80,
  "reply_sort": "api",
  "include_root_post": true,
  "add_author_stats": true,
  "add_sentiment": false,
  "compute_metrics": true,
  "estimate_reach": false,
  "reach_max_amplifiers": 10,
  "video_duration": true,
  "reply_index": true,
  "min_likes": 0,
  "min_reposts": 0,
  "min_replies": 0,
  "output_format": "rows",
  "max_retries": 3,
  "timeout": 30,
  "concurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `author` (type: `string`):

No description

## `stats` (type: `string`):

No description

## `media` (type: `string`):

No description

## `thread` (type: `string`):

No description

## `details` (type: `string`):

No description

## `errors` (type: `string`):

No description

## `nested` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialdataapi/bluesky-single-posts-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": ["https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("socialdataapi/bluesky-single-posts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://bsky.app/profile/espn.com/post/3lsvv3zz5c224"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call socialdataapi/bluesky-single-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,socialdataapi/bluesky-single-posts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oNl1G5zDqjMTVcfkB/builds/asEIzR9JEmhLk32Hk/openapi.json
