# Bluesky Scraper & Keyword Monitor: Posts, Mentions & Stream (`latamdatatools/bluesky-keyword-monitor`) Actor

Track mentions of your brand, product, competitors, hashtags or any keyword on Bluesky: posts with likes, reposts, replies, links, hashtags and author handle. Search with your own app password or listen to the live stream with no login. Only new posts per run, webhook alerts.

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

## Pricing

from $1.00 / 1,000 bluesky posts

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 Scraper & Keyword Monitor: Posts, Mentions & Stream

Know when **Bluesky** talks about **your brand, your product, your competitors, a hashtag or any keyword**. Every matching post comes with text, likes, reposts, replies, quotes, links, hashtags, mentions, language and the author's handle, plus a direct link.

Two ways to run it:

- **Search mode** (your own Bluesky login): Bluesky's official search over the last days. Bluesky requires a login for search, so you add **your handle and an app password** (Settings > Privacy and security > App passwords). The Actor never uses an account of its own.
- **Live mode** (no login at all): listens to the public **Jetstream** stream of every new Bluesky post for the time you choose and keeps the ones that match. With **only new** turned on, each scheduled run first **catches up on everything published since the previous run** (up to 2 hours back), so an hourly schedule misses nothing.

Schedule it, turn on **only new**, and connect the dataset (or the built-in **webhook**) to Slack, email, Google Sheets, Make, Zapier or n8n for instant alerts.

### What does Bluesky Scraper do?

Bluesky Scraper tracks mentions of your brand, product, competitors, hashtags or any keyword on Bluesky: posts with likes, reposts, replies, links, hashtags and author handle. Search with your own Bluesky app password or listen to the public live stream with no login, and get only new posts per run with webhook alerts.

### How to use Bluesky Scraper

1. Click **Try for free** on this page (a free Apify account is enough to start).
2. Fill in the input (see the examples below) or keep the prefilled example.
3. Click **Start** and wait for the run to finish.
4. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or read them with the Apify API.
5. Optional: create a **Schedule** to run it daily or weekly, and connect a webhook or an integration (Make, Zapier, n8n, Slack).

### Who uses it

- **Marketing and PR**: brand mentions, campaign hashtags, crisis early warning.
- **Founders and DevRel**: who is talking about your product or library, and where to join the conversation.
- **Competitive intelligence**: launches and reactions around competitors.
- **Researchers**: collect posts on a topic over time.

### Features

- Several keywords per run; phrases are matched as exact phrases; `#hashtags` and domains work too.
- **Exact word match** on by default (text, link URLs, link card title and image alt text).
- Filters: languages, exclude replies, minimum likes / reposts, authors to exclude.
- Posts found by several keywords appear once, with all `matchedKeywords`.
- **Only new** mode with separate memory per alert name.
- Optional **webhook**: the new posts are POSTed as JSON at the end of the run.
- **Privacy by design**: only posts that match your keywords. No follower lists, no profile scraping (no bios, avatars or follower counts).

### Input example

```json
{
  "keywords": ["apify", "web scraping", "#opensource"],
  "mode": "auto",
  "identifier": "yourname.bsky.social",
  "appPassword": "xxxx-xxxx-xxxx-xxxx",
  "daysBack": 3,
  "languages": ["en"],
  "onlyNew": true,
  "alertName": "brand-hourly",
  "webhookUrl": "https://hooks.zapier.com/hooks/catch/..."
}
```

Without `identifier` / `appPassword` the same input runs in live mode.

### Output

```json
{
  "uri": "at://did:plc:abc.../app.bsky.feed.post/3mysui4xabs24",
  "url": "https://bsky.app/profile/someone.bsky.social/post/3mysui4xabs24",
  "text": "Just moved our scrapers to Apify, so much easier...",
  "createdAt": "2026-10-26T23:22:57.100Z",
  "authorHandle": "someone.bsky.social",
  "authorDisplayName": "Someone",
  "authorDid": "did:plc:abc...",
  "likeCount": 4,
  "repostCount": 1,
  "replyCount": 2,
  "quoteCount": 0,
  "langs": ["en"],
  "isReply": false,
  "links": ["https://apify.com/store"],
  "hashtags": ["webscraping"],
  "mentions": ["alice.bsky.social"],
  "embedType": "external",
  "imageCount": 0,
  "matchedKeywords": ["apify"],
  "source": "search",
  "fetchedAt": "2026-10-26T23:30:00.000Z"
}
```

Newest first. In live mode the counts are a snapshot taken right after posting, so they are usually 0.

### Pricing

Pay per event:

- **USD 0.01 per run** (start).
- **USD 1 per 1,000 posts** returned (USD 0.001 each).

Filtered posts, duplicates across keywords and (in only-new mode) posts already delivered are **not charged**. A run with no new mentions costs only the start fee.

### Notes

- Search uses `app.bsky.feed.searchPosts` with your session; live mode uses the public Jetstream service and the public `getPosts` API to add author handles. Requests are paced and retried on rate limits.
- Bluesky search returns what its index has; very common words may hit the per-keyword limit.
- Live mode only sees posts published while it listens (plus the catch-up window in only-new mode). Use search mode for history.
- Respect Bluesky's Community Guidelines and the privacy of the people you monitor; do not use the data to harass anyone.

### Cost examples

Prices at the current pay-per-event rate: USD 0.01 per run and USD 1.00 per 1,000 posts (filtered posts, duplicates and posts already delivered in only-new mode are free). You can set a maximum charge per run in the run options.

| Job | Approximate cost |
|---|---|
| Test run: 2 keywords, live mode for 30 s (measured: 8 posts, 37 s) | about $0.018 |
| Hourly brand monitor in only-new mode (~20 new posts) | about $0.03 per run |
| Search mode with your app password: 1,000 posts about a topic | about $1.01 |
| Daily check of 5 keywords (~100 posts) | about $0.11 per run |

### Use it from your code, an integration or an AI agent

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("latamdatatools/bluesky-keyword-monitor").call(run_input={
  "keywords": [
    "apify",
    "web scraping"
  ],
  "mode": "auto",
  "listenSeconds": 60,
  "onlyNew": True,
  "alertName": "brand-hourly"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["createdAt"], item["authorHandle"], item["url"])
```

**JavaScript / Node.js** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('latamdatatools/bluesky-keyword-monitor').call({
  keywords: [
    'apify',
    'web scraping'
  ],
  mode: 'auto',
  listenSeconds: 60,
  onlyNew: true,
  alertName: 'brand-hourly'
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => [i.authorHandle, i.url]));
```

**No code:**

- **Schedules:** save your input as a Task and run it every hour from Apify Console (Schedules).
- **Integrations:** send the results to Google Sheets, Slack, email, Make, Zapier, n8n or Airbyte from the Integrations tab, or call your own webhook when a run finishes.
- **AI agents:** add it as a tool in Claude, Cursor, VS Code and other MCP clients through the Apify MCP server (`https://mcp.apify.com`), so the agent can check what people post on Bluesky about a brand or topic.

### FAQ

**Can I call it from my own code or from an AI agent?** Yes. Start runs and fetch results with the Apify API or the JavaScript / Python clients, or use it as a tool from Claude, Cursor and other MCP clients through the Apify MCP server (`mcp.apify.com`).

**Can I run it automatically?** Yes. Create a Schedule in Apify Console (for example every morning) and add a webhook or an integration to get the results where you need them.

**Which export formats are available?** JSON, JSONL, CSV, Excel (XLSX), XML, RSS and HTML table, from the Output tab or the API.

**What does it cost?** See the Pricing section above. You only pay for the events listed there.

### Changelog

- 0.1 (2026-10): first version.

# Actor input Schema

## `keywords` (type: `array`):

Brands, products, competitors, hashtags (#tag), domains... One per line. Phrases with spaces are matched as exact phrases.

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

Search = Bluesky's search over the last days (needs YOUR handle + app password, Bluesky requires login for search). Live = listen to all new posts for a few minutes, no login needed; with "only new" each run also catches up on the posts published since the previous run. Auto = search if you add a login, otherwise live.

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

e.g. yourname.bsky.social. Used only to log in to Bluesky's search API.

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

Create one in Bluesky: Settings > Privacy and security > App passwords. Never use your main password. Stored encrypted by Apify, never logged or saved in the results.

## `pdsUrl` (type: `string`):

Only change it if your account is on a self-hosted PDS.

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

Search window. With "only new", later runs start from the last post seen (never before this window).

## `listenSeconds` (type: `integer`):

How long to listen to new posts after catching up.

## `maxCatchUpMinutes` (type: `integer`):

With "only new", a scheduled run first replays the posts published since the previous run, up to this many minutes back (0 = no catch-up). Schedule the Actor at least this often to miss nothing.

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

Optional ISO codes (en, es, pt, de, ja...). Empty = all languages.

## `strictMatch` (type: `boolean`):

Keep only posts where the keyword appears as a whole word or phrase (text, links, link card title or image alt text).

## `excludeReplies` (type: `boolean`):

Only top-level posts.

## `minLikes` (type: `integer`):

Search mode mostly: in live mode posts are brand new and have few likes.

## `minReposts` (type: `integer`):

Ignore posts with fewer reposts.

## `excludeAuthors` (type: `array`):

Handles (or DIDs) to ignore, e.g. your own team.

## `onlyNew` (type: `boolean`):

Remember the posts already delivered (per alert name) and return only new ones. Perfect for scheduled alerts.

## `alertName` (type: `string`):

Separate memory per name, so different schedules do not mix.

## `webhookUrl` (type: `string`):

POST the new posts as JSON to this URL at the end of the run (Slack/Zapier/Make/n8n catch hooks). Only called when there is at least one post.

## `maxPostsPerKeyword` (type: `integer`):

Upper limit of matching posts read per keyword.

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

Your max charge per run is respected too.

## Actor input object example

```json
{
  "keywords": [
    "bluesky",
    "open source"
  ],
  "mode": "auto",
  "pdsUrl": "https://bsky.social",
  "daysBack": 3,
  "listenSeconds": 60,
  "maxCatchUpMinutes": 30,
  "strictMatch": true,
  "excludeReplies": false,
  "minLikes": 0,
  "minReposts": 0,
  "onlyNew": false,
  "alertName": "default",
  "maxPostsPerKeyword": 500,
  "maxPosts": 2000
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "keywords": [
        "bluesky",
        "open source"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("latamdatatools/bluesky-keyword-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 = { "keywords": [
        "bluesky",
        "open source",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("latamdatatools/bluesky-keyword-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 '{
  "keywords": [
    "bluesky",
    "open source"
  ]
}' |
apify call latamdatatools/bluesky-keyword-monitor --silent --output-dataset

```

## MCP server setup

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