# Bluesky Posts Scraper - Search, Profiles, Threads, No Login (`dottti/bluesky-posts`) Actor

Public Bluesky posts by keyword (author, mention, hashtag, domain, language and date filters, latest or top), profile posts by handle, full threads with replies, and profile rows with followers. New-post alerts. No account needed.

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

## Pricing

from $0.56 / 1,000 post delivereds

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 Posts Scraper: Search, Profiles, Threads, No Login

Get public Bluesky posts and profiles. Search posts by keyword with filters. Get the latest posts of any profile. Get a full thread with its replies. Get profile rows with followers, following and post counts.

No Bluesky account, no app password, no cookies, no browser. The actor reads the public Bluesky API (the AT Protocol AppView) that the Bluesky app uses for logged-out visitors.

### Who it is for

- **Brand and PR teams** who track mentions of a brand, product or handle, and want only the new posts each day.
- **Social media managers** who compare their own account with competitors: likes, reposts, replies and quotes per post.
- **Researchers and journalists** who collect public posts on a topic, by language and date.
- **AI pipelines and agents** that need clean JSON: text, author, time, counts, links, hashtags, mentions, images and video.

### What you can collect

| Input | Example | What you get |
|---|---|---|
| Search terms | `climate`, `"heat wave"`, `#AI` | Posts that match, newest first or Bluesky's top ranking. |
| Profiles | `nytimes.com`, `@name.bsky.social`, `https://bsky.app/profile/bsky.app` | One profile row and the latest posts of each profile. |
| Post links | `https://bsky.app/profile/drkatemarvel.bsky.social/post/3mzibow33v22d` | The post, the posts above it when it is a reply, and its replies. |

Search filters:

- **Language** (en, ar, fr, es and others).
- **From author** (one handle).
- **Mentions** (posts that tag a handle).
- **Hashtags** (all must match).
- **Links to domain** (posts that link to a website).
- **Posted since** and **Posted until** (a date or a relative time such as 7 days).
- **Sort**: latest or top.

You can also use filters with no search term. For example, set only **Mentions** to `yourbrand.com` to get recent posts that tag your brand.

Profile options: posts only, posts and replies, posts with media, posts with video, and reposts on or off.

Empty input runs a short demo: the 10 latest posts about climate and the bsky.app profile with its 5 latest posts.

### Output

Every row has a `type` field: `post`, `profile` or `status`.

A post row from a real run (4 November 2026, text shortened):

```json
{
  "type": "post",
  "sourceType": "search",
  "input": "climate",
  "searchQuery": "climate",
  "uri": "at://did:plc:ifircmauayohwtr3hftg5ge3/app.bsky.feed.post/3mzipvfv63s25",
  "postId": "3mzipvfv63s25",
  "url": "https://bsky.app/profile/exploration.esa.int/post/3mzipvfv63s25",
  "text": "Trace gases make up less than 1% of the martian atmosphere by volume, but they play a critical role in regulating the planet's climate and weather...",
  "createdAt": "2026-11-04T15:59:28.211Z",
  "authorHandle": "exploration.esa.int",
  "authorDisplayName": "ESA Exploration",
  "authorDid": "did:plc:ifircmauayohwtr3hftg5ge3",
  "authorVerified": true,
  "likeCount": 5,
  "repostCount": 1,
  "replyCount": 1,
  "quoteCount": 0,
  "langs": ["en"],
  "links": [],
  "hashtags": [],
  "mentions": [],
  "mediaType": "video",
  "images": [],
  "video": {
    "playlistUrl": "https://video.bsky.app/watch/did%3Aplc%3Aifircmauayohwtr3hftg5ge3/bafkreicm2.../playlist.m3u8",
    "thumbnail": "https://video.bsky.app/watch/did%3Aplc%3Aifircmauayohwtr3hftg5ge3/bafkreicm2.../thumbnail.jpg",
    "width": 480,
    "height": 270
  },
  "externalLink": null,
  "isQuote": false,
  "quotedPost": null,
  "isReply": true,
  "replyParentUrl": "https://bsky.app/profile/did:plc:ifircmauayohwtr3hftg5ge3/post/...",
  "replyRootUrl": "https://bsky.app/profile/did:plc:ifircmauayohwtr3hftg5ge3/post/..."
}
```

A profile row (bio shortened, 4 November 2026):

```json
{
  "type": "profile",
  "input": "bsky.app",
  "handle": "bsky.app",
  "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "url": "https://bsky.app/profile/bsky.app",
  "displayName": "Bluesky",
  "bio": "official Bluesky account (check username👆) ...",
  "followersCount": 35524651,
  "followsCount": 37,
  "postsCount": 916,
  "followersChange": null,
  "verified": false,
  "accountCreatedAt": "2023-04-12T04:53:57.057Z"
}
```

Field notes:

- `sourceType` says where a post came from: `search`, `profile`, `post` (your post link), `parent` (a post above your link) or `reply`.
- `threadDepth` is 1 for a direct reply, 2 for a reply to a reply, and so on. `replyToHandle` names the author it answers.
- `mentions` lists each tagged account with its handle and did. `links` lists every link in the text and the link card.
- `images` have full size and thumbnail links and the alt text. `video.playlistUrl` is an HLS stream (.m3u8).
- `quotedPost` holds the quoted post's link, author, text and counts.
- `createdAt` is the time the author's app set. `indexedAt` is when Bluesky received the post.
- `langs` is the language the author's app set. Some posts have none.
- Repost rows (when on) have `isRepost` true and `repostedBy`.

#### Status rows

Every input that returns nothing gets a free row with `"type": "status"`. The `status` is `no_posts`, `not_found`, `invalid_input`, `blocked_by_author`, `blocked`, `api_error` or `skipped_cost_limit`, with a plain-English `error`. A wrong handle gives `not_found`. Status rows are never charged.

The run summary (key-value store record `RUN_SUMMARY`) lists every input with its status, posts delivered, search hits Bluesky reports, and the requests used.

### Alerts for new posts

Turn on **Only new posts (alert mode)** and schedule the actor, for example every hour or every day. The first run delivers the current posts and saves them. Each later run delivers only posts that were not delivered before for the same search, profile or thread. New replies on a thread count as new posts. Profile rows show `followersChange` since the last run.

Give each schedule its own **Alert list name** so the lists stay separate. You pay only for new posts.

To schedule: open the actor in Apify Console, save your input as a task, then add a schedule under **Schedules**. Connect a webhook, email, Slack or Google Sheets integration to get the new rows.

### Pricing

Pay per row delivered: one price per post row, one per profile row. Platform usage is included. Status rows are free. You can set a maximum cost per run in Apify Console. The actor stops cleanly at that limit.

### Speed and limits

- Search gives up to 100 posts per search term per run, for both latest and top sort. Bluesky gives only one page of search results without a login.
- For ongoing monitoring, turn on alert mode and schedule the actor. Each run then picks up the newest posts since the last run.
- To cover a longer period, run one search per day or per week with **Posted since** and **Posted until**.
- A search with filters only (no search words) also gives up to 100 posts. Bluesky does not accept date filters on such a search, so the actor applies them to the posts it gets.
- Profile posts and thread replies have no 100-post cap. They go as deep as you set.
- Bluesky search finds words, phrases and hashtags. It does not find text inside images.
- Thread replies go down 30 levels. The most liked replies come first at each level.
- Deleted posts and posts from blocked or suspended accounts are not in the public API.
- The actor sends one request at a time with a short pause. If Bluesky rate-limits the connection, it waits, retries and moves to Apify datacenter proxy.

# Actor input Schema

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

One per line. Words, a phrase in "quotes", or Bluesky search syntax such as from:nytimes.com or #climate. Each term is one search. Empty input runs a short demo (10 posts about climate and the bsky.app profile).

## `sort` (type: `string`):

Latest = newest first. Top = Bluesky's ranking. Either way you get up to 100 posts per search term per run.

## `maxPostsPerQuery` (type: `integer`):

Posts to collect for each search term, up to 100 per run. For ongoing monitoring, turn on alert mode and schedule the actor. Higher numbers are treated as 100.

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

Optional. Only posts tagged with this language code: en, ar, fr, es, ja, pt. Bluesky uses the language the author's app set.

## `author` (type: `string`):

Optional. Only posts by this handle, for example nytimes.com.

## `mentions` (type: `string`):

Optional. Only posts that mention this handle. Good for brand monitoring.

## `hashtags` (type: `array`):

Optional. Only posts with all of these hashtags (without #).

## `domain` (type: `string`):

Optional. Only posts that link to this website, for example theguardian.com.

## `since` (type: `string`):

Optional. Only posts from this time on: 2026-10-01, 2026-10-01T08:00:00Z, or a relative time such as 24 hours, 7 days, 2 weeks. Applies to search and profile posts.

## `until` (type: `string`):

Optional. Only posts before this time (same formats).

## `handles` (type: `array`):

One per line: nytimes.com, @name.bsky.social, a bsky.app/profile link, or a did:plc id. Each profile gives one profile row and its latest posts.

## `includeProfiles` (type: `boolean`):

One row per profile with display name, bio, followers, following, post count and verification.

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

Latest posts to collect from each profile. 0 = profile row only.

## `profileFeedFilter` (type: `string`):

Which posts to take from each profile.

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

Also deliver posts the profile reposted. They have isRepost true and repostedBy set.

## `postUrls` (type: `array`):

One per line: https://bsky.app/profile/<handle>/post/<id> or an at:// post uri. You get the post, the posts above it when it is a reply, and its replies.

## `maxRepliesPerPost` (type: `integer`):

Replies to collect for each post link, most liked first at each level, down to 30 levels deep.

## `includeParents` (type: `boolean`):

When a post link is a reply, also deliver the posts above it up to the start of the thread.

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

Remembers the posts each search, profile and thread returned last time and delivers only new ones on the next run. Schedule the actor for alerts. The first run delivers everything and saves the baseline. Profile rows show the follower change since the last run. You pay only for new posts.

## `stateName` (type: `string`):

Name for the saved only-new list, so several schedules (for example 'brand' and 'competitors') keep separate memories.

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

Optional. Leave empty: the actor starts without a proxy and moves to Apify datacenter proxy only if Bluesky rate-limits it. Set your own proxy here to use only that.

## `autoProxyFallback` (type: `boolean`):

Move to Apify Proxy when Bluesky rate-limits the direct connection.

## `allowResidentialFallback` (type: `boolean`):

Let the fallback use residential proxy as the last step. Bluesky rarely needs it.

## `maxRetries` (type: `integer`):

Retries for each request on rate limits, server errors or network errors, with growing waits.

## Actor input object example

```json
{
  "searchQueries": [
    "climate"
  ],
  "sort": "latest",
  "maxPostsPerQuery": 50,
  "includeProfiles": true,
  "maxPostsPerProfile": 20,
  "profileFeedFilter": "posts_and_author_threads",
  "includeReposts": false,
  "maxRepliesPerPost": 100,
  "includeParents": true,
  "onlyNew": false,
  "stateName": "default",
  "autoProxyFallback": true,
  "allowResidentialFallback": false,
  "maxRetries": 4
}
```

# Actor output Schema

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

All rows. Filter by the type field.

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

Status per input, posts per input, search hits, requests, bytes and proxy tier used.

# 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": [
        "climate"
    ],
    "maxPostsPerQuery": 50,
    "maxPostsPerProfile": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("dottti/bluesky-posts").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": ["climate"],
    "maxPostsPerQuery": 50,
    "maxPostsPerProfile": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("dottti/bluesky-posts").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": [
    "climate"
  ],
  "maxPostsPerQuery": 50,
  "maxPostsPerProfile": 20
}' |
apify call dottti/bluesky-posts --silent --output-dataset

```

## MCP server setup

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

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/4xEGGuOCPy7iiCje5/builds/hbfiUduVavv9HZGUO/openapi.json
