# Bluesky Posts Scraper (`properscraper/bluesky-posts-scraper`) Actor

Export the public posts of any Bluesky profile: text, date, likes, reposts, replies, quotes, images, links and hashtags. Uses the official public Bluesky API, with no login.

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

## Pricing

from $0.50 / 1,000 post saveds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Posts Scraper

Export the public posts of any Bluesky profile. For each post you get the text, date, like, repost, reply and quote counts, images, video, links, hashtags and a link to the post.

It uses Bluesky's official public API. No login, no cookies and no API key are needed.

Use it to:

- track what a brand, competitor, journalist or public figure posts
- measure engagement over time for a set of accounts
- collect posts for research or sentiment analysis
- archive your own account's posts

### Input

| Field | What it does |
|---|---|
| **Profiles** | One profile per line: a handle (`bsky.app`, `name.bsky.social`) or a profile link. |
| **Maximum posts per profile** | Stop after this many posts for each profile, newest first. Default 100. |
| **What to include** | The profile's posts, its posts and replies, or only posts with images or video. |
| **Include reposts** | Also return other people's posts that the profile reposted. |
| **Posted on or after** | Only posts from this date onwards. |

```json
{
    "profiles": ["bsky.app", "https://bsky.app/profile/apify.com"],
    "maxPostsPerProfile": 500,
    "include": "posts",
    "postedAfter": "2026-01-01"
}
```

### Output

One record per post, newest first:

```json
{
    "profile": "bsky.app",
    "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3m4xyzabc222",
    "url": "https://bsky.app/profile/bsky.app/post/3m4xyzabc222",
    "text": "We're seeing 200% of our usual data traffic, and climbing!",
    "createdAt": "2026-11-04T04:03:40.249Z",
    "languages": ["en"],
    "authorHandle": "bsky.app",
    "authorName": "Bluesky",
    "authorDid": "did:plc:z72i7hdynmk6r22z27h6tvur",
    "isRepost": false,
    "repostedBy": null,
    "repostedAt": null,
    "isReply": false,
    "replyToUri": null,
    "likeCount": 19724,
    "repostCount": 6930,
    "replyCount": 181,
    "quoteCount": 191,
    "hashtags": [],
    "links": [],
    "images": [{ "url": "https://cdn.bsky.app/img/feed_fullsize/plain/...", "alt": "Steeply climbing chart" }],
    "videoUrl": null,
    "externalLink": null,
    "quotedPostUri": null,
    "scrapedAt": "2026-11-11T22:30:00.000Z"
}
```

- `profile` is the line of input the post was found under.
- For a repost, `isRepost` is `true`, the `author` fields describe the original author, and `repostedBy` and `repostedAt` say who reposted it and when.
- `links` lists the links in the text and in the link card. `externalLink` is the link card with its title and description.
- `videoUrl` is the address of the video's streaming playlist.
- `quotedPostUri` and `replyToUri` identify the post being quoted or replied to.

A `SUMMARY` record in the run's key-value store lists, for each profile, how many posts were saved and any error.

### Pricing

Pay per result. You are charged once for each post saved to the dataset, at the per-result price shown on this page.

Profiles that cannot be found cost nothing. The run stops as soon as it reaches the maximum charge you set for it.

### Limits

- The Actor reads posts by profile. It does not search posts by keyword: Bluesky's public API does not offer keyword search without logging in, and this Actor does not log in.
- Only public profiles can be read. Profiles that ask to be hidden from logged-out visitors may return nothing.
- Counts are as of the time of the run.
- With **Posted on or after**, a repost counts by the date it was reposted.
- Requests are spaced out to stay far below the API's published limits.

### Is this allowed?

The Actor uses Bluesky's public API, which Bluesky provides for reading public content without logging in. Posts are returned with the public handle and display name of their author. You are responsible for how you use the data, including any personal data in it.

# Actor input Schema

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

One Bluesky profile per line: a handle such as bsky.app or name.bsky.social, or a profile link such as https://bsky.app/profile/bsky.app.

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

Stop after this many posts for each profile, newest first.

## `include` (type: `string`):

The profile's own posts, its posts and its replies to other people, or only posts with images or video.

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

Also return other people's posts that the profile reposted. They are marked with "isRepost": true.

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

Only return posts from this date onwards (YYYY-MM-DD). Reading stops at the first older post, so this also keeps runs short.

## Actor input object example

```json
{
  "profiles": [
    "bsky.app"
  ],
  "maxPostsPerProfile": 100,
  "include": "posts",
  "includeReposts": false
}
```

# Actor output Schema

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

Every post saved by the run, one record per post.

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

Totals for the run and, for each profile, how many results were saved and any error.

# 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"
    ]
};

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

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

```

## MCP server setup

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