# Bluesky Scraper (`volanta-ai/bluesky-scraper`) Actor

Search Bluesky posts by keyword, hashtag, author, language and date, or scrape profiles, their posts, full reply threads, followers and following. Likes, reposts, replies, quotes, images and links included. No login, no proxy. Pay per result.

- **URL**: https://apify.com/volanta-ai/bluesky-scraper.md
- **Developed by:** [Richard Hutton](https://apify.com/volanta-ai) (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.80 / 1,000 posts

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?

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 Scraper - search posts, profiles, threads, followers (no login)

Collect public **Bluesky** data without an account or app password: search posts by keyword, phrase or #hashtag, scrape any profile and its posts, download full reply threads, and export followers or following lists. Every post includes likes, reposts, replies, quotes, images, video, links, hashtags, mentions and quoted posts.

### Use cases

- **Brand and keyword monitoring**: schedule a daily "Latest" search for your brand, product or competitors and send new posts to Slack, Google Sheets or your CRM.
- **Social listening and sentiment research** across languages (filter by language and date).
- **Influencer research**: profile stats (followers, following, posts), their recent posts and engagement, and their followers list.
- **Conversation analysis**: the whole reply tree of a viral post.
- **AI datasets** of public posts.

### Input

| Field | Example | Notes |
|---|---|---|
| `searchTerms` | `["#ai", "\"open source\"", "from:bsky.app"]` | Bluesky search syntax works |
| `profiles` | `["bsky.app", "@jay.bsky.team", "https://bsky.app/profile/pfrazee.com"]` | handle, DID or link |
| `profileContent` | `posts_no_replies` | none, posts, posts_no_replies, followers, following |
| `postUrls` | `["https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"]` | post plus all replies |
| `maxItems` | `500` | per search term, profile or thread |
| `sort` | `latest` / `top` | search order |
| `since`, `until` | `2026-10-01`, `7 days` | date window |
| `language` | `en` | search language |

### Output example (post)

```json
{
  "type": "post",
  "searchTerm": "#ai",
  "url": "https://bsky.app/profile/ai-visions.bsky.social/post/3mzkidapdbc24",
  "authorHandle": "ai-visions.bsky.social",
  "authorName": "AI Visions",
  "text": "I just had to laugh... #aiart #midjourney #ai",
  "createdAt": "2026-11-05T08:49:22.079Z",
  "likeCount": 2, "repostCount": 0, "replyCount": 0, "quoteCount": 0,
  "hashtags": ["aiart", "midjourney", "ai"],
  "images": [{ "url": "https://cdn.bsky.app/img/feed_fullsize/...", "alt": "" }],
  "externalLink": null,
  "quotedPost": null,
  "isReply": false
}
```

Profile records (`"type": "profile"`) include handle, DID, display name, bio, avatar, banner, followers, following and post counts, creation date and labels.

### Pricing (pay per event)

- **$0.80 per 1,000 posts** (`post` event)
- **$0.80 per 1,000 profiles** (`profile` event, including followers/following records)

Platform usage is included. 1,000 search results cost $0.80. Set a maximum cost per run and the scraper stops cleanly when it is reached.

### Notes

- Uses Bluesky's official public AppView API (`api.bsky.app`); no login, cookies or proxies.
- "Latest" searches go back in time page by page, so large result sets work; "Top" search returns up to 100 posts per term (a Bluesky limit for logged-out requests).
- Only public data is collected. You are responsible for using it in line with Bluesky's terms and the data-protection law that applies to you.

### Support

Open an issue on the **Issues** tab; reported bugs are fixed within one business day.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords, "exact phrases" or #hashtags. Bluesky search syntax works too, e.g. from:handle, domain:example.com.

## `profiles` (type: `array`):

Handles (bsky.app, @user.bsky.social), DIDs or profile links. Returns the profile and, if set below, their posts, followers or following.

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

Links to posts (https://bsky.app/profile/handle/post/xyz). Returns the post and its replies.

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

Upper limit of records for each search term, profile list or thread.

## `sort` (type: `string`):

Latest = newest first (pages back in time). Top = most engaged, up to 100 per term.

## `since` (type: `string`):

ISO date like 2026-10-01 or relative like '7 days'.

## `until` (type: `string`):

ISO date like 2026-10-31.

## `language` (type: `string`):

Two-letter language code for search, e.g. en, de, ja.

## `profileContent` (type: `string`):

What to collect for each profile in addition to the profile record.

## Actor input object example

```json
{
  "searchTerms": [
    "#ai"
  ],
  "maxItems": 100,
  "sort": "latest",
  "profileContent": "posts_no_replies"
}
```

# Actor output Schema

## `results` (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 = {
    "searchTerms": [
        "#ai"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("volanta-ai/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 = { "searchTerms": ["#ai"] }

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

```

## MCP server setup

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