# Bluesky Author Posts Scraper — public accounts, no login (`pappy-dev/bluesky-posts`) Actor

Collect the public posts of any Bluesky account (AT Protocol) without logging in: text, timestamps, like/repost/reply/quote counts, language, and reposts (with the original author separated from the account that boosted it). No account, no proxies, no personal data beyond the public profile handle.

- **URL**: https://apify.com/pappy-dev/bluesky-posts.md
- **Developed by:** [Backyard Tools](https://apify.com/pappy-dev) (community)
- **Categories:** Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 post 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 Author Posts Scraper — public accounts, no login

Collect the public posts of any **Bluesky account** via the official public AT Protocol endpoint
(`public.api.bsky.app`). No account, no app password, no proxies. Newest first, paginating back
through the account's feed.

### Tested (2026-09-02)

| Handle | Posts returned (3 pages) | Time | Notes |
|---|---:|---:|---|
| `bsky.app` | 298 unique | 3.76s | 105 were reposts (original author preserved) |
| `jay.bsky.team` | 298 unique | 4.11s | 81 were reposts |

Each page holds up to 100 posts; one request per page with a 0.5-second pause between pages.
An account that does not exist returns an error for that target only and the run continues
with the rest (no charge for the failed target).

### Input

```json
{
  "targets": ["bsky.app", "jay.bsky.team"],
  "maxItems": 500
}
```

Each target is the account's handle only — no `@`, no `bsky.app/profile/` prefix. Both
`*.bsky.social` handles and custom-domain handles (e.g. `jay.bsky.team`) work.

### Output

One dataset item per post:

| Field | |
|---|---|
| `post_uri` / `post_cid` | AT Protocol identifiers for the post |
| `author_handle` / `author_display_name` / `author_did` | who actually wrote the post |
| `text` | post text |
| `created_at` / `indexed_at` | ISO 8601 timestamps |
| `lang` | first declared language code, if any |
| `like_count` / `repost_count` / `reply_count` / `quote_count` | engagement counters as of collection time |
| `reply_parent_uri` | set when the post is a reply |
| `reposted_by_handle` | set when this item is a repost — the queried account boosted someone else's post. `author_handle` on that row is the **original** poster, not the account you asked for |

Only public profile fields are collected (handle, display name, DID). No e-mail addresses,
phone numbers, or private account data.

### Use Cases

- **Brand/keyword monitoring** — pull an account's posts and scan `text` for mentions of a brand, product, or topic
- **Engagement benchmarking** — compare `like_count` / `repost_count` / `reply_count` across an account's post history to see what resonates
- **Repost network mapping** — use `reposted_by_handle` against `author_handle` to see whose content an account amplifies
- **Language/audience analysis** — the `lang` field shows which languages an account posts in over time

### Pricing

Pay per event: **$1.00 per 1,000 posts** collected. Nothing else.

# Actor input Schema

## `targets` (type: `array`):

ハンドルのみを指定（例: bsky.app, jay.bsky.team）。先頭の @ や bsky.app/profile/ の URL 部分は付けない。複数指定可

## `maxItems` (type: `integer`):

1 run で取得する最大件数

## Actor input object example

```json
{
  "targets": [
    "bsky.app"
  ],
  "maxItems": 500
}
```

# Actor output Schema

## `items` (type: `string`):

取得した各件（type=item）と、選択した分析の結果（type=analysis）

## `overview` (type: `string`):

件数・平均評点・期間・ネガティブ比率（下側信頼限界つき）

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

// Run the Actor and wait for it to finish
const run = await client.actor("pappy-dev/bluesky-posts").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 = { "targets": ["bsky.app"] }

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

```

## MCP server setup

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

```

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/EKFpijNtSMXVpPQDj/builds/Gww9WIfF4USA2Gt7n/openapi.json
