# Bluesky Scraper — Posts, Profiles & Search (`cryptosignals/bluesky-scraper`) Actor

Scrape Bluesky profiles and posts — extract handle, bio, followers, following, post text, likes, reposts, and timestamps. CSV/JSON output. No API key.

- **URL**: https://apify.com/cryptosignals/bluesky-scraper.md
- **Developed by:** [Web Data Labs](https://apify.com/cryptosignals) (community)
- **Categories:** Social media, AI
- **Features:** Limited permissions
- **Stats:** 80 total users, 12 monthly users, 98.1% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 result 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?

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 — Posts, Profiles, Threads & Followers

The most comprehensive Bluesky scraper on Apify. Extract posts, profiles, threads, followers, following lists, and custom feeds from Bluesky at scale. No login required. Uses the official AT Protocol for fast, reliable data collection.

### Why Use This Scraper?

Bluesky has exploded to over 30 million users and is now a critical platform for tech, politics, journalism, and culture. Unlike X/Twitter, Bluesky is built on the open AT Protocol — but navigating the raw protocol is complex and time-consuming.

This actor gives you a simple, powerful interface to extract any Bluesky data. Search by keyword, scrape specific users, pull entire conversation threads, or tap into custom algorithm feeds — all with clean, structured output ready for analysis.

### Key Features

- **6 scrape modes**: Posts, profiles, both, followers, following, and threads
- **Keyword search**: Find posts across all of Bluesky with sort by latest or top
- **Handle-based scraping**: Target specific users for posts, profiles, or social graphs
- **Thread extraction**: Pull full conversation threads with configurable depth
- **Custom feed support**: Scrape any Bluesky algorithm/custom feed
- **Advanced filters**: Date range, language, author, domain, mentions, hashtags
- **Author enrichment**: Optionally resolve full author profiles with follower/post counts
- **No login required**: Uses public AT Protocol endpoints
- **Scales to 50,000 items**: Handle large-scale data collection
- **Multiple export formats**: JSON, CSV, Excel, XML, HTML

### Use Cases

#### 1. Social Media Monitoring & Brand Tracking

Track mentions of your brand, product, or competitors across Bluesky. Use keyword search with date filters to detect spikes in conversation and sentiment shifts in real time.

#### 2. Influencer Discovery & Analysis

Search for posts about your industry, then use the `resolveAuthors` option to get follower counts and posting frequency. Identify high-engagement accounts for partnerships or outreach.

#### 3. Political & Journalism Research

Bluesky has become a hub for political discourse and journalism. Scrape posts by topic, track specific journalists or politicians, and analyze conversation threads around breaking news.

#### 4. Competitive Intelligence

Monitor what users say about competitor products. Use domain filters to find posts linking to competitor websites. Track sentiment and feature requests mentioned in public posts.

#### 5. Trend Analysis & Content Strategy

Analyze what topics, hashtags, and content formats perform best on Bluesky. Use the `top` sort to find high-engagement posts and study what makes them successful.

#### 6. Academic & Social Science Research

Collect large datasets of public discourse for academic studies. Filter by language, date range, and topic. Export structured data for quantitative analysis in R, Python, or SPSS.

#### 7. Community Mapping

Scrape followers and following lists to map social graphs. Understand community structures, identify key connectors, and analyze how information flows through networks.

#### 8. Content Aggregation & Curation

Pull posts from custom feeds or specific hashtags to power content aggregation tools, newsletters, or dashboards. Schedule recurring runs for automated content pipelines.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `searchQuery` | String | No | — | Keyword to search for in posts. Example: `artificial intelligence`, `crypto` |
| `handles` | Array of strings | No | — | Bluesky handles to scrape (e.g., `jay.bsky.team`). Required for posts/profiles/followers/following modes |
| `scrapeType` | String | No | `posts` | What to scrape: `posts`, `profiles`, `both`, `followers`, `following` |
| `maxItems` | Integer | No | `100` | Maximum results per search/handle/feed (1–50,000) |
| `sort` | String | No | `latest` | Sort order: `latest` (newest first) or `top` (most relevant) |
| `since` | String | No | — | Only posts after this date. Format: `YYYY-MM-DD` |
| `until` | String | No | — | Only posts before this date. Format: `YYYY-MM-DD` |
| `lang` | String | No | — | Filter by language code (e.g., `en`, `ja`, `pt`) |
| `author` | String | No | — | Filter search results to posts by this handle only |
| `domain` | String | No | — | Filter posts containing links to this domain (e.g., `github.com`) |
| `mentions` | String | No | — | Filter posts mentioning this handle |
| `tag` | Array of strings | No | — | Filter by hashtags (without `#`). Example: `["ai", "tech"]` |
| `threadUris` | Array of strings | No | — | AT-URI(s) of posts to scrape full threads |
| `threadDepth` | Integer | No | `6` | Reply depth for thread scraping (1–1,000) |
| `feedUris` | Array of strings | No | — | Custom feed/algorithm URIs to scrape |
| `feedFilter` | String | No | All | Author feed filter: `posts_with_replies`, `posts_no_replies`, `posts_with_media`, `posts_and_author_threads` |
| `resolveAuthors` | Boolean | No | `false` | Fetch full author profiles (adds follower/following/post counts to each post) |
| `proxyConfiguration` | Object | No | — | Proxy used for post search only. Use the Apify proxy `RESIDENTIAL` group or your own `proxyUrls` |

### Post search

Post search (`searchQuery` with `scrapeType` `posts` or `both`) is the one mode Bluesky blocks from datacenter IPs: `api.bsky.app` rejects anonymous `searchPosts` requests with 403 unless they arrive from a residential IP. To use it, supply `proxyConfiguration` with the Apify proxy **RESIDENTIAL** group or your own residential `proxyUrls` — the proxy traffic is billed to your own Apify proxy usage. Only the search calls go through it; every other mode (handles, threads, feeds, followers, profile search) still works without any proxy. Without a proxy, a run that needs search fails with a clear message and nothing is charged for it.

### Sample Output

#### Posts

```json
{
  "authorHandle": "jay.bsky.team",
  "authorDisplayName": "Jay Graber",
  "text": "Excited to announce Bluesky's new custom feeds feature...",
  "createdAt": "2026-03-08T14:22:00.000Z",
  "language": "en",
  "likeCount": 1247,
  "repostCount": 389,
  "replyCount": 156,
  "quoteCount": 87,
  "engagementScore": 1879,
  "hasMedia": true,
  "mediaCount": 2,
  "mediaUrls": ["https://cdn.bsky.app/img/feed/..."],
  "isReply": false,
  "hashtags": ["bluesky", "atprotocol"],
  "postUrl": "https://bsky.app/profile/jay.bsky.team/post/3k...",
  "uri": "at://did:plc:.../app.bsky.feed.post/3k...",
  "authorFollowersCount": 485000,
  "authorPostsCount": 3200
}
```

#### Profiles

```json
{
  "handle": "jay.bsky.team",
  "displayName": "Jay Graber",
  "description": "CEO @bluesky. Building the AT Protocol.",
  "avatar": "https://cdn.bsky.app/img/avatar/...",
  "banner": "https://cdn.bsky.app/img/banner/...",
  "followersCount": 485000,
  "followingCount": 1200,
  "postsCount": 3200,
  "createdAt": "2023-02-15T00:00:00.000Z",
  "did": "did:plc:...",
  "profileUrl": "https://bsky.app/profile/jay.bsky.team"
}
```

#### Followers / Following

```json
{
  "handle": "user.bsky.social",
  "displayName": "Active User",
  "description": "Tech enthusiast and developer",
  "avatar": "https://cdn.bsky.app/img/avatar/...",
  "followersCount": 1200,
  "followingCount": 800,
  "postsCount": 450,
  "did": "did:plc:..."
}
```

### Integration Examples

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

## Search for posts about AI
run_input = {
    "searchQuery": "artificial intelligence",
    "scrapeType": "posts",
    "maxItems": 200,
    "sort": "top",
    "lang": "en",
    "since": "2026-03-01",
}

run = client.actor("cryptosignals/bluesky-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"@{item['authorHandle']}: {item['text'][:80]}... ({item['likeCount']} likes)")
```

```python
## Get followers of a specific account
run_input = {
    "handles": ["jay.bsky.team"],
    "scrapeType": "followers",
    "maxItems": 1000,
}

run = client.actor("cryptosignals/bluesky-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"@{item['handle']} — {item.get('followersCount', 0)} followers")
```

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

// Search Bluesky posts
const input = {
    searchQuery: "startup funding",
    scrapeType: "posts",
    maxItems: 100,
    sort: "latest",
};

const run = await client.actor("cryptosignals/bluesky-scraper").call(input);

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => {
    console.log(`@${item.authorHandle}: ${item.text.substring(0, 80)}...`);
    console.log(`  Likes: ${item.likeCount} | Reposts: ${item.repostCount}`);
});
```

```javascript
// Scrape a conversation thread
const threadInput = {
    threadUris: ["at://did:plc:abc123/app.bsky.feed.post/xyz789"],
    threadDepth: 10,
};

const threadRun = await client.actor("cryptosignals/bluesky-scraper").call(threadInput);
const { items: threadItems } = await client.dataset(threadRun.defaultDatasetId).listItems();
console.log(`Thread has ${threadItems.length} posts`);
```

#### Using the Apify API Directly

```bash
curl -X POST "https://api.apify.com/v2/acts/cryptosignals~bluesky-scraper/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "searchQuery": "AI agents",
    "scrapeType": "posts",
    "maxItems": 50,
    "sort": "top",
    "lang": "en"
  }'
```

### Pricing & Costs

See the **Pricing** tab on this actor's Apify Store page for the current price — it is the only source of truth. Runs consume your Apify account's compute units (CUs).

This actor uses the public AT Protocol API. Only post search requires a residential proxy (see **Post search** above), and that traffic is billed to your own proxy usage — all other modes need none, keeping costs low.

### Tips for Best Results

1. **Combine search with filters**: Use `searchQuery` with `lang`, `since`, and `sort` for precise results.
2. **Enable author enrichment selectively**: `resolveAuthors: true` adds follower counts but increases API calls. Use it when you need engagement-to-audience ratios.
3. **Use handles for targeted scraping**: When you know which accounts to monitor, use `handles` instead of search for more complete data.
4. **Thread scraping**: Get the AT-URI from a post's URL (available in post output as `uri` field), then use `threadUris` to pull the full conversation.
5. **Custom feeds**: Find feed URIs from the Bluesky app (share a feed > copy link) and pass them to `feedUris`.
6. **Schedule for monitoring**: Set up hourly or daily scrapes with Apify scheduling for continuous brand monitoring or trend tracking.

### Frequently Asked Questions

#### Do I need a Bluesky account to use this scraper?

No. This scraper uses the public AT Protocol API, which doesn't require authentication. All publicly available data can be scraped without a login.

#### Can I scrape private/blocked accounts?

No. The scraper only accesses publicly available data through the AT Protocol. Private accounts or blocked content is not accessible.

#### What's the maximum number of items I can scrape?

Up to 50,000 items per run. For larger datasets, split across multiple runs with date filters or different search queries.

#### How do I find a user's Bluesky handle?

Go to their profile on bsky.app — the handle is in the URL (e.g., `bsky.app/profile/jay.bsky.team`). Custom domains work too (e.g., `jay.bsky.team` instead of `jay.bsky.social`).

#### What is an AT-URI and how do I get one?

AT-URIs are the internal identifiers for Bluesky content (format: `at://did:plc:.../app.bsky.feed.post/...`). You'll find them in the `uri` field of scraped posts. Use them for thread scraping.

#### Can I filter posts by engagement (e.g., only posts with 100+ likes)?

The scraper returns all posts matching your criteria. Filter by engagement after export — in a spreadsheet, Python/pandas, or any data tool.

#### How does the engagementScore work?

The engagement score is calculated as `likes + reposts + replies + quotes`. It gives you a single number to quickly identify high-performing posts.

#### Is the data real-time?

Yes. Every run fetches live data from the Bluesky network. There's no caching or delay — you get the latest available data.

#### Can I use this for sentiment analysis?

Absolutely. Scrape posts about a topic, export the text field, and run it through any NLP or sentiment analysis tool. The structured output makes it easy to pipe into Python, R, or cloud AI services.

#### What's the difference between searchQuery and handles?

`searchQuery` searches across all of Bluesky for matching posts. `handles` targets specific user accounts. You can use one or both depending on your needs.

***

*Found this actor useful? [Leave a review](https://apify.com/cryptosignals/bluesky-scraper#reviews) - it helps a lot. Something broken? Report it on the [Issues tab](https://apify.com/cryptosignals/bluesky-scraper/issues).*

# Actor input Schema

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

Keyword to search for in Bluesky posts or profiles. Example: 'artificial intelligence', 'crypto', 'startup'

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

List of Bluesky handles to scrape (e.g., jay.bsky.team). Required for posts, profiles, followers, following scrape types.

## `scrapeType` (type: `string`):

What type of data to scrape.

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

Maximum number of results to return per search, handle, or feed.

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

Sort search results by 'latest' (newest first) or 'top' (most relevant/popular).

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

Only return posts created after this date. Format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DD.

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

Only return posts created before this date. Format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DD.

## `lang` (type: `string`):

Filter posts by language code (e.g., 'en', 'ja', 'pt'). Only applies to post search.

## `author` (type: `string`):

Filter search results to only include posts by this author handle.

## `domain` (type: `string`):

Filter posts containing links to this domain (e.g., 'github.com').

## `mentions` (type: `string`):

Filter posts that mention this handle (e.g., 'bsky.app').

## `tag` (type: `array`):

Filter posts with these hashtags (without #). Example: \['ai', 'tech']

## `threadUris` (type: `array`):

List of post AT-URIs to scrape full threads. Format: at://did:plc:.../app.bsky.feed.post/...

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

How many levels of replies to include when scraping threads (1-1000).

## `feedUris` (type: `array`):

List of custom feed/algorithm URIs to scrape.

## `feedFilter` (type: `string`):

Filter author feed content type.

## `resolveAuthors` (type: `boolean`):

Fetch full author profiles to include follower/following/post counts on each post. Adds extra API calls — enable for richer data, disable for faster scraping.

## `proxyConfiguration` (type: `object`):

Optional. Post search (searchQuery) is blocked from datacenter IPs and needs a RESIDENTIAL proxy — e.g. the Apify proxy RESIDENTIAL group — billed to your own Apify proxy usage. All other scrape modes work without any proxy.

## Actor input object example

```json
{
  "searchQuery": "",
  "handles": [
    "bsky.app"
  ],
  "scrapeType": "posts",
  "maxItems": 100,
  "sort": "latest",
  "since": "",
  "until": "",
  "lang": "",
  "author": "",
  "domain": "",
  "mentions": "",
  "tag": [],
  "threadUris": [],
  "threadDepth": 6,
  "feedUris": [],
  "feedFilter": "",
  "resolveAuthors": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "searchQuery": "",
    "handles": [
        "bsky.app"
    ],
    "scrapeType": "posts",
    "maxItems": 100,
    "sort": "latest",
    "since": "",
    "until": "",
    "lang": "",
    "author": "",
    "domain": "",
    "mentions": "",
    "tag": [],
    "threadUris": [],
    "threadDepth": 6,
    "feedUris": [],
    "feedFilter": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("cryptosignals/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 = {
    "searchQuery": "",
    "handles": ["bsky.app"],
    "scrapeType": "posts",
    "maxItems": 100,
    "sort": "latest",
    "since": "",
    "until": "",
    "lang": "",
    "author": "",
    "domain": "",
    "mentions": "",
    "tag": [],
    "threadUris": [],
    "threadDepth": 6,
    "feedUris": [],
    "feedFilter": "",
}

# Run the Actor and wait for it to finish
run = client.actor("cryptosignals/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 '{
  "searchQuery": "",
  "handles": [
    "bsky.app"
  ],
  "scrapeType": "posts",
  "maxItems": 100,
  "sort": "latest",
  "since": "",
  "until": "",
  "lang": "",
  "author": "",
  "domain": "",
  "mentions": "",
  "tag": [],
  "threadUris": [],
  "threadDepth": 6,
  "feedUris": [],
  "feedFilter": ""
}' |
apify call cryptosignals/bluesky-scraper --silent --output-dataset

```

## MCP server setup

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