# Bluesky Scraper - Posts, Profiles, Replies & Followers (`scrolahdata/bluesky-scraper`) Actor

Bluesky scraper (bsky) without login: Bluesky search for posts by keyword or hashtag, Bluesky profile data with posts, replies, Bluesky followers and following. Likes, reposts, links, images via the AT Protocol (atproto). $0.50 per 1,000 posts.

- **URL**: https://apify.com/scrolahdata/bluesky-scraper.md
- **Developed by:** [Leping Gong](https://apify.com/scrolahdata) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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, Hashtags, Profiles, Replies & Followers

Scrape **Bluesky (bsky.app) without login, account or app password**. **Search posts** by keyword, hashtag or phrase, get **profiles with their posts**, **post replies (comments)**, and **followers / following lists** — with likes, reposts, quotes, replies, links, images and video. Uses the official public Bluesky API, so it is fast and reliable.

### Why this scraper?

- 🔎 **Post search** — keywords, `#hashtags`, `"exact phrases"`, `from:handle`, `mentions:handle`, `domain:example.com`, language and date filters. Thousands of posts per query (not just the first 100)
- 🔥 **Latest or Top** — newest posts, or the most popular posts day by day
- 👤 **Profiles** — followers, following and posts count, bio, links in bio, avatar, banner, verification, plus the profile's posts (with or without replies, media-only, reposts)
- 💬 **Replies / comments** — full threads of any post URL, or replies of every scraped post, nested replies flattened with depth
- 👥 **Followers & following** — handle, name, bio for audience research and lead lists
- 📊 Engagement on every post: **likes, reposts, replies, quotes, bookmarks**, hashtags, mentions, links, images, video, quoted post
- ⚡ **$0.50 per 1,000 posts**, no start fee. No duplicates — each post is output (and charged) only once
- 💸 Unknown profiles or deleted posts return a free error row

### Input

```json
{
  "searchQueries": ["#python", "artificial intelligence"],
  "maxPostsPerQuery": 500,
  "sort": "latest",
  "language": "en",
  "postsFrom": "2026-11-01",
  "profiles": ["https://bsky.app/profile/bsky.app"],
  "maxPostsPerProfile": 50,
  "maxFollowersPerProfile": 200,
  "postUrls": ["https://bsky.app/profile/bsky.app/post/3n27yge3hys24"],
  "maxRepliesPerPost": 20
}
```

### Output

Post:

```json
{
  "type": "post",
  "url": "https://bsky.app/profile/python.org/post/3n2abc...",
  "text": "Python 3.15 is out! ...",
  "createdAt": "2026-11-14T16:38:00.390Z",
  "authorHandle": "python.org",
  "author": {"handle": "python.org", "displayName": "Python Software Foundation", "did": "did:plc:..."},
  "likeCount": 324, "repostCount": 9, "replyCount": 9, "quoteCount": 0,
  "langs": ["en"], "hashtags": ["python"], "links": ["https://..."], "images": [],
  "externalLink": {"url": "https://...", "title": "..."},
  "isReply": false, "source": "search", "query": "#python"
}
```

Profile:

```json
{"type": "profile", "handle": "bsky.app", "displayName": "Bluesky", "followersCount": 35670149, "followsCount": 5, "postsCount": 923, "verified": true, "linksInBio": []}
```

Follower rows: `type: "follower"` / `"following"`, `handle`, `displayName`, `description`, `of`.

### Use cases

- **Social listening & brand monitoring** — track mentions, hashtags and competitors on Bluesky (schedule daily runs with a date filter)
- **Sentiment analysis & AI datasets** — clean post text with language tags for NLP and LLMs
- **Influencer research** — profiles with follower counts, engagement on their posts
- **Lead generation & audience research** — followers of any account with bios
- **Community & reply analysis** — full comment threads of viral posts
- **Academic research** — public discourse data with dates and engagement

### Tips & limits

- Only public data from the official Bluesky API.
- A query made **only** of operators (`from:handle`, `domain:`) returns the latest ~100 posts — add a keyword, or use **Profiles** to get all posts of an account.
- Top sort with more than 100 posts collects the top posts of each day (last 30 days unless you set dates).

### Pricing

- **Post** — per post or reply row
- **Profile** — per profile row
- **Follower / following** — per follower or following row

Discounts for Apify Silver, Gold and higher plans.

### How to use Bluesky Scraper

1. Click **Try for free** (the Apify free plan includes monthly credit).
2. Fill in the input — the example input is already pre-filled, so you can just press **Start**.
3. Download results as **JSON, CSV, Excel or HTML**, or open them in the dataset table view.

### Integrations & API

- **API** — run it from Python, Node.js or any language with the Apify API / `apify-client` and get results as JSON.
- **Schedules & monitoring** — run it hourly, daily or weekly and get only fresh data.
- **Zapier, Make, n8n, Google Sheets, Slack, webhooks** — send results to your tools automatically.
- **AI agents (MCP)** — use it from Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server.

### FAQ

**Do I need an API key, login or cookies?** No. It reads publicly available data only.

**How much does it cost?** You pay only for results (see the Pricing tab), no start fee. Error rows are free. Higher Apify plans get automatic discounts.

**Is it legal?** It collects public data only. Make sure your use complies with the website's terms and data-protection laws (e.g. GDPR) — don't collect personal data without a legal basis.

**Something doesn't work or you need a feature?** Open an issue in the **Issues** tab — we usually reply within a day.

### More from ScrolahData

- [Telegram Channel Scraper](https://apify.com/scrolahdata/telegram-channel-scraper)
- [Substack Scraper](https://apify.com/scrolahdata/substack-scraper)
- [YouTube Comments Scraper](https://apify.com/scrolahdata/youtube-comments-scraper)
- [Spotify Scraper](https://apify.com/scrolahdata/spotify-scraper)
- [Google Autocomplete Keyword Tool](https://apify.com/scrolahdata/google-autocomplete-keyword-tool)

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords or hashtags to search posts for. Bluesky search syntax works: #hashtag, from:handle, mentions:handle, domain:example.com, "exact phrase".

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

Handles, DIDs or profile URLs, e.g. bsky.app or https://bsky.app/profile/python.org. Outputs the profile and its posts.

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

Post URLs like https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l. Outputs the post and its replies (comments).

## `maxPostsPerQuery` (type: `integer`):

Maximum posts per search query.

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

Latest = newest first. Top = most popular posts; with more than 100 posts the run collects top posts day by day (last 30 days unless dates are set).

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

Only posts in this language, e.g. en, ja, de, pt. Empty = all.

## `postsFrom` (type: `string`):

Only posts created on or after this date (search and profiles).

## `postsTo` (type: `string`):

Only posts created before this date (search and profiles).

## `maxPostsPerProfile` (type: `integer`):

Posts from each profile's feed. 0 = profile row only.

## `profilePostsFilter` (type: `string`):

Which posts of a profile to include.

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

Also output posts the profile reposted.

## `maxFollowersPerProfile` (type: `integer`):

Also output followers (handle, name, bio). 0 = none.

## `maxFollowingPerProfile` (type: `integer`):

Also output accounts the profile follows. 0 = none.

## `maxRepliesPerPost` (type: `integer`):

Also output replies of every scraped post that has replies (nested threads flattened). 0 = off. For Post URLs, 0 means up to 100 replies.

## `maxConcurrency` (type: `integer`):

Parallel requests.

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

Apify Proxy recommended.

## Actor input object example

```json
{
  "searchQueries": [
    "#python"
  ],
  "maxPostsPerQuery": 100,
  "sort": "latest",
  "maxPostsPerProfile": 50,
  "profilePostsFilter": "posts_with_replies",
  "includeReposts": false,
  "maxFollowersPerProfile": 0,
  "maxFollowingPerProfile": 0,
  "maxRepliesPerPost": 0,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "searchQueries": [
        "#python"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrolahdata/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 = {
    "searchQueries": ["#python"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrolahdata/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 '{
  "searchQueries": [
    "#python"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrolahdata/bluesky-scraper --silent --output-dataset

```

## MCP server setup

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