# Bluesky Scraper — Posts, Likes, Reposts & Account Stats (`tidyfeed/bluesky-scraper`) Actor

Posts from any Bluesky account, newest first: text, likes, reposts, replies, quotes, media, links and dates, one row per post. Or one summary row per account: followers, posts per week, median likes, media and repost share. Reads Bluesky's public API. No login, no API key, no proxies.

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

## Pricing

from $1.05 / 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, Likes, Reposts & Account Stats

**What is this account posting, how often, and how much of it lands?**

Every post from any Bluesky account, newest first, one row per post: the text, likes, reposts, replies, quotes, what media it carries, the links and hashtags in it, whether it is a reply or a repost and of whom, and when it went out. Or flip the switch and get one summary row per account — followers, posts per week, median likes, likes per thousand followers, reply and repost share — for a whole list of accounts in one run.

No login. No API key. No app password. No proxies.

***

### Two modes

**Posts — one row per post.** The default. Point it at a handle and get its recent posts as a table you can filter by likes, media type or date. Replies are off by default and reposts are on; both are switches. Ask for more with the cap and it walks back page by page.

**Summary — one row per account.** Give it fifty handles and get fifty rows you can sort: who has the followers, who actually gets likes per follower, who posts daily and who has gone quiet, who mostly reposts, who mostly replies.

***

### What you get

#### Posts mode

**The post** — `text`, `langs`, `links`, `mentions`, `hashtags`, `mediaType` (`images`, `video`, `link`, `quote`, `none`), `imageUrls`, `imageAlts`, `videoThumbnailUrl`, `externalUrl`, `externalTitle`, `labels`

**How it did** — `likes`, `reposts`, `replies`, `quotes`, `bookmarks`, `engagement` (likes + reposts + replies + quotes)

**What kind of post** — `isReply` and `replyToUrl`, `isRepost` and `repostedAt` (the row's author is then the original poster, the `account` column is who reposted it), `isQuote` with `quotedPostUrl`, `quotedAuthorHandle`, `quotedText`

**Who and when** — `account` (as you typed it), `authorHandle`, `authorDisplayName`, `authorDid`, `createdAt`, `daysSincePosted`, `indexedAt`, `postUrl`, `postUri`

#### Summary mode

`account`, `handle`, `displayName`, `profileUrl`, `description`, `followers`, `follows`, `postsTotal`, `verified`, `accountCreatedAt`, `accountAgeDays`, `itemsRead`, `originalPostsRead`, `postsLast7d`, `postsLast30d`, `postsPerWeek`, `activityLast7d`, `activityLast30d`, `activityPerWeek`, `medianLikes`, `averageLikes`, `medianReposts`, `medianReplies`, `medianEngagement`, `likesPerThousandFollowers`, `repostSharePercent`, `replySharePercent`, `mediaPostsPercent`, `linkPostsPercent`, `quotePostsPercent`, `latestActivityAt`, `daysSinceLastActivity`, `oldestItemReadAt`, `avatarUrl`, `did`, `status`

"Posts" in the summary means the account's own top-level posts. "Activity" means everything it put in its feed: posts, replies and reposts. Engagement medians are computed on the account's own top-level posts only, so a heavy reposter's numbers are not the numbers of the people it reposts.

***

### Typical uses

- **Monitor accounts in your market.** Posts mode with `daysBack: 7` on a schedule — a dated log of everything a set of accounts published, with likes and reposts at that moment.
- **Vet an account before a partnership or a sponsorship.** Summary mode: followers alone say little; `likesPerThousandFollowers` and `postsPerWeek` say whether anyone is reading.
- **Track your own account.** Which posts got the likes and the reposts, which media type works, what got quoted.
- **Research.** Public statements with permanent links, reposts and their sources, quote chains.

***

### Input

| Field | What it does |
|---|---|
| `accounts` | Handles, profile links or DIDs: `bsky.app`, `@nytimes.com`, `https://bsky.app/profile/theonion.com`, `did:plc:…`. |
| `mode` | `posts` (default) or `summary`. |
| `daysBack` | `0` for no date filter; `7` or `30` for a window. |
| `maxPosts` | Cap per account, newest first. Default 100; up to 10,000. Bluesky serves 100 per page. |
| `includeReplies` | Posts mode. Off by default. |
| `includeReposts` | Posts mode. On by default; rows are marked `isRepost`. |

***

### What it costs

**$1.50 per 1,000 posts** in posts mode, **$10.00 per 1,000 account summaries** in summary mode, plus $0.005 per run. Apify's Starter, Scale and Business plans get 10%, 20% and 30% off.

You pay for rows delivered. An account that does not exist, is deactivated or suspended, or a window that matches nothing costs nothing.

***

### How it works

Bluesky runs on the AT Protocol, and its public app view answers read-only questions — a profile, an account's feed — to anyone, in JSON, without an account. This actor asks those two questions and nothing else: no login, no app password, no proxies, no HTML parsing. Rich-text facets are decoded so links, mentions and hashtags come out as columns; embeds are classified so you know whether a post carried images, a video, a link card or a quote.

***

### Honest limits

- **Accounts only, no keyword search.** Bluesky's search endpoint refuses requests from datacenter addresses, so a search mode would fail on Apify's servers. It is not offered rather than offered badly.
- **What you see is what Bluesky's public view shows.** Posts the author deleted are gone; posts behind a block or a moderation takedown are not there. Accounts that are deactivated or suspended are reported as such and return no rows.
- **`createdAt` is written by the posting client** and is occasionally wrong (a mis-set clock, a backdated import). It is normalised to UTC as-is; `indexedAt` is the time Bluesky first saw the post and is always reliable.
- **Counts are the counts at run time.** Likes and reposts keep moving; a scheduled run gives you the curve.
- **Cadence figures in summary mode are computed from the items read.** If the cap is reached before the 30-day window is covered, `postsLast7d`, `postsLast30d`, `postsPerWeek` and the activity figures are left empty rather than reported as a floor, and `status` says so. Raise the cap to fill them in.
- **A quoted post that has since been deleted** keeps its `quotedPostUrl` but has no author or text.
- **Bluesky rate-limits heavy readers.** Pages are read one at a time with a short pause; a run on hundreds of accounts at once may see HTTP 429, which is reported per account rather than failing the run.

***

### Scheduling

Accounts post daily. Schedule posts mode with `daysBack: 7` on your list and each run adds the week's posts with their counts at that moment; schedule summary mode weekly and you have a dated record of followers, cadence and reach over time.

***

### Legal

This actor reads only what Bluesky's public app view serves to anyone without authentication. It requires no account and bypasses no access control. Bluesky posts are public by design of the protocol; the actor returns the author handle Bluesky itself displays. You remain responsible for how you use the exported data.

***

Questions, or an account that behaves oddly? Open an issue on the actor — issues are read and answered.

# Actor input Schema

## `accounts` (type: `array`):

Handles, profile links or DIDs: bsky.app, @nytimes.com, https://bsky.app/profile/bsky.app and did:plc:… all work. Accounts that do not exist, are deactivated or suspended are reported as such and return no rows.

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

"Posts" gives one row per post from the accounts listed. "Summary" gives one row per account: followers, posts per week, median likes, media and repost share, computed from the feed it reads.

## `daysBack` (type: `integer`):

Leave at 0 for no date filter. Set 7 or 30 to track what was posted since the last run. Applies in both modes.

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

Upper limit per account, newest first. Bluesky serves 100 posts per page. In summary mode this is how many feed items the figures are computed from.

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

Off by default: only the account's own top-level posts. Turn on to also get the replies it wrote, each marked with isReply and the post it answers. Summary mode always reads replies so the reply share is real.

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

On by default: posts the account reposted appear as rows marked isRepost with the original author. Turn off to keep only what the account wrote itself. Summary mode always reads reposts so the repost share is real.

## Actor input object example

```json
{
  "accounts": [
    "bsky.app",
    "@nytimes.com",
    "https://bsky.app/profile/theonion.com"
  ],
  "mode": "posts",
  "daysBack": 0,
  "maxPosts": 100,
  "includeReplies": false,
  "includeReposts": true
}
```

# Actor output Schema

## `rows` (type: `string`):

No description

## `rowsCsv` (type: `string`):

No description

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

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

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

```

## MCP server setup

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