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

🦋 Scrape public Bluesky profiles, posts, followers, and search via the official AT Protocol — no API key, no rate-limit pain. Get bios, engagement, and follower graphs. Ideal for researchers, growth marketers, and AI training datasets.

- **URL**: https://apify.com/nominated\_tupelo/bluesky-scraper.md
- **Developed by:** [kade](https://apify.com/nominated_tupelo) (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

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Bluesky Scraper — Profiles, Posts, Followers & Search

**Bluesky Scraper** extracts public data from [Bluesky](https://bsky.app/) using the official AT Protocol public API. Give it a list of handles and it returns profiles, posts, follower lists, and following lists — **no authentication or API key required**.

Works with any public Bluesky account. Data is delivered as clean, structured JSON ready for analysis, export to CSV/Excel, or integration with other tools via the Apify API.

### Why use Bluesky Scraper?

- **No auth or API key** — Bluesky's AT Protocol public API is open for unauthenticated access
- **Full engagement data** — follower counts, post counts, reply/repost/like metrics
- **Batch mode** — scrape hundreds of handles in one run, paginated automatically
- **Search mode** — find accounts by keyword without knowing specific handles
- **Scheduling** — run weekly to track follower growth and post activity over time
- **Use cases**: influencer research, competitor analysis, audience building, academic research, social media monitoring

### How to use Bluesky Scraper

1. Open the **Input** tab and enter Bluesky handles (e.g. `bsky.app`, `jay.bsky.team`)
2. Choose what to include: posts, followers, following
3. Set limits (max posts per profile, max followers) to control cost
4. Click **Start** — results appear in the **Output** tab as JSON, CSV, or Excel

### Input parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `handles` | string[] | No | — | Bluesky handles to scrape (@ optional) |
| `scrapeMode` | string | No | `profile` | `profile` (by handle) or `search` (by keyword) |
| `searchQuery` | string | No | — | Keyword for profile search (used when scrapeMode is `search`) |
| `includePosts` | boolean | No | false | Also fetch recent posts for each profile |
| `includeFollowers` | boolean | No | false | Also fetch follower list |
| `includeFollowing` | boolean | No | false | Also fetch following list |
| `maxPosts` | integer | No | 50 | Max posts per profile |
| `maxFollowers` | integer | No | 100 | Max followers per profile |
| `maxFollowing` | integer | No | 100 | Max following per profile |
| `maxSearchResults` | integer | No | 100 | Max profiles returned in search mode |

### Example input

```json
{
  "handles": ["bsky.app", "jay.bsky.team"],
  "includePosts": true,
  "maxPosts": 25
}
````

### Output

Each item pushed to the dataset is a `profile` object (with optional nested `posts`, `followers`, `following` arrays).

#### Profile example

```json
{
  "profile": {
    "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
    "handle": "bsky.app",
    "displayName": "Bluesky",
    "description": "Official Bluesky account",
    "avatar": "https://cdn.bsky.app/img/avatar/plain/...",
    "followersCount": 33764197,
    "followsCount": 7,
    "postsCount": 780,
    "createdAt": "2023-04-12T04:53:57.057Z",
    "url": "https://bsky.app/profile/bsky.app"
  }
}
```

#### Post example (when includePosts: true)

```json
{
  "uri": "at://did:plc:z72i7.../app.bsky.feed.post/3lc...",
  "text": "Introducing Bluesky's new moderation tools...",
  "createdAt": "2026-01-15T14:30:00.000Z",
  "likeCount": 1842,
  "replyCount": 93,
  "repostCount": 342,
  "quoteCount": 55,
  "langs": ["en"],
  "hasImages": false,
  "hasLink": true,
  "isRepost": false
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Output data fields

| Field | Type | Description |
|-------|------|-------------|
| `profile.handle` | string | Bluesky handle (e.g. `jay.bsky.team`) |
| `profile.did` | string | Decentralized identifier (stable unique ID) |
| `profile.displayName` | string | Display name |
| `profile.description` | string | Bio / profile description |
| `profile.followersCount` | number | Follower count |
| `profile.followsCount` | number | Following count |
| `profile.postsCount` | number | Total post count |
| `profile.createdAt` | string | Account creation date (ISO 8601) |
| `profile.url` | string | Direct profile URL |
| `posts[].text` | string | Post text content |
| `posts[].likeCount` | number | Like count |
| `posts[].replyCount` | number | Reply count |
| `posts[].repostCount` | number | Repost count |
| `posts[].createdAt` | string | Post timestamp (ISO 8601) |

### Cost / performance

Bluesky uses an open public API — no proxy required. Typical performance:

- **100 profiles**: ~15 seconds, under $0.01 in platform credits
- **1,000 posts** (10 accounts × 100 posts): ~30 seconds, ~$0.01
- **5,000 followers**: ~45 seconds, ~$0.02

Costs are very low because no browser or proxy is needed. Bluesky's API allows ~100 req/min without rate limiting.

### Tips

- Use `@handle` or bare `handle` — both work
- Use `scrapeMode: search` to discover accounts by topic without knowing handles
- Set `maxPosts: 0` is not supported — use a large number like `1000` for "all posts"
- Combine with scheduling to track follower growth week-over-week

### FAQ

**Is this legal?** This Actor uses Bluesky's official public AT Protocol API, which is designed for open access. No authentication is bypassed. Always comply with applicable data protection laws (GDPR, CCPA, etc.) when processing personal data.

**Does it work without a Bluesky account?** Yes. The public API requires no login or API key.

**How fresh is the data?** Data is live from the Bluesky API at run time. There is no caching.

Found a bug or want a feature? Use the **Issues** tab to report it. Custom scraping solutions for specific Bluesky data needs are available on request.

# Actor input Schema

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

Bluesky handles or DIDs to scrape. E.g. 'bsky.app', 'jay.bsky.team'. The @ prefix is optional.

## `scrapeMode` (type: `string`):

What to scrape. 'profile' fetches profile metadata only. 'search' finds profiles matching searchQuery. Use includePosts / includeFollowers / includeFollowing to add more data.

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

Keyword to search for Bluesky profiles (used when scrapeMode is 'search').

## `includePosts` (type: `boolean`):

Also fetch recent posts for each profile.

## `includeFollowers` (type: `boolean`):

Also fetch the follower list for each profile.

## `includeFollowing` (type: `boolean`):

Also fetch the accounts each profile follows.

## `maxPosts` (type: `integer`):

Maximum number of posts to fetch per profile (when includePosts is enabled).

## `maxFollowers` (type: `integer`):

Maximum number of followers to fetch per profile (when includeFollowers is enabled).

## `maxFollowing` (type: `integer`):

Maximum number of following to fetch per profile (when includeFollowing is enabled).

## `maxSearchResults` (type: `integer`):

Maximum number of profiles to return from a search query.

## Actor input object example

```json
{
  "handles": [
    "bsky.app",
    "jay.bsky.team"
  ],
  "scrapeMode": "profile",
  "includePosts": false,
  "includeFollowers": false,
  "includeFollowing": false,
  "maxPosts": 50,
  "maxFollowers": 100,
  "maxFollowing": 100,
  "maxSearchResults": 100
}
```

# 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 = {
    "handles": [
        "bsky.app",
        "jay.bsky.team"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nominated_tupelo/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 = { "handles": [
        "bsky.app",
        "jay.bsky.team",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("nominated_tupelo/bluesky-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "handles": [
    "bsky.app",
    "jay.bsky.team"
  ]
}' |
apify call nominated_tupelo/bluesky-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=nominated_tupelo/bluesky-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "🦋 Bluesky Scraper — Profiles, Posts, Followers & Search",
        "description": "🦋 Scrape public Bluesky profiles, posts, followers, and search via the official AT Protocol — no API key, no rate-limit pain. Get bios, engagement, and follower graphs. Ideal for researchers, growth marketers, and AI training datasets.",
        "version": "1.0",
        "x-build-id": "6rdIDZdI4j0PCpd3y"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/nominated_tupelo~bluesky-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-nominated_tupelo-bluesky-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/nominated_tupelo~bluesky-scraper/runs": {
            "post": {
                "operationId": "runs-sync-nominated_tupelo-bluesky-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/nominated_tupelo~bluesky-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-nominated_tupelo-bluesky-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "handles": {
                        "title": "Bluesky handles",
                        "type": "array",
                        "description": "Bluesky handles or DIDs to scrape. E.g. 'bsky.app', 'jay.bsky.team'. The @ prefix is optional.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "scrapeMode": {
                        "title": "Scrape mode",
                        "enum": [
                            "profile",
                            "search"
                        ],
                        "type": "string",
                        "description": "What to scrape. 'profile' fetches profile metadata only. 'search' finds profiles matching searchQuery. Use includePosts / includeFollowers / includeFollowing to add more data.",
                        "default": "profile"
                    },
                    "searchQuery": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Keyword to search for Bluesky profiles (used when scrapeMode is 'search')."
                    },
                    "includePosts": {
                        "title": "Include posts",
                        "type": "boolean",
                        "description": "Also fetch recent posts for each profile.",
                        "default": false
                    },
                    "includeFollowers": {
                        "title": "Include followers",
                        "type": "boolean",
                        "description": "Also fetch the follower list for each profile.",
                        "default": false
                    },
                    "includeFollowing": {
                        "title": "Include following",
                        "type": "boolean",
                        "description": "Also fetch the accounts each profile follows.",
                        "default": false
                    },
                    "maxPosts": {
                        "title": "Max posts per profile",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of posts to fetch per profile (when includePosts is enabled).",
                        "default": 50
                    },
                    "maxFollowers": {
                        "title": "Max followers per profile",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of followers to fetch per profile (when includeFollowers is enabled).",
                        "default": 100
                    },
                    "maxFollowing": {
                        "title": "Max following per profile",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of following to fetch per profile (when includeFollowing is enabled).",
                        "default": 100
                    },
                    "maxSearchResults": {
                        "title": "Max search results",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of profiles to return from a search query.",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
