# Bluesky Posts, Profiles & Followers — public API (`openregistry/bluesky-profiles-posts`) Actor

Export posts of any Bluesky account or public feed, full profiles in bulk, followers and following lists, and profile search results. Reads the documented public AT Protocol API: no login, no cookies, no proxy.

- **URL**: https://apify.com/openregistry/bluesky-profiles-posts.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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.

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, Profiles & Followers — public API

Export what Bluesky publishes openly: the posts of any account, the posts of a public custom feed, complete profiles in bulk, followers and following lists, and profile search results.

The Actor reads the **documented public AT Protocol API** (`public.api.bsky.app`, the `app.bsky.*` methods that need no authentication). There is no login, no cookie, no proxy and no browser, so runs are quick, cheap and stable. This is an independent tool, not affiliated with Bluesky.

### Six modes

| Mode | You give | You get |
|---|---|---|
| Posts of accounts | handles, DIDs or profile URLs | every post, newest first, with engagement counts |
| Full profiles of accounts | up to thousands of handles | bio, follower / following / post counts, creation date |
| Followers of accounts | handles | one row per follower |
| Accounts followed by accounts | handles | one row per followed account |
| Profile search by keyword | words | accounts whose name, handle or bio matches |
| Posts of public feeds | feed URLs | the current posts of a custom feed (for example *What's Hot*) |

### Typical uses

- **Brand and competitor monitoring**: pull the posts of a list of accounts every day with `postedAfter`, and track likes, reposts, replies and quotes.
- **Audience research**: export the followers of an account with their bios and follower counts, then segment them.
- **Influencer discovery**: search profiles by keyword and sort by `followersCount`.
- **Datasets for analysis**: text, language, hashtags, links, images and thread structure, ready for a spreadsheet or a pipeline.

### Input example

```json
{
  "mode": "authorPosts",
  "actors": ["bsky.app", "https://bsky.app/profile/nytimes.com"],
  "postFilter": "posts_no_replies",
  "postedAfter": "2026-11-01",
  "maxResultsPerSource": 200
}
```

`maxResultsPerSource` limits each account, feed or keyword; `maxResults` limits the whole run. Together with the maximum charge you can set on a run, you always control the cost.

### Output

Every row has a `type` of `post` or `profile`.

**Post**: `url`, `uri`, `text`, `createdAt`, `languages`, `authorHandle`, `authorDisplayName`, `authorDid`, `likeCount`, `repostCount`, `replyCount`, `quoteCount`, `isReply`, `replyToUri`, `threadRootUri`, `isRepost`, `repostedByHandle`, `links`, `hashtags`, `mentionedDids`, `images` (URL and alt text), `videoPlaylistUrl`, `externalUrl`, `externalTitle`, `quotedPostUri`, `labels`, `source`.

**Profile**: `url`, `did`, `handle`, `displayName`, `description`, `avatarUrl`, `bannerUrl`, `followersCount`, `followsCount`, `postsCount`, `createdAt`, `verifiedStatus`, `pinnedPostUri`, `labels`, `relation`, `source`.

### Limits to know

- **No keyword search over posts.** Bluesky's public API host does not serve post search to unauthenticated clients, and this Actor deliberately uses no account. To follow a topic, read the accounts or the public feeds that cover it.
- Custom feeds are generated by third parties: some return only a few dozen posts, and a few require a signed-in viewer and return nothing.
- Accounts that do not exist, are suspended or have opted out of unauthenticated access are skipped and logged; they are not charged.
- Follower lists are returned in the order of the API (most recent first) and very large accounts take time: about 100 followers per second of API allowance. The Actor stays under Bluesky's published rate limit and retries on HTTP 429 and 5xx.
- Date filters use UTC days.

### Personal data

The Actor returns only what users have published publicly on Bluesky and what the network's public API serves to anyone. Handles, names and bios can still be personal data: you are responsible for your own use of the results, including compliance with GDPR and similar laws and with Bluesky's terms.

### Pricing

Pay per row delivered: one event per `post`, one per `profile`. Filtered-out posts, duplicates and accounts not found are never charged.

# Actor input Schema

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

Posts of accounts, profiles, followers, following, profile search, or posts of a public custom feed.

## `actors` (type: `array`):

Handles (name.bsky.social or a custom domain), DIDs or profile URLs. Used by every mode except profile search and public feeds.

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

Mode "Profile search by keyword" only: words matched against names, handles and bios, e.g. "climate scientist".

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

Mode "Posts of public feeds" only: feed URLs such as https://bsky.app/profile/bsky.app/feed/whats-hot, or at:// URIs.

## `postFilter` (type: `string`):

Mode "Posts of accounts" only.

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

Also return posts by other people that the account reposted. Each such row has isRepost = true.

## `postedAfter` (type: `string`):

Keep posts from this date on (YYYY-MM-DD, UTC). For account posts, reading stops as soon as older posts are reached.

## `postedBefore` (type: `string`):

Keep posts up to this date (YYYY-MM-DD, UTC).

## `enrichProfiles` (type: `boolean`):

Followers, following and search lists come without follower/post counts. Leave on to add them (one extra API call per 25 profiles, no extra charge).

## `maxResultsPerSource` (type: `integer`):

Reading of one account, feed or keyword stops at this many delivered rows.

## `maxResults` (type: `integer`):

The run stops once this many rows are delivered, so you control the cost.

## Actor input object example

```json
{
  "mode": "authorPosts",
  "actors": [
    "bsky.app"
  ],
  "postFilter": "posts_no_replies",
  "includeReposts": false,
  "enrichProfiles": true,
  "maxResultsPerSource": 100,
  "maxResults": 1000
}
```

# Actor output Schema

## `results` (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 = {
    "mode": "authorPosts",
    "actors": [
        "bsky.app"
    ]
};

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

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

```

## MCP server setup

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