# Bluesky Scraper: Posts, Profiles, Replies & Search (`techliondev/bluesky-scraper`) Actor

Scrape Bluesky posts by keyword, hashtag, profile or post link: text, likes, reposts, replies, images, links and author followers. No login, free filters.

- **URL**: https://apify.com/techliondev/bluesky-scraper.md
- **Developed by:** [TechLion Dev](https://apify.com/techliondev) (community)
- **Categories:** Social media, AI, 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.20 / 1,000 post saveds

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 is Bluesky Scraper?

**Bluesky Scraper** collects **public Bluesky posts into one clean table**: post text, likes, reposts, replies, quotes, hashtags, links, images, videos and the author's handle, follower count and bio. Search by keyword or hashtag, list the profiles you want to follow, or paste a post link to get the post and every reply.

It is for social media managers, marketers, journalists, researchers and AI (artificial intelligence) agents that need structured Bluesky data.

It reads Bluesky's official public API (application programming interface), the same open AT Protocol endpoints the Bluesky app uses for logged-out visitors. There is no browser, no login, no app password and no proxy, so runs are **fast, cheap and reliable**.

- **Monitor your brand, product or competitors:** schedule a search and get only posts you have not seen before.
- **Track hashtags and topics:** collect thousands of posts for a keyword, hashtag or phrase, newest first.
- **Follow accounts:** save every post from a list of profiles, with engagement numbers.
- **Export full conversations:** paste a post link to get the post and all replies, with reply depth.
- **Feed AI tools, dashboards and sentiment models** with clean, structured post text.

#### What data does it extract?

| | |
| --- | --- |
| 📝 Post text, link, ID and AT Protocol address | 📅 Date (ISO 8601), weekday and age in hours |
| ❤️ Likes, reposts, replies, quotes and total engagement | 🌐 Post languages |
| 👤 Author handle, display name, avatar and profile link | 📈 Author followers, following, post count, bio, join date and blue check |
| #️⃣ Hashtags, mentions and links | 🖼️ Image links and alt text, video stream and thumbnail |
| 🔗 Link card (address, title, description) | 💬 Reply-to post, thread root, thread depth, quoted post and its text |
| 🔁 Repost and pinned-post flags | 🏷️ Moderation labels, word count and the source that found the post |

#### Why this scraper?

- **About a quarter of the price of the most-used Bluesky scrapers:** $0.30 per 1,000 posts instead of $1.10, with no extra start fee, and all filters are free.
- **Searches, profiles and full threads in one Actor.** Mix search terms, profiles and post links in a single run.
- **Goes deep without a login.** Latest search keeps walking back in time, so one term can return thousands of posts.
- **Author details included for free:** follower count, bio and join date on every row, so you can rank posts by reach.
- **Built-in new-post tracking.** Turn on **Only new posts**, schedule the Actor, and later runs save only posts you have not collected yet.
- **Respects user choices.** Accounts that asked Bluesky to hide their posts from logged-out visitors are skipped automatically.

### ⬇️ Input

Use any mix of these sources. Each one is collected separately, up to **Maximum posts per source**.

- **Search terms:** `AI agents`, `#buildinpublic`, `"local seo"`. Bluesky search syntax works too, such as `from:bsky.app` or `domain:example.com`.
- **Profiles:** `bsky.app`, `@jay.bsky.team`, `https://bsky.app/profile/bsky.app` (a name without a dot gets `.bsky.social` added).
- **Post links:** `https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l` saves the post and every reply.

Example input:

```json
{
    "searchTerms": ["AI agents", "#buildinpublic"],
    "profiles": ["bsky.app"],
    "postUrls": ["https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"],
    "maxPostsPerSource": 500,
    "sort": "latest",
    "languages": ["en"],
    "since": "7 days",
    "minLikes": 2,
    "onlyNew": true
}
```

| Setting | What it does |
| --- | --- |
| Search order | **Latest** (newest first, can go thousands deep) or **Top** (most popular; Bluesky returns at most 100 per term to logged-out visitors) |
| Include replies | Keep replies in search and profile results (on by default) |
| Include reposts on profiles | Also save posts a profile reposted, with who reposted them |
| Languages, dates, keywords, minimum likes, only with media | Free filters. Removed posts are not charged |
| Add author follower counts and bio | On by default, free |
| Only new posts + Tracking name | Save only posts not seen in earlier runs |

### ⬆️ Output

You get one row per post. Every row has the same columns, so the data drops straight into a spreadsheet. The dataset has three views: **Overview**, **Authors** and **Media & links**. A `RUN_SUMMARY` record lists each source with posts seen, posts saved and any error.

#### Table view

| Author | Text | Likes | Reposts | Followers | Posted | Source |
| --- | --- | --- | --- | --- | --- | --- |
| bsky.app | 👋  Bluesky is an open social network that gives creators in… | 63,824 | 9,587 | 35,754,262 | 2024-10-17 | @bsky.app |
| bsky.app | The moderation inbox is now available to all users! Read th… | 2,012 | 265 | 35,754,262 | 2026-11-12 | @bsky.app |
| bsky.app | Southwest: Reporters and newsrooms covering races from Texa… | 197 | 16 | 35,754,262 | 2026-11-03 | @bsky.app |
| bsky.app | Until now, most moderation updates came by email, and only… | 370 | 18 | 35,754,262 | 2026-10-30 | @bsky.app |
| ainieuwtjes.bsky.social | Apple joins the race for AI agents that control your device… | 1 | 0 | 150 | 2026-11-20 | AI agents |
| rdmpress.com | UC Berkeley is one of the foundational institutions of AI t… | 1 | 0 | 778 | 2026-11-20 | AI agents |

#### JSON example

```json
{
    "postUrl": "https://bsky.app/profile/bsky.app/post/3n2m24be4e223",
    "postId": "3n2m24be4e223",
    "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n2m24be4e223",
    "text": "Encrypted DMs from your Bluesky profile—now for Android and iOS!\n\nOur friends at Germ have built end-to-end encrypted messaging, including voice notes, on the s...",
    "createdAt": "2026-11-18T17:05:26.596Z",
    "weekday": "Wednesday",
    "postAgeHours": 46,
    "language": "en",
    "languages": [
        "en"
    ],
    "authorHandle": "bsky.app",
    "authorName": "Bluesky",
    "authorDid": "did:plc:z72i7hdynmk6r22z27h6tvur",
    "authorUrl": "https://bsky.app/profile/bsky.app",
    "authorAvatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
    "authorFollowers": 35754262,
    "authorFollowing": 43,
    "authorPosts": 928,
    "authorBio": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app",
    "authorJoinedAt": "2023-04-12T04:53:57.057Z",
    "authorVerified": false,
    "likeCount": 2400,
    "repostCount": 504,
    "replyCount": 134,
    "quoteCount": 139,
    "engagement": 3177,
    "isReply": false,
    "replyToUrl": null,
    "threadRootUrl": null,
    "threadDepth": null,
    "isRepost": false,
    "repostedBy": null,
    "isPinned": false,
    "hashtags": [],
    "mentions": [
        "germnetwork.com"
    ],
    "links": [],
    "externalUrl": null,
    "externalTitle": null,
    "externalDescription": null,
    "imageUrls": [
        "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreiau3zyexluy3ri4q4az2fiiagzsmn5x4drfv2pttv7z4bzxd7nopu"
    ],
    "imageAlts": [
        "Graphic showing the Germ DM button at the top of a Bluesky profile."
    ],
    "imageCount": 1,
    "videoUrl": null,
    "videoThumbnail": null,
    "quotedPostUrl": null,
    "quotedPostText": null,
    "contentLabels": [],
    "wordCount": 44,
    "source": "@bsky.app",
    "sourceType": "profile",
    "scrapedAt": "2026-11-20T15:21:56.183Z"
}
```

### ▶️ How to use it

1. Click **Try for free** (an Apify account is free to create).
2. Add search terms, profiles or post links.
3. Set **Maximum posts per source** and any filters. Filters are free.
4. Click **Start**. The default run (25 posts for one search and 25 from one profile) finishes in a few seconds.
5. Download the posts from the **Output** tab as Excel, CSV (comma-separated values) or JSON (JavaScript Object Notation), or connect them to another tool.

#### Monitoring Bluesky on a schedule

Turn on **Only new posts**, then create a schedule (for example every hour). The first run saves and remembers every post it finds. After that, each run saves only posts that are new since last time, so a quiet hour costs almost nothing. Use a different **Tracking name** for each separate watch list, and add **Only posts since** (for example `2 days`) to keep runs short.

### 💲 How much does it cost?

This Actor uses **pay-per-event pricing**: you pay only for the posts you get, never for the computer time behind them.

| Event | Price (free plan) | When it is charged |
| --- | --- | --- |
| Actor start | $0.00005 | Once per run |
| **Post saved** | **$0.0003** ($0.30 per 1,000 posts) | For each post saved, after your filters |

Paid Apify plans get lower prices automatically (for example $0.24 per 1,000 posts on the Silver plan). See the **Pricing** tab for every plan.

**Worked examples**

- **Default test run, 50 posts:** $0.00005 + 50 × $0.0003 = **about $0.015**.
- **1,000 posts:** **$0.30**.
- **Hourly brand monitor, only new posts, about 100 new posts a day:** 720 runs × $0.00005 + 3,000 posts × $0.0003 = **about $0.94 per month**.

The most-used Bluesky scrapers in Apify Store charge $1.10 per 1,000 posts, and one adds a start fee. Filters, author details and new-post tracking never add to the price here.

### 🎯 Use cases

- **Brand and competitor monitoring:** see who mentions you, how much engagement they get and how many followers they have.
- **Social listening and research:** collect posts on a topic or hashtag for trend, sentiment or political research.
- **Influencer discovery:** rank authors by followers and engagement for a niche.
- **Community management:** export every reply to an announcement post and answer questions faster.
- **AI training and retrieval:** feed clean post text with dates and languages to AI models and search indexes.

### 🔌 Integrations

This Actor works with everything on the Apify platform:

- **Schedules:** run it every hour or every day from the Schedules page.
- **Webhooks:** get a call to your own system when a run finishes.
- **Apps:** send results to Google Sheets, Slack, Zapier, Make, Airtable and more with Apify's ready-made integrations.
- **API and code:** start runs and read results from any language (see below and the **API** tab).
- **AI agents:** the Actor is available through the Apify MCP (Model Context Protocol) server, so AI assistants can call it as a tool.

### 💻 Use it from code (API)

Replace `YOUR_APIFY_TOKEN` with the API token from the **Settings > API & Integrations** page in Apify Console.

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

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("techliondev/bluesky-scraper").call(run_input={
    "searchTerms": ["AI agents"],
    "maxPostsPerSource": 200,
    "languages": ["en"],
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["authorHandle"], item["likeCount"], item["text"][:80])
```

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

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('techliondev/bluesky-scraper').call({
    profiles: ['bsky.app'],
    maxPostsPerSource: 100,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Any language (HTTP):** send a POST request with the input as JSON to the `run-sync-get-dataset-items` endpoint for `techliondev~bluesky-scraper` and you get the posts back in the response.

### ❓ FAQ

#### Do I need a Bluesky account, an app password or an API key?

No. The Actor uses Bluesky's public API for logged-out visitors and runs on Apify's default infrastructure. You never share your Bluesky login.

#### How many posts can I get for one search term?

With **Latest** order, the Actor keeps moving back in time, so a busy term can return thousands of posts (set **Maximum posts per source** up to 20,000). With **Top** order, Bluesky returns at most 100 posts per term to logged-out visitors.

#### Why were some posts skipped?

Some people ask Bluesky not to show their posts to logged-out visitors. The Actor respects that and skips those posts; the count is in the status message and in `RUN_SUMMARY`. Your filters (dates, languages, keywords, minimum likes) can also remove posts. Skipped posts are never charged.

#### Can I get all replies to a post?

Yes. Paste the post link into **Post links**. You get the post and every reply, with `threadDepth` (1 = direct reply, 2 = reply to a reply, and so on) and `replyToUrl`.

#### Can I search for a hashtag?

Yes. Enter it with the `#`, for example `#photography`. The Actor uses Bluesky's tag filter, so you get posts that use that hashtag.

#### Is it legal to scrape Bluesky?

The Actor reads only public posts and profiles through Bluesky's own public API, the same data anyone can see without logging in, and it skips accounts that opted out of logged-out visibility. It does not log in, post, like or follow. You are still responsible for how you use the data (for example under privacy laws such as GDPR), so check the rules that apply to you.

#### Your feedback

Found a bug or want a feature? Please open an issue on the **Issues** tab. We aim to reply within a few days.

# Actor input Schema

## `searchTerms` (type: `array`):

Words, phrases or hashtags to search Bluesky posts for, one per line (for example AI agents, #buildinpublic, "local seo"). Bluesky search syntax works too, such as from:handle or domain:example.com.

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

Bluesky handles or profile links, one per line (for example bsky.app, @jay.bsky.team or https://bsky.app/profile/bsky.app). The Actor saves the posts each profile published.

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

Bluesky post links, one per line (https://bsky.app/profile/<handle>/post/<id>). The Actor saves the post and every reply in the thread, with reply depth.

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

Stop after this many saved posts for each search term, profile or post link. Posts removed by filters are not counted or charged.

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

Latest lists the newest posts first and can collect thousands of posts per term. Top lists the most popular posts first; without a login Bluesky returns at most 100 of them per term.

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

Keep posts that are replies to someone else. Turn off to keep only original posts. (Post links always include their replies.)

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

Also save posts a profile reposted from other accounts. The row shows who reposted it.

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

Two-letter language codes, for example en, es, ja, de. Leave empty for all languages.

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

A date like 2026-01-31 or a period like "7 days" or "24 hours".

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

A date like 2026-01-31 or a period like "1 day" (posts older than one day).

## `includeKeywords` (type: `array`):

Matched against the post text. Leave empty to keep everything. Short words (3 letters or fewer) match whole words only.

## `excludeKeywords` (type: `array`):

Posts that mention any of these words are skipped.

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

Keep only posts with at least this many likes.

## `onlyWithMedia` (type: `boolean`):

Skip text-only posts and link-only posts.

## `includeAuthorDetails` (type: `boolean`):

Adds each author's followers, following, post count, bio and join date to every row. Free; turn off only for slightly faster runs.

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

Remembers every post and, after the first run, saves only posts that are new since last time. The first run saves everything and remembers it. Scheduled runs then cost almost nothing when nothing new appeared.

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

Use a different name for each separate watch list. Leave empty to use a name based on your sources.

## Actor input object example

```json
{
  "searchTerms": [
    "AI agents"
  ],
  "profiles": [
    "bsky.app"
  ],
  "maxPostsPerSource": 25,
  "sort": "latest",
  "includeReplies": true,
  "includeReposts": false,
  "onlyWithMedia": false,
  "includeAuthorDetails": true,
  "onlyNew": false
}
```

# Actor output Schema

## `posts` (type: `string`):

Dataset with one row per post

## `summary` (type: `string`):

Sources, posts seen and rows saved, plus any errors

# 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 = {
    "searchTerms": [
        "AI agents"
    ],
    "profiles": [
        "bsky.app"
    ],
    "maxPostsPerSource": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("techliondev/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 = {
    "searchTerms": ["AI agents"],
    "profiles": ["bsky.app"],
    "maxPostsPerSource": 25,
}

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

```

## MCP server setup

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