# Bluesky Scraper - Profile, Posts, Followers & Threads (`signalfixtechservices/bluesky-profile-post-scraper`) Actor

Bluesky scraper: extract profile, posts, followers, following & reply threads by handle. No login, API key, or proxies needed — reads Bluesky's public AT Protocol API directly. Great for social media monitoring, brand tracking & research.

- **URL**: https://apify.com/signalfixtechservices/bluesky-profile-post-scraper.md
- **Developed by:** [Dustin Wasley](https://apify.com/signalfixtechservices) (community)
- **Categories:** Social media, Developer tools
- **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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 - Profile, Posts, Followers & Threads

Extract Bluesky profile info, posts, followers, following, and full reply
threads by handle. **No login, no auth, no proxies needed** — reads
Bluesky's own public AT Protocol API directly (`public.api.bsky.app`),
the same read-only access Bluesky's own apps use for logged-out browsing.

### Quick start

Run with zero configuration and it returns real data (Bluesky's own
official account) by default:

```
python main.py
```

Or set an input:

```json
{ "handle": "jay.bsky.team", "mode": "profile_and_posts", "limit": 20 }
```

### Modes

| mode | returns |
|---|---|
| `profile_and_posts` (default) | Profile info + recent posts in one call |
| `profile_only` | Just profile info |
| `followers` | Follower list |
| `follows` | Following list |
| `thread` | A post plus its replies (needs `postUri`) |

### Why this is safe to run at scale

Every endpoint here (`getProfile`, `getAuthorFeed`, `getFollowers`,
`getFollows`, `getPostThread`) is a fully public, unauthenticated AT
Protocol read — verified live 2026-08-03 against `public.api.bsky.app`.
This is not scraping HTML or defeating any anti-bot measure; it's the
exact same data Bluesky's App View serves to anyone, logged out.
`searchPosts` was deliberately left out — it returned a 403 in testing
and needs an authenticated session, unlike everything else here.

### Verified

`test_live.py` checks all 5 functions against the real live API before
anything gets built on top of them. Also run end-to-end through Apify's
local dev runtime (`python main.py` with zero input) — confirmed a real,
useful dataset gets pushed on the very first run with no configuration.

### Pricing

Configured for Apify's Pay-Per-Event model (~$0.003-0.005/result) rather
than a monthly subscription or free tier — zero friction to try, no
payment infra to build, and free listings reportedly signal "hobby
project" rather than a maintained tool.

### Known competition

There are 10+ existing Bluesky scrapers on Apify already — this is not a
zero-competition niche, and shouldn't be sold as one. What's different
here: a genuinely zero-config working default, a clean five-endpoint
scope (no attempt to also do search, which needs auth), and a legal
profile that's about as clean as scraping gets (fully public API, no
ToS wall, no anti-bot to route around, Bluesky's own docs actively
support this kind of access).

# Actor input Schema

## `handle` (type: `string`):

A Bluesky handle to look up, e.g. bsky.app or jay.bsky.team (no @ needed).

## `mode` (type: `string`):

profile\_and\_posts (default) returns profile info plus recent posts in one call.

## `limit` (type: `integer`):

Max posts/followers/follows to return (max 100).

## `postUri` (type: `string`):

An at:// post URI, e.g. at://did:plc:.../app.bsky.feed.post/... — required only when mode is 'thread'.

## Actor input object example

```json
{
  "handle": "bsky.app",
  "mode": "profile_and_posts",
  "limit": 20
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("signalfixtechservices/bluesky-profile-post-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("signalfixtechservices/bluesky-profile-post-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 '{}' |
apify call signalfixtechservices/bluesky-profile-post-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,signalfixtechservices/bluesky-profile-post-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/eYh4JKqCxakXVUxPe/builds/euhYPVsObuy4osM9s/openapi.json
