# Bluesky Scraper - Posts, Profiles, Threads & Search (`tictechid/vanzi-bluesky-scraper`) Actor

Scrape Bluesky posts, profiles, threads, followers, and search via the public AT Protocol. No login required. Export clean JSON for research, brand monitoring, and content workflows.

- **URL**: https://apify.com/tictechid/vanzi-bluesky-scraper.md
- **Developed by:** [TicTech](https://apify.com/tictechid) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

### What does Bluesky Scraper do?

**Bluesky Scraper** pulls public posts, profiles, threads, followers, following lists, and search results from [Bluesky](https://bsky.app) into clean, typed JSON. Use it when you need a dependable **Bluesky API alternative** for research, brand monitoring, content export, or RAG pipelines — without building pagination and normalization yourself.

### Why scrape Bluesky?

Bluesky conversations move fast. Teams use this Actor to:

- Monitor brands, creators, and competitors
- Export threads for research, moderation, or support
- Build social listening and content archives
- Feed clean post/profile rows into analytics or RAG

Seven modes in one Actor, runnable from Apify Console, on a schedule, or via API / Make / n8n / Zapier.

| Mode | What you get |
| --- | --- |
| `profile` | Profile metadata for one or more handles |
| `author_feed` | Posts from an author feed (optional reposts) |
| `thread` | Full thread export with reply depth |
| `search_posts` | Keyword / phrase post search |
| `search_users` | User search |
| `followers` | Follower list for a handle |
| `following` | Following list for a handle |

### What data can this Bluesky scraper extract?

| Record type | Key fields |
| --- | --- |
| `profile` | did, handle, displayName, description, followersCount, followsCount, postsCount, avatar |
| `post` | uri, cid, authorHandle, text, createdAt, like/repost/reply/quote counts, embed summary, url |
| `thread_reply` | All post fields + rootUri, parentUri, depth |
| `user` | did, handle, displayName, avatar, description |

Embeds are summarized as URLs and text (images / external links / quoted records) — binaries are not downloaded.

### How to scrape Bluesky posts and threads

1. Open this Actor in Apify Console and click **Try for free** / **Start**.
2. Choose a **mode** (start with `author_feed` or `thread`).
3. Add handles, post URLs, or a search query as required by the mode.
4. Set **maxItems** (default 50; use small values while testing).
5. Run the Actor and download results as JSON, CSV, or Excel from the Dataset tab.

Cold-run defaults (`author_feed` + `jay.bsky.team`) succeed with zero edits.

### How much does it cost to scrape Bluesky?

Pricing uses Apify **pay-per-event (PPE)**:

- Start event when the run begins
- Result event once per dataset item successfully pushed

Target list price is about **$2 per 1,000 results** (plus a tiny start fee). Free Apify tier still works for light testing — keep `maxItems` small. Example: ~1,000 posts ≈ a couple of dollars at the result rate, plus one start.

### Input

Configure fields in the **Input** tab:

- **mode** — one of the seven modes above
- **handles** — Bluesky handles with or without `@` (profile / author\_feed / followers / following)
- **postUrls** — `https://bsky.app/profile/.../post/...` URLs (thread)
- **searchQuery** — required for search\_posts / search\_users
- **maxItems** — cap per run (default `50`; `0` → safe ceiling `5000`). For free-tier testing, keep this at **100 or less**.
- **threadDepth** — max reply depth for thread mode (default 6)
- **includeReposts** — author\_feed only (default true)

### Output

Each dataset row includes a `type` field. Example **post**:

```json
{
  "type": "post",
  "authorHandle": "jay.bsky.team",
  "text": "Hello Bluesky",
  "likeCount": 12,
  "url": "https://bsky.app/profile/jay.bsky.team/post/…"
}
```

Example **thread\_reply**:

```json
{
  "type": "thread_reply",
  "depth": 1,
  "authorHandle": "alice.bsky.social",
  "text": "Replying here"
}
```

Download the dataset as JSON / CSV / Excel from the run page.

### Usage Limits

- **Free tier:** Limited Apify free-plan runs. Keep `maxItems` ≤ **100** while testing so you can validate outputs without burning quota.
- **Paid plans:** Unlimited runs per Apify limits. Raise `maxItems` as needed (hard ceiling **5000** when set to `0`).

> Multiple runs require an Apify paid plan. See [Apify Pricing](https://apify.com/pricing?fpr=maxknj).

### Tips for Bluesky thread export

- Use **thread** mode with a specific post URL when you need nested replies and depth metadata.
- Use **author\_feed** when you want recent posts from a creator (toggle **includeReposts**).
- Raise **threadDepth** carefully — deep trees increase result count and PPE charges.
- Cap **maxItems** for cost control on large follower graphs or broad search queries.

### FAQ

**Can it scrape private or gated posts?** No. Only publicly available Bluesky data.

**Why did search\_posts return few or zero items?** Bluesky sometimes rate-limits or blocks anonymous search from certain networks. This Actor soft-fails: it logs a warning, sets a status message, and finishes successfully with whatever posts it already collected (often zero). Other modes (profile, author feed, threads, users, followers, following) are generally more reliable. Retry later or use `author_feed` / `thread` for content export.

**GDPR / compliance:** You are responsible for how you process personal data. This Actor collects publicly available Bluesky profile and post information. Use it lawfully and respect platform terms.

**Support:** Open an Issue on the Actor page or email **contact@tictech.id**.

***

Bluesky scraper · Bluesky API · thread export · profile scraper · follower export · Bluesky search · social listening · content export · RAG data prep · brand monitoring

For more details, contact the maintainer or email us at contact@tictech.id

# Actor input Schema

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

Which Bluesky scrape mode to run.

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

Bluesky handles (with or without @). Used by profile, author\_feed, followers, following.

## `postUrls` (type: `array`):

bsky.app post URLs or at:// URIs for thread mode.

## `searchQuery` (type: `string`):

Keyword / phrase for search\_posts or search\_users.

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

Cap per run. Use 0 for a safe ceiling of 5000.

## `threadDepth` (type: `integer`):

Max reply depth in thread mode.

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

When mode is author\_feed, include reposts.

## Actor input object example

```json
{
  "mode": "author_feed",
  "handles": [
    "jay.bsky.team"
  ],
  "maxItems": 50,
  "threadDepth": 6,
  "includeReposts": true
}
```

# Actor output Schema

## `dataset` (type: `string`):

Scraped Bluesky records

# 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": [
        "jay.bsky.team"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tictechid/vanzi-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": ["jay.bsky.team"] }

# Run the Actor and wait for it to finish
run = client.actor("tictechid/vanzi-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": [
    "jay.bsky.team"
  ]
}' |
apify call tictechid/vanzi-bluesky-scraper --silent --output-dataset

```

## MCP server setup

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