# Bluesky Scraper: Posts, Profiles, Followers & Threads (`tacps126/bluesky-scraper`) Actor

Bluesky posts by keyword with likes, reposts, replies, hashtags, links and images; profiles with bio, followers and their latest posts; followers lists; and full threads. Filters by date, language, author, domain and engagement, plus only-new monitoring.

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

## Pricing

from $0.56 / 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.
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, Followers & Threads

Bluesky **posts by keyword** with likes, reposts, replies, quotes, hashtags, mentions, links and images; **profiles** with bio, follower counts, links and emails from the bio, plus their latest posts; **followers lists**; and **full threads** with replies. Filter by date, language, author, linked domain and engagement, and schedule it as a **brand or topic monitor** that returns only new posts.

**Built for** social listening and brand monitoring teams, researchers, marketers and growth teams, and AI agents.

### What you get

| Field | Meaning |
|---|---|
| `text`, `createdAt`, `url`, `languages` | The post |
| `authorHandle`, `authorName`, `authorUrl`, `authorAvatar` | Who posted it |
| `likeCount`, `repostCount`, `replyCount`, `quoteCount` | Engagement |
| `hashtags`, `mentions`, `links`, `images`, `videoUrl`, `linkCard`, `quotedPostUrl` | What is in it |
| `isReply`, `replyToUrl`, `threadRootUrl` | Where it sits in a conversation |
| Profiles and followers: `handle`, `displayName`, `description`, `followersCount`, `followsCount`, `postsCount`, `emails`, `links`, `verified`, `createdAt` | Who they are |
| `type`, `source`, `scrapedAt` | Row kind (post, profile, follower) and which search, profile or thread found it |

### Why this Actor

- **Search, profiles, followers and threads in one run**, one clean row shape.
- **Filters that matter:** last N days or a date range, language, one author, posts linking to a domain, minimum likes or reposts, no replies, no reposts.
- **Monitoring built in:** turn on *Only new results* and schedule it; each run returns only posts it has not delivered before.
- **Lead research:** emails and links from bios of profiles and followers.
- **For AI agents.** Callable as an MCP tool.

### How to use it

Monitor mentions of a brand, newest first:

```json
{ "searchTerms": ["apify", "\"web scraping\""], "postedWithinDays": 7, "language": "en", "onlyNew": true }
```

A profile, its last 50 posts and 500 followers:

```json
{ "profiles": ["bsky.app"], "maxPostsPerProfile": 50, "maxFollowersPerProfile": 500 }
```

Search returns up to 100 posts per search term. For more, add your own Bluesky handle and an **app password** (Bluesky Settings > Privacy and security > App passwords). It is used only to read search results; nothing is posted.

### Pricing

**$0.70 per 1,000 results** (posts, profiles and followers alike), plus a small start fee per run. On the Apify free plan a run returns up to 100 results.

### FAQ

**What can I scrape from Bluesky?** Posts by keyword, profiles with their latest posts, followers lists and full threads with replies, all in one row shape.

**How many posts does a search return?** Up to 100 posts per search term without login. For more, add your Bluesky handle and an app password; it is used only to read search results and nothing is posted.

**Can I monitor brand mentions?** Yes. Turn on *Only new results* and schedule the Actor; each run returns only posts it has not delivered before.

**Does it find emails?** Only emails people put in their public bio, for profiles and followers.

**How much does it cost?** $0.70 per 1,000 results (posts, profiles and followers alike) plus a small start fee per run.

### Good to know

- Only public posts and profiles are returned; deleted or private content is not.
- Emails are those people chose to put in their public bio; use them for relevant, personal outreach and follow the law where you are (CAN-SPAM, GDPR).
- Questions: **tacps126@gmail.com**.

# Actor input Schema

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

Posts matching these words. Bluesky search syntax works too: "exact phrase", from:handle, #hashtag, mentions:handle.

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

Handles (jay.bsky.team), @handles or bsky.app profile links: the profile, its latest posts and, if you ask, its followers.

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

bsky.app post links: the post and its replies.

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

How search results are ranked.

## `postedWithinDays` (type: `integer`):

Only posts from this window (search and profile posts).

## `dateFrom` (type: `string`):

Only posts from this day on (YYYY-MM-DD).

## `dateTo` (type: `string`):

Only posts up to and including this day.

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

Two-letter code, e.g. en, de, ja (search only).

## `fromAuthor` (type: `string`):

Search only one author's posts (handle).

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

Search only posts that link to this domain, e.g. github.com.

## `minLikes` (type: `integer`):

Leave out posts with fewer likes.

## `minReposts` (type: `integer`):

Leave out posts with fewer reposts.

## `excludeReplies` (type: `boolean`):

Only top-level posts.

## `excludeReposts` (type: `boolean`):

Profile posts only: skip posts the profile reposted from others.

## `maxPostsPerSearch` (type: `integer`):

Up to 100 per search term without an account; add your handle and an app password below for more.

## `includeProfileInfo` (type: `boolean`):

One row per profile with bio, followers, following, posts count, links and emails in the bio.

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

Latest posts of each profile (0 = none).

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

Followers of each profile with their bio, links and emails (0 = none).

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

Replies returned for each post link (0 = only the post).

## `blueskyHandle` (type: `string`):

Only needed for more than 100 results per search term. Your own handle, e.g. you.bsky.social.

## `blueskyAppPassword` (type: `string`):

An app password from Bluesky Settings > Privacy and security > App passwords (never your main password). Used only to read search results; nothing is posted.

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

Most records returned per run (posts, profiles and followers together).

## `onlyNew` (type: `boolean`):

Schedule the Actor and each run returns only posts and profiles earlier runs did not deliver: a keyword or brand monitor.

## `monitorName` (type: `string`):

Optional name for the "only new" history, so several monitors can run side by side.

## `tenantId` (type: `string`):

Optional label used to keep separate histories for different clients or teams.

## `debug` (type: `boolean`):

Save extra diagnostics with the run (for support requests).

## Actor input object example

```json
{
  "searchTerms": [
    "web scraping"
  ],
  "sort": "latest",
  "excludeReplies": false,
  "excludeReposts": false,
  "maxPostsPerSearch": 100,
  "includeProfileInfo": true,
  "maxPostsPerProfile": 20,
  "maxFollowersPerProfile": 0,
  "maxRepliesPerPost": 50,
  "maxItems": 500,
  "onlyNew": false,
  "debug": false
}
```

# Actor output Schema

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

The produced items (default dataset items).

# 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": [
        "web scraping"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/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": ["web scraping"] }

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

```

## MCP server setup

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