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

Scrape Bluesky without login: search posts by keyword (with language, date, author and domain filters), full profiles with follower counts and emails from bios, a profile's posts, followers and following lists, and people search.

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

## Pricing

from $0.21 / 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 search, profiles, followers & people

Scrape **Bluesky** with no login and no app password. Search posts by keyword with **language, date, author and domain filters**, get **full profiles** (bio, followers, following, posts count, emails found in the bio), a profile's posts, its **followers and following** lists, and **search people** by keyword.

Use it for social listening and brand monitoring, research datasets, finding creators and experts in a niche, or mapping an audience.

### Why this one

- **Deep search without login**: the "latest" sort walks back in time, well beyond the first page.
- **Domain filter**: every post that links to `yourbrand.com` or a news site.
- **Clean post data**: likes, reposts, replies, quotes, bookmarks, hashtags, links, mentions, images and a reply flag.
- **Audience mapping**: followers/following of any account, up to 100,000 per list.
- **Cheap**: low price per post; full profiles cost more than list entries.

### Input

```json
{
  "searchQueries": ["#python", "\"web scraping\""],
  "maxPostsPerSearch": 1000,
  "language": "en",
  "sinceDate": "2026-09-01",
  "excludeReplies": true,
  "profiles": ["bsky.app"],
  "postsPerProfile": 50,
  "network": "followers",
  "maxNetworkPerProfile": 500,
  "peopleSearch": ["data journalist"]
}
```

### Output (field `type`)

| type | Main fields |
|---|---|
| `post` | `url`, `text`, `createdAt`, `langs`, `authorHandle`, `authorName`, `likes`, `reposts`, `replies`, `quotes`, `bookmarks`, `isReply`, `hashtags`, `links`, `mentions`, `images`, `hasVideo`, `search` / `profile` |
| `profile` | `handle`, `displayName`, `url`, `description`, `followers`, `following`, `posts`, `emails`, `website`, `avatar`, `banner`, `createdAt` |
| `user` | `handle`, `displayName`, `url`, `description`, `emails`, `avatar`, `relation` (follower/following) or `peopleSearch` |

### Example output

One real item from a test run (long texts and lists shortened):

```json
{
  "type": "post",
  "url": "https://bsky.app/profile/scrapedzine.bsky.social/post/3mx3kopmpcs2v",
  "uri": "at://did:plc:vseubpf5lcosqfn64uo4r742/app.bsky.feed.post/3mx3kopmpcs2v",
  "text": "With the current state of AI, it can be easy to feel powerless. But we're here to help! Here are some actions you can take regarding web scraping 💫\n\n✨ Read o...",
  "createdAt": "2026-10-04T23:31:14.968Z",
  "langs": [
    "en"
  ],
  "authorHandle": "scrapedzine.bsky.social",
  "authorName": "Scraped Zine",
  "authorDid": "did:plc:vseubpf5lcosqfn64uo4r742",
  "authorAvatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:vseubpf5lcosqfn64uo4r742/bafkreihq5julagyzrxeticw2iagv4hyn76vziujh5qsjr5fjhvmft2p5je",
  "likes": 9,
  "reposts": 4,
  "replies": 0,
  "quotes": 0,
  "bookmarks": 1,
  "isReply": false,
  "replyTo": null,
  "hashtags": [
    "ai",
    "action",
    "artcommunity"
  ],
  "links": [
    "https://scraped-zine.neocities.org/"
  ],
  "mentions": [],
  "images": [],
  "hasVideo": false,
  "search": "web scraping"
}
```

### Notes

- The "Top" sort returns only the first 100 most relevant posts; use "Latest" for volume.
- Only public data from Bluesky's public API.

### How much does it cost?

You pay only for results delivered, at a fixed price per item. **Apify platform usage is included** in that price, so there are no compute costs on top. Errors and items that couldn't be found are free.

| What you get | Price | Example |
|---|---|---|
| Profile | $0.001 each | 1,000 profiles = $1.00 |
| Post | $0.0003 each | 1,000 posts = $0.30 |
| User | $0.0002 each | 1,000 users = $0.20 |

The Apify **Free plan includes $5 of monthly credit**, enough for about **5,000 profiles** per month at no cost. You can also set a maximum spend per run.

On paid Apify plans it gets cheaper automatically: **10% off on Starter, 20% on Scale and 30% on Business**.

# Actor input Schema

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

Keywords, hashtags (#python) or phrases ("exact phrase") to search in Bluesky posts, one per line.

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

How many posts to collect for each search (newest first).

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

Latest walks back in time with no limit; Top returns only the first 100 most relevant posts.

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

Only posts in this language (code like en, pt, es, de, ja).

## `sinceDate` (type: `string`):

Only posts on or after this date (YYYY-MM-DD or ISO datetime).

## `untilDate` (type: `string`):

Only posts before this date (YYYY-MM-DD or ISO datetime).

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

Restrict the search to one account (handle like name.bsky.social).

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

Only posts that link to this domain (e.g. nytimes.com). Useful for brand and media monitoring.

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

Skip posts that are replies, in searches and profile posts.

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

Handles (name.bsky.social, custom domains) or bsky.app profile URLs. Each returns the full profile: bio, followers, following, posts count, emails found in the bio.

## `postsPerProfile` (type: `integer`):

How many recent posts (and reposts) to collect from each profile (0 = none).

## `network` (type: `string`):

Also list who follows each profile and/or whom it follows.

## `maxNetworkPerProfile` (type: `integer`):

Limit for each list (followers and following) per profile.

## `peopleSearch` (type: `array`):

Find accounts by keyword in name, handle or bio (e.g. 'data journalist', 'saas founder').

## `maxPeoplePerSearch` (type: `integer`):

How many accounts to return per people search.

## Actor input object example

```json
{
  "searchQueries": [
    "web scraping"
  ],
  "maxPostsPerSearch": 100,
  "sort": "latest",
  "excludeReplies": false,
  "postsPerProfile": 0,
  "network": "none",
  "maxNetworkPerProfile": 100,
  "maxPeoplePerSearch": 50
}
```

# Actor output Schema

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

Posts, profiles and users (field 'type').

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

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

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

```

## MCP server setup

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