# Bluesky Posts Scraper: Search, Profiles, Feeds, New Posts Only (`clearfeed/bluesky-posts-scraper`) Actor

Get Bluesky posts by keyword or hashtag, from any profile, custom feed or list: text, author, likes, reposts, replies, quotes, images, video and links. Official Bluesky API, no proxies. Return only posts new since the last run to monitor brands and topics on a schedule.

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

## Pricing

$1.00 / 1,000 post returneds

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: Search, Profiles, Feeds, New Posts Only

Get **Bluesky posts by keyword or hashtag, from any profile, custom feed or list**. For each post you get the text, author, likes, reposts, replies, quotes, images, video, link preview, hashtags, mentions and the quoted post. Optionally add each author's follower count and bio.

- **Official Bluesky API, no proxies:** stable results and exact engagement numbers, not scraped HTML
- **Monitoring mode:** turn on *Only new posts since last run*, schedule the Actor, and receive only fresh posts each time
- **Three sources in one run:** search queries, profiles, feeds and lists, mixed freely
- **Filters:** posted within N days, language, minimum likes, with or without replies and reposts
- **One bad input never breaks the run:** a missing profile is reported in the summary and the rest continues

### What can you do with it?

- **Brand and keyword monitoring:** get every new post that mentions your brand, product or competitor, pushed to Slack, a spreadsheet or your own app
- **Influencer and lead discovery:** search a topic with *Add author followers and bio* and sort authors by audience
- **Competitor and news tracking:** follow a set of accounts and receive only what they posted since yesterday
- **Research and sentiment analysis:** collect posts on a topic with dates, languages and engagement
- **AI agents and RAG:** feed clean post text with links and dates into an LLM pipeline

### Input

| Field | Description |
|---|---|
| `searchQueries` | Keywords, phrases or hashtags. Search operators work: `from:handle`, `mentions:handle`, `domain:example.com`, `"exact phrase"` |
| `profiles` | `bsky.app`, `@jay.bsky.team`, a profile link or a DID |
| `feeds` | Links to custom feeds or lists, e.g. `https://bsky.app/profile/bsky.app/feed/whats-hot` |
| `maxPostsPerSource` | Limit per query, profile or feed. Default 100. Leave empty for everything available |
| `postedWithinDays` | Keep only posts from the last N days |
| `searchSort` | `latest` (default) or `top` |
| `language` | Two-letter code such as `en` |
| `minLikes` | Keep only posts with at least this many likes |
| `includeReplies` | Also return a profile's replies. Default off |
| `includeReposts` | Also return reposts from profiles and feeds. Default on |
| `includeAuthorStats` | Add followers, following, post count and bio of each author |
| `onlyNew` | Return only posts not returned by earlier runs with the same sources |
| `blueskyHandle`, `blueskyAppPassword` | Optional. Only for more than 100 posts per search query (see FAQ) |

```json
{
  "searchQueries": ["apify", "#webscraping"],
  "profiles": ["bsky.app"],
  "maxPostsPerSource": 100,
  "postedWithinDays": 7,
  "includeAuthorStats": true,
  "onlyNew": true
}
```

### Output

One item per post:

```json
{
  "id": "at://did:plc:oky5czdrnfjpqslsw2a5iclo/app.bsky.feed.post/3mznxzxtqns2k",
  "url": "https://bsky.app/profile/jay.bsky.team/post/3mznxzxtqns2k",
  "text": "good fall colors",
  "createdAt": "2026-11-06T18:08:29.879Z",
  "indexedAt": "2026-11-06T18:08:34.772Z",
  "languages": ["en"],
  "authorHandle": "jay.bsky.team",
  "authorName": "Jay 🦋",
  "authorDid": "did:plc:oky5czdrnfjpqslsw2a5iclo",
  "authorAvatar": "https://cdn.bsky.app/img/avatar/plain/...",
  "authorVerified": true,
  "authorFollowers": 594410,
  "authorFollowing": 3994,
  "authorPosts": 4186,
  "authorBio": "Founder & Chief Innovation Officer @ Bluesky ...",
  "likes": 865,
  "reposts": 51,
  "replies": 30,
  "quotes": 2,
  "bookmarks": 7,
  "hashtags": [],
  "mentions": [],
  "links": [],
  "images": [{ "url": "https://cdn.bsky.app/img/feed_fullsize/plain/...", "thumbnail": "https://cdn.bsky.app/img/feed_thumbnail/plain/...", "alt": "yellow leaves against sky" }],
  "video": null,
  "linkPreview": null,
  "quotedPost": null,
  "isReply": false,
  "replyToUri": null,
  "threadRootUri": null,
  "isRepost": false,
  "repostedBy": null,
  "repostedAt": null,
  "isPinned": false,
  "labels": [],
  "source": { "type": "profile", "value": "jay.bsky.team" },
  "scrapedAt": "2026-11-16T18:03:24.357Z"
}
```

`authorFollowers`, `authorFollowing`, `authorPosts` and `authorBio` are filled when *Add author followers and bio* is on, otherwise `null`. `mentions` holds the DIDs of mentioned accounts. A per-source summary of the run is saved under the `SUMMARY` key in the key-value store.

### Pricing

Pay per result: you are charged only for posts actually returned. Sources with no matching posts cost nothing, and in *Only new* mode you never pay twice for the same post.

### FAQ

**Do I need a Bluesky account?** No, for profiles, feeds, lists and the first 100 posts of each search query. Bluesky serves deeper search results only to signed-in clients, so to get more than 100 posts per query add your handle and an **app password** (Bluesky > Settings > Privacy and security > App passwords). An app password is not your main password, cannot change account settings and can be revoked at any time. It is stored encrypted.

**How do I get more than 100 search results without signing in?** Split the topic into several narrower queries, or schedule the Actor with *Only new* turned on: each run picks up the latest posts, so nothing is missed on topics with fewer than 100 new posts between runs.

**How does *Only new* work?** The Actor remembers what it returned for the same set of sources. For profiles, lists and *latest* search it stops as soon as it reaches posts from the previous run, so scheduled runs are fast and cheap. Algorithmic feeds such as *What's Hot* are not ordered by time, so there it returns posts it has not returned before.

**Are media files downloaded?** No. You get direct URLs to images, and for videos the streaming playlist and thumbnail.

**Does it collect followers, likers or private data?** No. Only public posts and the public profile fields of their authors.

**Need another field?** Open an issue on the Issues tab.

# Actor input Schema

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

Keywords, phrases or hashtags: `apify`, `"web scraping"`, `#buildinpublic`. Bluesky search operators work too: `from:bsky.app`, `mentions:handle`, `domain:nytimes.com`.

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

Accounts whose posts you want: `bsky.app`, `@jay.bsky.team`, `https://bsky.app/profile/bsky.app` or a DID.

## `feeds` (type: `array`):

Links to custom feeds or lists, for example `https://bsky.app/profile/bsky.app/feed/whats-hot`.

## `maxPostsPerSource` (type: `integer`):

Leave empty to get everything available. Search without sign-in is limited by Bluesky to the first 100 posts per query.

## `postedWithinDays` (type: `integer`):

Keep only posts from the last N days.

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

Applies to search queries.

## `language` (type: `string`):

Two-letter code such as `en`, `de`, `ja`. Keeps only posts marked with this language.

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

Keep only posts with at least this many likes.

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

Also return the account's replies to other posts.

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

Also return posts the account reposted.

## `includeAuthorStats` (type: `boolean`):

Add follower count, following count, post count and bio of each post's author. Useful for finding influential accounts.

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

Remember posts returned in previous runs and return only ones not seen before. Ideal for scheduled monitoring and alerts.

## `blueskyHandle` (type: `string`):

Only needed to get more than 100 posts per search query. Profiles, feeds and lists never need it.

## `blueskyAppPassword` (type: `string`):

An app password such as `abcd-efgh-ijkl-mnop`. Stored encrypted.

## Actor input object example

```json
{
  "searchQueries": [
    "#buildinpublic"
  ],
  "profiles": [
    "bsky.app"
  ],
  "maxPostsPerSource": 100,
  "searchSort": "latest",
  "includeReplies": false,
  "includeReposts": true,
  "includeAuthorStats": false,
  "onlyNew": false
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "searchQueries": [
        "#buildinpublic"
    ],
    "profiles": [
        "bsky.app"
    ]
};

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

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

```

## MCP server setup

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