# Bluesky Scraper: Keyword Posts & Follower Growth (`kizukidata/bluesky-monitor`) Actor

Monitor Bluesky by keyword or account via AT Protocol: search public posts, get only new posts on a schedule, and track follower, follow, and post growth since the last snapshot. Not affiliated with Bluesky PBC.

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

## Pricing

from $0.49 / 1,000 results

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

### What does Bluesky Scraper do?

Monitor Bluesky (`bsky.app` / AT Protocol) by keyword, account, or both: returns public posts with author, text, language, timestamp, likes, reposts, replies, links, and images, or snapshots account follower, follow, and post counts with run-over-run changes (`followersChange`, `followsChange`, `postsChange`).

Enable `onlyNewItems` on a schedule to pay only for new posts (up to 7 days lookback on first run; 90-day state). Empty input (`{}`) searches `bluesky`; use `mode: "profiles"` to snapshot accounts.

### What data can you get?

Posts mode (`mode: "posts"`):

| Field | Description |
|---|---|
| `id`, `uri`, `cid` | Row ID (a hash of the URI), the AT URI (`at://did/app.bsky.feed.post/rkey`) and the record CID |
| `url` | `https://bsky.app/profile/<handle>/post/<rkey>` |
| `authorDid`, `authorHandle`, `authorName` | The author as Bluesky reports it |
| `text`, `langs`, `createdAt`, `indexedAt` | The post as written, up to 10,000 characters, the declared languages and the timestamps |
| `likeCount`, `repostCount`, `replyCount`, `quoteCount`, `bookmarkCount` | Counters at the time of the run |
| `hasLinks`, `links` | Link facets and the link-card URL (at most 10; links are not followed) |
| `hasImages`, `imageCount`, `imageUrls`, `imageAltTexts` | Images (also next to a quote): count, full-size URLs and the author's alt texts |
| `videoUrl`, `videoThumbnailUrl` | The video's HLS playlist (.m3u8) and thumbnail, or null |
| `linkTitle`, `linkDescription` | The link card's title and description, or null |
| `quotedPostUri`, `quotedPostUrl`, `quotedAuthorHandle`, `quotedText` | The post this post quotes, or null |
| `hashtags`, `mentions` | Hashtags (without `#`) and mentioned handles (without `@`) |
| `labels` | Moderation labels on the post (for example `porn`, `graphic-media`), so you can filter them out |
| `authorAvatar` | The author's avatar image URL |
| `embedType` | The embed: `images`, `external`, `record`, `recordWithMedia`, `video` or null |
| `isReply`, `replyTo` | Whether the post is a reply, and the parent post's URI |
| `isRepost`, `repostedBy` | Whether the row came from an account feed as a repost |
| `matchedQuery`, `matchedAccount` | The keyword, or the account feed, that produced the row |
| `isNew`, `capturedAt` | New since the previous run (`onlyNewItems`), and when the row was read |

Profiles mode (`mode: "profiles"`):

| Field | Description |
|---|---|
| `did`, `handle`, `displayName`, `description`, `url` | The account |
| `accountCreatedAt` | When the account was created |
| `avatar`, `banner` | Avatar and banner image URLs |
| `isVerified`, `isTrustedVerifier` | Bluesky's blue check, and whether the account verifies others |
| `labels`, `pinnedPostUri` | Moderation labels on the account, and its pinned post |
| `listsCount`, `feedsCount`, `starterPacksCount`, `isLabeler` | Lists, custom feeds and starter packs the account has created, and whether it runs a moderation service |
| `followersCount`, `followsCount`, `postsCount` | The counts at this snapshot |
| `previousCapturedAt`, `followersChange`, `followsChange`, `postsChange` | The previous snapshot and the difference; null on the first snapshot |
| `error` | null, or `{type, message}` for an account that could not be read (`not-found`, `suspended`, `deactivated`, `blocked`, `unavailable`, `unexpected`) |

Every row also has `type` (`post` or `profile`) and `source` (the public source of the row). Every row has every field of its mode; a value the post or profile does not provide is `null`. No email address, phone number or other contact detail is extracted.

### How to use Bluesky Scraper

1. Choose the mode: **posts** (default) or **profiles**.
2. For posts, put **Keywords** and/or **Accounts** into the input. A keyword search looks back `lookbackHours` (default 24); an account feed starts at the top of the account's posts.
3. Keep **Only posts not returned before** on for scheduled monitoring, and set `maxItems` to bound the rows (and the cost) of one run.
4. Schedule the Actor (for example hourly or daily) and send the new rows to your alert, sheet or model.

#### Input example

```json
{
    "mode": "posts",
    "queries": ["artificial intelligence", "atproto"],
    "accounts": ["bsky.app"],
    "languages": ["en"],
    "lookbackHours": 24,
    "includeReplies": false,
    "includeReposts": false,
    "onlyNewItems": true,
    "maxItems": 20,
    "postsPerSource": 30
}
```

A profile-growth input:

```json
{
    "mode": "profiles",
    "accounts": ["bsky.app", "jay.bsky.team"],
    "maxItems": 10
}
```

#### Output example (one post row, shortened)

```json
{
    "id": "3f2a9c1d4b7e8a06",
    "type": "post",
    "source": "Bluesky (AT Protocol public AppView)",
    "uri": "at://did:plc:aliceexample0000000000/app.bsky.feed.post/3kzp5g2m4a2",
    "url": "https://bsky.app/profile/alice.bsky.social/post/3kzp5g2m4a2",
    "authorHandle": "alice.bsky.social",
    "authorName": "Alice Example",
    "text": "The AT Protocol spec for XRPC is clearer than I remembered: https://atproto.com/specs/xrpc",
    "langs": ["en"],
    "createdAt": "2026-11-05T04:00:00.000Z",
    "likeCount": 12,
    "repostCount": 4,
    "replyCount": 2,
    "hasLinks": true,
    "links": ["https://atproto.com/specs/xrpc"],
    "hasImages": false,
    "imageCount": 0,
    "embedType": "external",
    "isReply": false,
    "matchedQuery": "atproto",
    "matchedAccount": null,
    "isNew": true,
    "capturedAt": "2026-11-05T04:10:00.000Z"
}
```

### onlyNewItems and repeated runs

`onlyNewItems` keeps a per-input state record (keywords, accounts, languages, reply and repost flags) in a named key-value store. A post is recorded only after its row was written, entries are kept for 90 days, and nothing is recorded for a run that failed or was blocked. The same input run again therefore returns only posts added since. Do not run the same input concurrently: both runs read the old state and both return the same new posts. In profiles mode the previous counts are kept the same way, per input, and a failed account is not remembered, so its next snapshot compares with the last successful one.

### How much does it cost?

Bluesky Scraper uses **pay-per-event** pricing: you pay only for the rows returned (one new post, or one profile snapshot), not for the time it runs. At the Free tier 1,000 rows cost $0.73; at Gold, $0.49.

| Apify plan (discount tier) | Price per 1,000 rows | Price per row |
|---|---|---|
| **Free** | $0.73 | $0.00073 |
| **Starter (Bronze)** | $0.65 | $0.00065 |
| **Scale (Silver)** | $0.57 | $0.00057 |
| **Business (Gold)** | $0.49 | $0.00049 |

Apify's Free plan includes USD 5 of monthly usage, which covers about 6,849 rows at the Free tier price, run start fees aside.

- **Run start fee**: USD 0.00005 per GB of memory per run (a run with up to 1 GB is charged once).
- With `onlyNewItems`, posts returned by earlier runs are **not charged** again, and a run with no new posts costs only the start fee.
- A missing, deleted or blocked account is **not charged**.
- **Maximum results** (`maxItems`) caps the total rows written.

### Limits and the rules of the source

- **Independent tool.** Bluesky Scraper is **not affiliated with, endorsed by or sponsored by** Bluesky PBC.
- **No login, no token, no wasted charges.** Calls Bluesky's public read endpoints over HTTP with no browser, cookie, or write actions. Missing/blocked accounts and posts skipped by `onlyNewItems` are not charged (`profiles` returns a status row; `posts` lists missing accounts in `OUTPUT`).
- **Public data only.** The Actor reads public posts and profiles that anyone can see without an account. It never signs in, and it sends one read request at a time.
- **A search is a window, not an archive.** `lookbackHours` bounds the keyword window (1 to 168 hours) and the first run; a keyword search reads one page of up to `postsPerSource` posts per run (100 at most). For an account that mostly reposts, the Actor reads further back until it has found `postsPerSource` of the account's own posts, so you still get the account's own posts.
- **No login, no token, no browser, no writes.** Nothing is posted, liked, reposted, followed or messaged. Private accounts, direct messages and follower lists are not read. Replies to other people and reposts are left out unless you turn them on; a thread the account writes under its own post comes with its posts.
- **Moderation and deletion.** A post deleted or hidden after it was returned is not returned again, but rows already in your dataset stay. The Actor keeps no copy of the post text, only the post's ID and URL for up to 90 days so it is not delivered twice, and it does not track later deletions. If you learn that a post you received was deleted, remove it from the data you keep: a dataset cannot drop single rows, so leave the post out of your exports and downstream copies, or delete the dataset. Content is returned as Bluesky reports it; no sensitive-content filtering is applied.
- **Rates.** Bluesky's rate-limit documentation says its API services "have generous rate-limits. Please contact us if you encounter rate-limiting." The Actor sends one request at a time with a short gap and stops early if a source starts blocking.

### Integrations and API

Run the Actor from your own code or from an automation tool. Replace `<APIFY_TOKEN>` with your API token.

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/kizukidata~bluesky-monitor/runs?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"queries":["artificial intelligence"],"onlyNewItems":true,"maxItems":20}'
```

Poll `GET https://api.apify.com/v2/actor-runs/<RUN_ID>` for the status, read `defaultDatasetId`, then fetch `GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json`.

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("kizukidata/bluesky-monitor").call(run_input={
    "queries": ["artificial intelligence"],
    "onlyNewItems": True,
    "maxItems": 20,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["authorHandle"], item["createdAt"], item["text"][:80])
```

#### JavaScript

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('kizukidata/bluesky-monitor').call({
    accounts: ['bsky.app'],
    onlyNewItems: true,
    maxItems: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((item) => `${item.authorHandle}: ${item.text.slice(0, 60)}`));
```

#### Zapier, Make and n8n

Use the Apify integration, choose **Run Actor**, and pass `queries` and/or `accounts` with `onlyNewItems: true`. Add **Get dataset items**. In Zapier or Make, trigger the next step once per returned item (a keyword alert, a Slack post, a row in Airtable or Google Sheets). In n8n, use the Apify node, or an HTTP Request node against the run endpoint above, and loop over the items. For profile tracking, set `mode: "profiles"` and map `followersCount` and `followersChange` to your sheet or dashboard.

#### LangChain

Load the rows as documents: use `text` as `page_content` and `authorHandle`, `url`, `createdAt`, `matchedQuery` and `likeCount` as metadata. `ApifyDatasetLoader` from the Apify LangChain integration works with the run's dataset ID; filter on `isNew` to feed only the posts added since the previous run.

#### MCP (Claude, Cursor, n8n and other AI agents)

The Actor is a tool on the hosted Apify MCP server. MCP URL:

```text
https://mcp.apify.com?tools=fetch-actor-details,kizukidata/bluesky-monitor
```

- **Claude Code**: `claude mcp add --transport http apify "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/bluesky-monitor"`
- **Claude Desktop / claude.ai**: Settings → Connectors → Add custom connector, and paste the URL.
- **Cursor** (`~/.cursor/mcp.json`) and other clients that read an `mcpServers` file:

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/bluesky-monitor"
        }
    }
}
```

- **n8n**: add an **MCP Client Tool** node to an AI Agent, set the endpoint to the URL above (HTTP Streamable), and use Bearer authentication with your Apify API token stored as an n8n credential.

The server signs you in to Apify with OAuth. A client that cannot use OAuth, such as the n8n node above, can send your Apify API token in an `Authorization: Bearer <APIFY_TOKEN>` header instead. An agent can ask, for example, "find new Bluesky posts about atproto since the last check" and call the Actor with `{"queries":["atproto"],"maxItems":20}`, or "how many followers did bsky.app gain" with `{"mode":"profiles","accounts":["bsky.app"]}`. An empty input returns the sample keyword's recent posts. Keep `maxItems` small (the default is 20) so the call returns inside the MCP timeout; each row carries the post or the profile snapshot.

### Related Kizuki Actors

Other Actors from Kizuki that work well with this one:

- [Telegram Channel Scraper](https://apify.com/kizukidata/telegram-channel-feed) — the same watch over public Telegram channels, with views and reactions.
- [Google News Scraper](https://apify.com/kizukidata/google-news-feed) — news coverage of the keywords you follow on Bluesky.
- [YouTube Channel Scraper & Monitor](https://apify.com/kizukidata/youtube-channel-monitor) — new videos and channel stats for the same brands and creators.
- [URL to Markdown](https://apify.com/kizukidata/url-to-markdown) — the pages behind the links in the posts, as clean text for LLMs.

# Actor input Schema

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

"posts" (default): search/account posts (1 row/post). "profiles": 1 snapshot/account with follower, follow, and post counts plus diffs vs. prior run.

## `queries` (type: `array`):

Up to 10 search phrases (2-100 chars). Searches lookbackHours newest first; skips seen posts with onlyNewItems. Empty queries+accounts searches "bluesky".

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

Up to 50 Bluesky handles (alice.bsky.social), DIDs (did:plc:...), or profile URLs. Required in profiles mode; reads author feed in posts mode.

## `languages` (type: `array`):

BCP-47 language codes such as en or ja, up to 3. One search request per phrase and language. Empty searches every language.

## `lookbackHours` (type: `integer`):

Keyword search lookback window (1-168 hours) and first-run bound before state exists. Ignored for account feeds.

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

true includes replies to other users; false (default) keeps own posts and self-threads only. Keyword searches can match replies either way.

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

Also return posts the account reposted, with isRepost true and repostedBy set. Off by default: a monitor usually wants what the account wrote.

## `onlyNewItems` (type: `boolean`):

true skips posts delivered by prior runs with the same queries/accounts/languages (90-day state); false returns whole window. Failed runs retry.

## `maxItems` (type: `integer`):

Max rows per run (1-500, default 20 to fit MCP 30s timeout). Fair-shared across sources in posts mode; excess rows are not charged.

## `postsPerSource` (type: `integer`):

Posts fetched per keyword or account before maxItems (1-100). Scans further back on repost-heavy accounts to find own posts.

## `proxyConfiguration` (type: `object`):

Proxy settings. The default uses no proxy. Residential proxies are not available.

## Actor input object example

```json
{
  "mode": "posts",
  "queries": [
    "artificial intelligence",
    "atproto"
  ],
  "accounts": [
    "bsky.app",
    "https://bsky.app/profile/jay.bsky.team"
  ],
  "languages": [
    "en"
  ],
  "lookbackHours": 24,
  "includeReplies": false,
  "includeReposts": false,
  "onlyNewItems": true,
  "maxItems": 20,
  "postsPerSource": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

New posts, or profile snapshots, returned by this run.

## `runSummary` (type: `string`):

Status code, counters and skipped input entries of this run.

# 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 = {
    "mode": "posts",
    "queries": [],
    "accounts": [],
    "languages": [],
    "lookbackHours": 24,
    "includeReplies": false,
    "includeReposts": false,
    "onlyNewItems": true,
    "maxItems": 20,
    "postsPerSource": 30,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kizukidata/bluesky-monitor").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 = {
    "mode": "posts",
    "queries": [],
    "accounts": [],
    "languages": [],
    "lookbackHours": 24,
    "includeReplies": False,
    "includeReposts": False,
    "onlyNewItems": True,
    "maxItems": 20,
    "postsPerSource": 30,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("kizukidata/bluesky-monitor").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 '{
  "mode": "posts",
  "queries": [],
  "accounts": [],
  "languages": [],
  "lookbackHours": 24,
  "includeReplies": false,
  "includeReposts": false,
  "onlyNewItems": true,
  "maxItems": 20,
  "postsPerSource": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call kizukidata/bluesky-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kizukidata/bluesky-monitor"
        }
    }
}
```

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/KxLbNYnZH8yM1rx70/builds/EPPut8rzLzkMndfxF/openapi.json
