# Bluesky Posts Scraper - Author Feed, Likes & Reposts (`eliai/bluesky-posts-scraper`) Actor

Scrape any public Bluesky account: post text, ISO dates, likes, reposts, replies, quotes and a combined engagement total, one row per post. Pages past the API's 100 ceiling, bulk accounts, no login. $0.001 per post.

- **URL**: https://apify.com/eliai/bluesky-posts-scraper.md
- **Developed by:** [Broke to Built](https://apify.com/eliai) (community)
- **Categories:** Social media, News, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 posts scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Bluesky Posts Scraper — Author Feed, Likes & Reposts

Scrape any **public Bluesky account** and get **one row per post**: text, ISO date, likes, reposts,
replies, quotes, a combined engagement total, and a clickable `bsky.app` link.

No login, no app password, no API key. **$0.001 per post** — an account that returns nothing is
recorded and **not charged**.

### Input

```json
{ "handle": "bsky.app", "maxPosts": 100 }
```

Bulk, including replies:

```json
{
  "handles": ["bsky.app", "@pfrazee.com", "https://bsky.app/profile/jay.bsky.team"],
  "maxPosts": 250,
  "filter": "posts_with_replies"
}
```

| Field | Type | Notes |
|---|---|---|
| `handle` | string | A handle, `@handle`, a DID, or a `bsky.app/profile/...` URL. |
| `handles` | string\[] | Up to 10 accounts per run. |
| `maxPosts` | integer | 1–500 per account. **You are charged per post returned.** |
| `filter` | enum | `posts_no_replies`, `posts_with_replies`, `posts_with_media`. |
| `includeReposts` | boolean | See below. Default **false**. |

### Output

```json
{
  "ok": true,
  "authorHandle": "bsky.app",
  "authorFollowers": 34855310,
  "url": "https://bsky.app/profile/bsky.app/post/3mv3zcjaijk22",
  "text": "Welcome to the ONLY event about Apple happening today…",
  "createdAt": "2026-09-09T17:02:28.502Z",
  "likeCount": 1712,
  "repostCount": 163,
  "replyCount": 360,
  "quoteCount": 51,
  "engagementTotal": 2286,
  "languages": ["en"],
  "isReply": false,
  "isRepost": false,
  "hasMedia": true
}
```

### What it gets right

- ⭐ **Reposts are excluded by default.** Bluesky's author feed also returns posts the account
  **reposted, written by other people** — even under `posts_no_replies`. Someone buying "this
  account's posts" does not mean that, and billing per reposted row is worse than useless. Set
  `includeReposts: true` if you want them; every row carries an `isRepost` flag either way.
- **It pages past the API's 100-per-request ceiling**, and asks for a full page each time —
  because filtering reposts shrinks each page's yield, so requesting only the shortfall converges
  too slowly and quietly returns fewer posts than you asked for.
- **There is a clickable link.** The API returns only an `at://` URI; the public `bsky.app` URL is
  built from its record key. Without that you have no link to open.
- **`engagementTotal` equals its own parts** — likes + reposts + replies + quotes, so you can sort
  by reach without a spreadsheet formula.
- **Real error messages.** The AT Protocol reports "Profile not found" in the body; you get that
  instead of `HTTP 400`.
- **It cannot spin.** Paging stops when the cursor stops advancing, and is bounded by a page budget.

### Pricing

**$0.001 per post returned.** No start fee. A missing account, or one with no posts under the
chosen filter, produces an `ok: false` record and **is not charged**.

### Limits

- Public data only — what a logged-out visitor can see. No followers lists, no DMs, no blocked or
  private content.
- **Search is not offered.** `searchPosts` returns 403 without authentication, so this reads
  **author feeds**. Point it at accounts, not keywords.
- 10 accounts per run, up to 500 posts each.
- Engagement counts are a snapshot at read time and keep moving.

### FAQ

**Do I need a Bluesky account or app password?** No.

**Can I search Bluesky by keyword?** Not here — the public search endpoint requires auth.

**Why do I see fewer posts than `maxPosts`?** The account may not have that many under the chosen
filter, or many of its recent entries were reposts, which are excluded by default.

### Changelog

- **0.1 (2026-09-10)** — first release. One row per post, reposts excluded by default, cursor
  paging past 100, engagement totals, bulk accounts.

# Actor input Schema

## `handle` (type: `string`):

A Bluesky handle (bsky.app), an @handle, a DID, or a bsky.app profile URL.

## `handles` (type: `array`):

Several accounts in one run. Up to 10.

## `maxPosts` (type: `integer`):

Pages through the author feed 100 at a time. You are charged per post returned.

## `filter` (type: `string`):

Original posts only, include replies, or only posts carrying media.

## `includeReposts` (type: `boolean`):

Bluesky's author feed also carries posts this account reposted, written by other people. Off by default so you get only posts this account wrote.

## Actor input object example

```json
{
  "handle": "bsky.app",
  "handles": [],
  "maxPosts": 25,
  "filter": "posts_no_replies",
  "includeReposts": false
}
```

# Actor output Schema

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

Every item this run produced, as JSON.

## `resultsCsv` (type: `string`):

The same items as a spreadsheet-ready CSV.

# 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 = {
    "handle": "bsky.app",
    "handles": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("eliai/bluesky-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 = {
    "handle": "bsky.app",
    "handles": [],
}

# Run the Actor and wait for it to finish
run = client.actor("eliai/bluesky-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 '{
  "handle": "bsky.app",
  "handles": []
}' |
apify call eliai/bluesky-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eliai/bluesky-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/LGhteNXtG7YxXQZD5/builds/2bhqyEiLbHYodroXg/openapi.json
