# Bluesky Scraper — Profiles, Posts, Search, No Login (`chorelet/bluesky-posts-scraper`) Actor

Scrape Bluesky profiles and posts without login: text, likes, reposts, replies, quotes, images, videos, link cards, quoted posts and profile stats — newest first, with date filter and CSV/JSON export. Full-text search with your own app password.

- **URL**: https://apify.com/chorelet/bluesky-posts-scraper.md
- **Developed by:** [Chorelet](https://apify.com/chorelet) (community)
- **Categories:** Social media, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 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 — Profiles, Posts, Search, No Login

Get posts from any Bluesky profile — text, likes, reposts, replies, quotes, bookmarks, images, videos, link cards, quoted posts and the profile's follower stats — as JSON, CSV or Excel, or straight into your own tools via API. Profiles and single posts need **no login**; full-text search is available with your own Bluesky app password.

Built on Bluesky's public AT Protocol API, so the numbers are exact and nothing is scraped from HTML.

### Why this Actor

- Exact numbers from Bluesky's public API — likes, reposts, replies, quotes, bookmarks
- Profiles, single posts and (with your app password) full-text search
- Images, videos, link cards, quoted posts, links, mentions and hashtags in one schema
- No login for profiles and posts; a revocable app password only for search
- Checked every day by an automated run

### Sample output

One item of the dataset (long values shortened):

```json
{
  "author": {
    "did": "did:plc:kwxpje5qog6wwndagwbssatp",
    "handle": "avclub.com",
    "displayName": "The A.V. Club",
    "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:kwxpje5qog6wwndagwbssatp/bafkreietpdfkwurg74xbzzu3inipcco5635adp4o2ew7bioiahgmqutvbi"
  },
  "url": "https://bsky.app/profile/avclub.com/post/3mviutosqmk2t",
  "text": "Less than 4 hours until the #Emmys kick off! You can keep up with all the commentary, winners, joy—and, let's face it, disappointment—via…",
  "createdAt": "2026-09-14T19:47:12.655Z",
  "likes": 503,
  "reposts": 36,
  "replies": 26,
  "quotes": 4,
  "images": [
    {
      "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:kwxpje5qog6wwndagwbssatp/bafkreicwxzp6lnqvuetiytyeanq3wynihsneq4qqdvv7bzhkrmw4nv36oy",
      "thumbnail": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:kwxpje5qog6wwndagwbssatp/bafkreicwxzp6lnqvuetiytyeanq3wynihsneq4qqdvv7bzhkrmw4nv36oy",
      "alt": null,
      "width": 1233,
      "height": 800
    }
  ],
  "external": null,
  "hashtags": [
    "#Emmys"
  ]
}
```

### What you get

| Field | Description |
|---|---|
| `source`, `query` | `profile`, `post` or `search` (+ the query) |
| `uri`, `cid`, `url` | AT URI, content hash and the `bsky.app` link |
| `author` | `{ did, handle, displayName, avatar }` |
| `profile` | The profile whose feed the post came from: handle, followers, following, post count, bio, join date |
| `text`, `createdAt`, `indexedAt`, `langs` | The post itself |
| `likes`, `reposts`, `replies`, `quotes`, `bookmarks` | Engagement at scrape time |
| `isReply`, `replyTo` | Reply flag and the parent post (uri, url, author, text) |
| `isRepost`, `repostedBy` | Reposts in the profile's feed, with who reposted |
| `images`, `video`, `external`, `quotedPost` | Media (full-size + thumbnail + alt), video playlist, link card, quoted post |
| `links`, `mentions`, `hashtags` | From the post's rich-text facets |

Posts come **newest first** per profile and are deduplicated across the run. A per-target summary (handle, followers, posts fetched, errors) is saved to the key-value store as `SUMMARY`.

### Input

- **Profiles or posts** — `bsky.app`, `@apify.com`, a DID, `https://bsky.app/profile/apify.com`, or a single post URL.
- **Max posts**, **Only posts newer than** (`2026-01-31` or `30 days`), **Include replies**, **Include reposts**.
- **Search queries** — optional. Bluesky answers full-text search only for logged-in accounts, so add your handle and an **app password** (Settings → Privacy and security → App passwords; revocable, not your main password; Apify stores it encrypted). Operators: `from:handle`, `"exact phrase"`, `#hashtag`; sort by latest or top; optional language filter.

### Limits and notes

- Followers/following lists are not collected — this Actor is about content, not people.
- Videos come as HLS playlists (`.m3u8`) plus a thumbnail, exactly as Bluesky serves them.
- The public API allows about 3,000 requests per 5 minutes per IP; the Actor paces itself well below that.
- Public data only; the Actor stores nothing beyond the dataset of your run.

### Input example

```json
{
  "profiles": [
    "bsky.app",
    "https://bsky.app/profile/apify.com"
  ],
  "maxPosts": 100,
  "postedAfter": "90 days",
  "includeReplies": false,
  "includeReposts": false,
  "searchSort": "latest"
}
```

### How much does it cost?

Pay per post — no subscription, no minimum, no charge for platform usage.

| Volume | Price |
|---|---|
| 1,000 posts | $0.50 |
| 10,000 posts | $5.00 |
| 100,000 posts | $50.00 |

The Apify **free plan includes $5 of usage every month** — about 10,000 posts with this Actor, no card needed. Nothing else is charged: platform usage is included in the price.

### Use it from code, n8n, Make, Zapier or an AI agent

Run the Actor and download the dataset in one call (JSON by default; add `&format=csv` or `xlsx`):

```bash
curl -X POST "https://api.apify.com/v2/acts/chorelet~bluesky-posts-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"profiles": ["bsky.app", "https://bsky.app/profile/apify.com"], "maxPosts": 100, "postedAfter": "90 days", "includeReplies": false, "includeReposts": false, "searchSort": "latest"}'
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("chorelet/bluesky-posts-scraper").call(run_input={"profiles": ["bsky.app", "https://bsky.app/profile/apify.com"], "maxPosts": 100, "postedAfter": "90 days", "includeReplies": false, "includeReposts": false, "searchSort": "latest"})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

- **n8n, Make, Zapier** — use the Apify node/module: run the Actor, then "get dataset items".
- **Google Sheets, Slack, webhooks** — add an integration on the run's *Integrations* tab.
- **AI agents** — the Actor is available as a tool through the Apify MCP server; the dataset schema describes every field for the model.
- **Schedules** — run it hourly, daily or weekly from the *Schedules* tab.

### FAQ

**Do I need a Bluesky account?**

Not for profiles and posts. Full-text search is the one thing Bluesky only answers for logged-in accounts, so for search you add your handle and an app password (Settings → Privacy and security → App passwords).

**Is my app password safe?**

It is stored encrypted by Apify, used only to call the search endpoint, and you can revoke it in Bluesky at any time. Never use your main password.

**Can I get replies and reposts?**

Yes — `includeReplies` and `includeReposts`; reposts carry `repostedBy`.

**How far back can I go?**

The whole feed of a profile, 100 posts per page; use `postedAfter` (`30 days`) or `maxPosts` to limit it.

**What does a run cost?**

$0.50 per 1,000 posts. The free plan's $5 a month covers about 10,000 posts.

### Support

Questions, missing fields or a source that changed? Open an issue on the *Issues* tab or write to support@chorelet.app — problems are usually fixed within a day, and the Actor is checked every morning by an automated test run. If the Actor saved you time, a short review on its Store page helps other people find it.

# Actor input Schema

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

Handles, DIDs, profile URLs or single post URLs: `bsky.app`, `@apify.com`, `https://bsky.app/profile/apify.com`, `https://bsky.app/profile/apify.com/post/3k…`. No login needed.

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

Newest first.

## `postedAfter` (type: `string`):

Absolute date `2026-01-31` or relative `7 days`, `2 weeks`, `3 months`. Scraping stops at the first older post.

## `includeReplies` (type: `boolean`):

Also collect the profile's replies to other posts.

## `includeReposts` (type: `boolean`):

Also collect posts the profile reposted (marked `isRepost`, with `repostedBy`).

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

Full-text search across Bluesky. Bluesky only answers search for logged-in accounts, so fill in the handle and app password below. Operators: `from:handle`, `"exact phrase"`, `#hashtag`, `lang:en`.

## `searchSort` (type: `string`):

Newest first or by engagement.

## `searchLanguage` (type: `string`):

Two-letter code to restrict search results, e.g. `en`.

## `identifier` (type: `string`):

Your handle or email, e.g. `you.bsky.social`. Used only to call the search endpoint.

## `appPassword` (type: `string`):

Create one in Bluesky → Settings → Privacy and security → App passwords. Not your main password. Stored encrypted by Apify.

## Actor input object example

```json
{
  "profiles": [
    "bsky.app",
    "https://bsky.app/profile/apify.com"
  ],
  "maxPosts": 100,
  "postedAfter": "90 days",
  "includeReplies": false,
  "includeReposts": false,
  "searchSort": "latest"
}
```

# Actor output Schema

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

All scraped posts — items of the default dataset. Use ?format=csv or xlsx on this URL for spreadsheets.

## `summary` (type: `string`):

Handle, followers and number of posts fetched per profile or query, plus errors.

# 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 = {
    "profiles": [
        "bsky.app",
        "https://bsky.app/profile/apify.com"
    ],
    "maxPosts": 100,
    "postedAfter": "90 days",
    "includeReplies": false,
    "includeReposts": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("chorelet/bluesky-posts-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 = {
    "profiles": [
        "bsky.app",
        "https://bsky.app/profile/apify.com",
    ],
    "maxPosts": 100,
    "postedAfter": "90 days",
    "includeReplies": False,
    "includeReposts": False,
}

# Run the Actor and wait for it to finish
run = client.actor("chorelet/bluesky-posts-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 '{
  "profiles": [
    "bsky.app",
    "https://bsky.app/profile/apify.com"
  ],
  "maxPosts": 100,
  "postedAfter": "90 days",
  "includeReplies": false,
  "includeReposts": false
}' |
apify call chorelet/bluesky-posts-scraper --silent --output-dataset

```

## MCP server setup

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