# Bluesky Scraper — Posts, Profiles & Followers | No Auth (`bovi/bluesky-scraper`) Actor

Scrape Bluesky profiles, posts and author feeds via the fully open AT Protocol public API. No auth required. Extract posts with likes, reposts, replies, author info and timestamps. Pay per result.

- **URL**: https://apify.com/bovi/bluesky-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Social media, Marketing, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $12.13 / 1,000 bluesky items

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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 Scraper — Posts, Profiles & Followers | $1.50/1K | No Auth Required

Built for researchers tracking Bluesky growth, brand monitors following handles as Twitter refugees, and AI pipelines that need social graph data.

**First comprehensive Bluesky scraper on Apify with official AT Protocol API support.**

**Pricing: $1.50 per 1,000 records** (posts, profiles, and graph records combined).

Scrape Bluesky profiles, posts, followers and following lists via the **fully open AT Protocol public API** (`public.api.bsky.app`). No API key, no authentication, no browser required.

### Pricing example

**$1.50 per 1,000 records** (posts, profiles, followers combined). 100 posts = $0.15. 1,000 posts = $1.50. 10,000 posts = $15. No per-run fee. No proxy cost.

### Sample output

```json
{
  "record_type": "post",
  "handle": "bsky.app",
  "display_name": "Bluesky",
  "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3kd9xyz123",
  "text": "We just crossed 10 million users. Thank you!",
  "like_count": 4821,
  "repost_count": 1203,
  "reply_count": 341,
  "quote_count": 89,
  "has_media": false,
  "is_reply": false,
  "created_at": "2026-05-15T18:22:31Z",
  "parse_confidence": 1.0,
  "warnings": [],
  "scraped_at": "2026-06-05T09:00:00Z"
}
```

### Features

- **Profile scraping** — handle, DID, display name, bio, followers/following/posts count
- **Author feed (posts)** — full post text, likes, reposts, replies, quotes, timestamps, language detection, is-reply flag, has-media flag, cursor pagination
- **Followers list** — paginated list of accounts following a handle
- **Following list** — paginated list of accounts a handle follows
- Multi-handle batch: pass a list and process all in one run
- `parse_confidence` + `warnings` in every record — drift detection built in
- Pay Per Result (PPE) — you only pay for actual records returned

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `handles` | list | Yes | Bluesky handles to scrape (e.g. `bsky.app`) |
| `mode` | string | No | `profile_posts` (default), `followers`, `following` |
| `maxPostsPerHandle` | int | No | Max posts per handle. Default 100, 0=unlimited |
| `maxFollowsPerHandle` | int | No | Max followers/following per handle. Default 100 |
| `includeProfile` | bool | No | Also output a profile record in profile\_posts mode. Default true |

### Output schema

Each record has `record_type` = `post`, `profile`, `follower`, or `following`.

| Field | Type | Notes |
|---|---|---|
| `record_type` | str | Discriminator |
| `handle` | str | Bluesky handle |
| `did` | str | Decentralized ID |
| `display_name` | str|null | Display name |
| `uri` | str|null | `at://` URI (posts only) |
| `text` | str|null | Post body (posts only) |
| `like_count` | int|null | Likes |
| `repost_count` | int|null | Reposts |
| `reply_count` | int|null | Replies |
| `quote_count` | int|null | Quotes |
| `has_media` | bool|null | Post has embedded media |
| `is_reply` | bool|null | Post is a reply |
| `created_at` | ISO str | Post creation time |
| `followers_count` | int|null | Profile followers (profile records) |
| `follows_count` | int|null | Profile following (profile records) |
| `posts_count` | int|null | Profile post count (profile records) |
| `description` | str|null | Bio (profile records) |
| `scraped_at` | ISO str | Run timestamp |
| `parse_confidence` | float | 0.0–1.0 parse quality score |
| `warnings` | list | Machine-readable quality flags |

### Why this Bluesky scraper beats the alternatives

| | This scraper | generic browser-based actors |
|---|:---:|:---:|
| Price | **$1.50/1K** | $2-4/1K typical |
| Official AT Protocol API (no browser) | ✓ | ✗ |
| Followers + following graph | ✓ | ✗ |
| `parse_confidence` on every record | ✓ | ✗ |
| No auth required | ✓ | partial |
| Multi-handle batch | ✓ | ✗ |

The AT Protocol is **fully public** — Bluesky exposes complete profile and post data without any API key. Other scraper actors use headless browsers or unofficial endpoints that break on updates. This actor hits the official XRPC API directly: structured JSON, cursor pagination, zero access friction.

### Frequently asked questions

**Do I need a Bluesky account or API key?**
No. The AT Protocol public API (`public.api.bsky.app`) requires no authentication. Any public profile and its posts are accessible without credentials.

**Do I need a proxy?**
No. The AT Protocol is a genuinely open public API — no access restrictions, no datacenter blocking. Zero proxy cost to you.

**What formats does output come in?**
JSON (default), CSV, and Excel — all via the Apify dataset download or REST API. Native integration with n8n, Make, Zapier.

**What if a handle returns empty or 0 posts?**
The actor logs a warning (`handle not found`) and continues to the next handle. It never crashes on a missing handle — you get results for the handles that did work.

**Can I schedule this for daily monitoring?**
Yes — set `maxPostsPerHandle` to a low value (e.g. 20) and run on an Apify schedule. Only new posts since the last run appear in the fresh dataset.

### Technical notes

- Base: `https://public.api.bsky.app/xrpc/`
- Pagination: cursor-based, up to 100 items/page
- Rate limits: handled with exponential backoff
- Stack: Python 3.13 + Apify SDK

### Monitoring use case

Run on a schedule to track follower growth or new posts for a list of handles. Set `mode=profile_posts` and a low `maxPostsPerHandle` for lightweight daily checks. A `parse_confidence` drop below 0.8 means a required field was missing — easy to detect schema drift in downstream pipelines.

### Use with AI Agents (MCP)

This Bluesky scraper is callable as a **tool by AI agents** (Claude Desktop, Cursor, VS Code, n8n, LangGraph, CrewAI, or any MCP-compatible client) via Apify's hosted Model Context Protocol server.

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.apify.com/?tools=bovi/bluesky-scraper",
        "--header",
        "Authorization: Bearer <YOUR_APIFY_TOKEN>"
      ]
    }
  }
}
```

Keep `maxPostsPerHandle` low (e.g. 25) when calling from agents to limit token volume.

### Integrations

Built for social researchers and brand monitors tracking Bluesky profiles, post engagement, and follower graphs — the JSON/dataset output drops into the tools you already run, no glue code:

- **n8n / Make / Zapier** — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: [n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier).
- **Webhooks** — fire your own endpoint the moment a run finishes, to push results straight into your pipeline ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **MCP server** — expose this actor as a tool to Claude, Cursor, or any [MCP client](https://mcp.apify.com) so an AI agent can pull this data mid-conversation ([guide](https://blog.apify.com/how-to-use-mcp/)).
- **API & SDKs** — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all [Apify integrations](https://apify.com/integrations).

# Actor input Schema

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

What to scrape: 'profile\_posts' scrapes a handle's profile + recent posts; 'followers' scrapes a handle's followers list; 'following' scrapes accounts a handle follows.

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

Bluesky handles to scrape. Use the part after '@' — e.g. 'bsky.app' or 'user.bsky.social'. Multiple handles are processed in one run. Required.

## `maxPostsPerHandle` (type: `integer`):

Maximum number of posts to fetch per handle (profile\_posts mode). Default 100. 0 = no limit.

## `maxFollowsPerHandle` (type: `integer`):

Maximum number of followers/following accounts to fetch per handle. Default 100. 0 = no limit.

## `includeProfile` (type: `boolean`):

When mode=profile\_posts, also output a profile record for each handle (in addition to post records). Default true.

## Actor input object example

```json
{
  "mode": "profile_posts",
  "handles": [
    "bsky.app"
  ],
  "maxPostsPerHandle": 100,
  "maxFollowsPerHandle": 100,
  "includeProfile": true
}
```

# Actor output Schema

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

Dataset containing Bluesky Scraper records (record\_type, handle, display\_name, text, like\_count, repost\_count, followers\_count, created\_at, uri, parse\_confidence).

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

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

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

```

## MCP server setup

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