# Bluesky Scraper (`automly/bluesky-scraper`) Actor

Scrape Bluesky posts by keyword, profiles with their posts, and posts with their replies: text, date, likes, reposts, replies, quotes, links, images, video, followers and bio. No login.

- **URL**: https://apify.com/automly/bluesky-scraper.md
- **Developed by:** [Automly](https://apify.com/automly) (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.50 / 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, Profiles, Search & Replies

### What is Bluesky Scraper?

**Bluesky Scraper** is a tool that lets you **scrape Bluesky posts by keyword, profiles with their posts, and posts with their replies**: text, date, language, likes, reposts, replies and quotes, hashtags, mentions, links, images, video and link cards, and for each profile its followers, following, posts count, bio, avatar and verified check. Type a keyword or a handle, click **Start**, and download the results as Excel, CSV or JSON.

- 🔎 **Post search:** newest posts as far back as you ask, or the top posts, with Bluesky's search words (from:, domain:, #tags)
- 👤 **Profiles:** followers, following, posts count, bio, plus the profile's posts, replies or media posts
- 💬 **Reply threads:** a post and its replies, each with its depth in the thread
- 📅 **Date and language filters** for searches
- 🔓 **No login:** no Bluesky account or app password needed

### What can Bluesky Scraper do?

- **Monitor brands, topics and hashtags** on Bluesky, newest posts first
- **Collect a profile's posts** with likes, reposts and replies to measure engagement
- **Read the replies** under any post for comments and sentiment work
- **Find who shares a website** with a `domain:` search
- **Build datasets** of posts and profiles for research
- Export to Excel, CSV, JSON, HTML or XML, or send the data to Google Sheets, Make, Zapier and more

### What data can you extract from Bluesky?

| | | |
|---|---|---|
| 📝 Post text and language | 📅 Post date | ❤️ Likes |
| 🔁 Reposts | 💬 Replies | 🗨️ Quotes |
| #️⃣ Hashtags | @ Mentions | 🔗 Links and link cards |
| 🖼️ Images with alt text | 🎬 Video | ↩️ Reply and thread links |
| 👤 Handle, name, bio, avatar | 👥 Followers and following | ✅ Verified check |

### How to scrape Bluesky

1. [Create a free Apify account](https://console.apify.com/sign-up) (no credit card needed).
2. Open **Bluesky Scraper**.
3. Type keywords, add profiles (handles or links), or paste post links.
4. Click **Start**.
5. When the run finishes, download the results as Excel, CSV, JSON, HTML or XML.

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

You pay per post and per profile saved, plus $0.0005 when a run starts:

| Apify plan | Posts per 1,000 | Profiles per 1,000 |
|---|---|---|
| Free | $0.95 | $1.40 |
| Starter (Bronze) | $0.85 | $1.05 |
| Scale (Silver) | $0.72 | $0.82 |
| Business (Gold) and higher | $0.50 | $0.62 |

Platform usage is included in these prices, so you pay nothing else for the run.

Example: 1,000 posts cost $0.95 on the Free plan and $0.50 on Business.

Every Apify account gets **$5 of free usage each month**, enough for about 5,000 posts.

### ⬇️ Input

| Setting | What it does |
|---|---|
| Keywords | What to search posts for; Bluesky search words like `from:`, `domain:` and `#tags` work |
| Search order | Latest (back in time as far as you ask) or Top (Bluesky's 100 top posts per keyword) |
| Posts from, Posts until | Search only: a date window |
| Language | Search only: posts in one language, e.g. `en` |
| Profiles | Handles or profile links; each gives one profile row and its posts |
| Profile posts | Posts, posts and replies, posts with media, posts without replies, or none (profile only) |
| Post links | Each gives the post and its replies |
| Max posts per input | How many posts to save for each keyword, profile or post link |

Example: the newest 500 posts about coffee since November 1, plus a profile with its posts and a post with its replies:

```json
{
  "searchQueries": ["coffee"],
  "since": "2026-11-01",
  "handles": ["jay.bsky.team"],
  "postUrls": ["https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"],
  "maxItems": 500
}
```

### ⬆️ Output

Each post is one row:

```json
{
  "type": "post",
  "uri": "at://did:plc:oky5czdrnfjpqslsw2a5iclo/app.bsky.feed.post/3mznxzxtqns2k",
  "id": "3mznxzxtqns2k",
  "url": "https://bsky.app/profile/jay.bsky.team/post/3mznxzxtqns2k",
  "text": "good fall colors",
  "createdAt": "2026-11-06T18:08:29.879Z",
  "indexedAt": "2026-11-06T18:08:34.772Z",
  "languages": ["en"],
  "authorHandle": "jay.bsky.team",
  "authorDid": "did:plc:oky5czdrnfjpqslsw2a5iclo",
  "authorName": "Jay 🦋",
  "authorAvatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:oky5czdrnfjpqslsw2a5iclo/bafkreihxtnc37g7jqdcgidtkknwuswtjiijcdnc6cx4imc4oq33cnsc5da",
  "likeCount": 861,
  "repostCount": 51,
  "replyCount": 30,
  "quoteCount": 2,
  "isReply": false,
  "replyToUri": null,
  "rootUri": null,
  "isRepost": false,
  "repostedBy": null,
  "hashtags": null,
  "mentions": null,
  "links": null,
  "images": [{"url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:oky5czdrnfjpqslsw2a5iclo/bafkreiah5d5ofxf56wp4xmvr57uw7p6n3j4fnidvsoxlvam5zv2yyjgde4", "alt": "yellow leaves against sky"}],
  "videoUrl": null,
  "externalUrl": null,
  "externalTitle": null,
  "quotedPostUri": null,
  "labels": null,
  "threadDepth": null,
  "rank": 1,
  "source": "jay.bsky.team",
  "scrapedAt": "2026-11-15T18:41:57Z"
}
```

Each profile is one row:

```json
{
  "type": "profile",
  "did": "did:plc:oky5czdrnfjpqslsw2a5iclo",
  "handle": "jay.bsky.team",
  "url": "https://bsky.app/profile/jay.bsky.team",
  "displayName": "Jay 🦋",
  "description": "Founder & Chief Innovation Officer @ Bluesky",
  "followersCount": 594382,
  "followsCount": 3994,
  "postsCount": 4186,
  "createdAt": "2022-11-17T06:31:40.296Z",
  "verified": true,
  "source": "jay.bsky.team",
  "scrapedAt": "2026-11-15T18:41:56Z"
}
```

Profile rows also carry `avatar`, `banner`, `pinnedPostUri` and `labels`. The **Posts** and **Profiles** tabs show the main fields as tables. Each run also saves a short report that lists any profile or post that does not exist and any search with no result.

### How can I use Bluesky data?

- **Social listening:** follow what people say about a brand, product or topic
- **Influencer research:** compare profiles by followers and engagement
- **Community and sentiment analysis:** read replies under announcements and news
- **Academic research:** build post and profile datasets from a public network

### Integrations and API

Run the scraper from your own code with the [Apify API](https://docs.apify.com/api/v2), or connect it to Make, Zapier, n8n, Google Sheets, Airtable, Slack and webhooks from the **Integrations** tab. Schedule it to follow a keyword every hour. AI agents can run it through the Apify MCP server at [mcp.apify.com](https://mcp.apify.com).

### ❓FAQ

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

$0.95 per 1,000 posts on the Free plan down to $0.50 on Business, profiles $1.40 down to $0.62 per 1,000, plus $0.0005 per run.

#### How many posts can I get for one keyword?

With **Latest**, as many as you ask for: the scraper reads back in time until it has them or Bluesky has no older posts. **Top** gives the 100 top posts per keyword, all Bluesky shows a visitor.

#### Do I need a Bluesky account?

No. The scraper reads what anyone can see on Bluesky without signing in.

#### What happens with a profile or post that does not exist, or a search with no results?

It is listed in the run report as not found, and the run still succeeds with everything else. You are not charged for it.

#### Is it legal to scrape Bluesky?

The scraper collects public posts and profiles that anyone can see on Bluesky. You are responsible for how you use the data, including privacy rules where you work. Bluesky Scraper is not affiliated with or endorsed by Bluesky.

#### Something isn't working?

Open the **Issues** tab and tell us what you ran (the input) and what you expected. We usually answer within a day.

### ⭐ Your feedback

Have an idea or found a problem? Tell us in the **Issues** tab. If Bluesky Scraper saved you time, a short review on the **Reviews** tab helps other people find it.

# Actor input Schema

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

What to search Bluesky posts for, one search per line, e.g. coffee, #photography or "climate policy". Bluesky search words work too, e.g. from:nytimes.com or domain:npr.org.

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

Latest reads back in time as far as you ask; Top gives Bluesky's 100 top posts per keyword.

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

Search only: posts on or after this date, e.g. 2026-11-01.

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

Search only: posts up to this date (that day included), e.g. 2026-11-15.

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

Search only: posts in this language, a two-letter code, e.g. en or de.

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

Bluesky handles or profile links, one per line, e.g. jay.bsky.team, @nytimes.com or https://bsky.app/profile/bsky.app. Each gives one profile row and its posts.

## `profilePosts` (type: `string`):

Which posts of each profile to save, as the profile's tabs show them, e.g. Posts and replies.

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

Bluesky post links, one per line, e.g. https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l. Each gives the post and its replies.

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

How many posts to save for each keyword, profile or post link, e.g. 500.

## Actor input object example

```json
{
  "searchQueries": [
    "coffee"
  ],
  "sort": "latest",
  "profilePosts": "posts",
  "maxItems": 30
}
```

# Actor output Schema

## `posts` (type: `string`):

No description

## `profiles` (type: `string`):

No description

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

No description

## `report` (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": [
        "coffee"
    ],
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/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": ["coffee"],
    "maxItems": 30,
}

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

```

## MCP server setup

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