# Bluesky API by APISH (`apish/bluesky-api`) Actor

Bluesky posts, threads, profiles, followers, custom feeds, lists, starter packs and trending topics as JSON, from bsky.app links and handles, via APISH. Pay per credit; failed calls are free.

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

## Pricing

$4.00 / 1,000 credits

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 API by APISH

Get public Bluesky data as clean, consistent JSON: bluesky custom feed posts, bluesky popular feeds, bluesky list members, bluesky list feed, bluesky post with its thread, bluesky post likes and more. 22 endpoints, one response shape, numbers parsed, absolute URLs.

### How to use

1. Pick an **Endpoint**. Each option shows what it returns and its price in credits.
2. Enter its **Parameters** as JSON, for example `{"handle":"bsky.app"}`. All parameters are listed below.
3. Run. Each call becomes one row in the dataset. Use **Batch** to run the same endpoint for many inputs and **Pages per input** to follow pagination.

### Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

### Endpoints

| Endpoint | Returns | Required parameters | Credits |
|---|---|---|---|
| `/bluesky/v1/feed` | Bluesky custom feed posts | `url` | 1 |
| `/bluesky/v1/feeds/popular` | Bluesky popular feeds | — | 1 |
| `/bluesky/v1/list` | Bluesky list members | `url` | 1 |
| `/bluesky/v1/list/posts` | Bluesky list feed | `url` | 1 |
| `/bluesky/v1/post` | Bluesky post with its thread | `url` | 1 |
| `/bluesky/v1/post/likes` | Bluesky post likes | `url` | 1 |
| `/bluesky/v1/post/quotes` | Bluesky post quotes | `url` | 1 |
| `/bluesky/v1/post/reposts` | Bluesky post reposts | `url` | 1 |
| `/bluesky/v1/profile` | Bluesky profile | `handle` | 1 |
| `/bluesky/v1/search/posts` | Bluesky post search | `q` | 1 |
| `/bluesky/v1/search/starter-packs` | Bluesky starter pack search | `q` | 1 |
| `/bluesky/v1/search/users` | Search Bluesky users | `q` | 1 |
| `/bluesky/v1/starter-pack` | Bluesky starter pack | `url` | 1 |
| `/bluesky/v1/trending` | Bluesky trending topics | — | 1 |
| `/bluesky/v1/user/feeds` | Bluesky user custom feeds | `handle` | 1 |
| `/bluesky/v1/user/followers` | Bluesky followers | `handle` | 1 |
| `/bluesky/v1/user/following` | Accounts a Bluesky user follows | `handle` | 1 |
| `/bluesky/v1/user/likes` | Bluesky posts a user liked | `handle` | 1 |
| `/bluesky/v1/user/lists` | Bluesky user lists | `handle` | 1 |
| `/bluesky/v1/user/posts` | Bluesky user posts | `handle` | 1 |
| `/bluesky/v1/user/starter-packs` | Bluesky user starter packs | `handle` | 1 |
| `/bluesky/v1/user/suggestions` | Bluesky similar accounts | `handle` | 1 |

### Output

Each dataset row has `endpoint`, `params`, `status`, `credits_used` and the endpoint's data. Add `"raw": 1` to the parameters to also get the site's original record, or `"fields": "a,b.c"` to return only the fields you need.

### Endpoint details

#### Bluesky custom feed posts

Endpoint `/bluesky/v1/feed` · 1 credit per successful call.

The posts of a custom feed (e.g. What's Hot), and the feed itself on page 1. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `url` (required): Feed URL or at:// URI.
- `limit`: Items per page, 1-100 (default 50).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"url":"https://bsky.app/profile/did:plc:z72i7hdynmk6r22z27h6tvur/feed/whats-hot"}`

#### Bluesky popular feeds

Endpoint `/bluesky/v1/feeds/popular` · 1 credit per successful call.

Popular custom feeds, optionally matching a query. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `q`: Only feeds matching this text.
- `limit`: Items per page, 1-100 (default 50).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"q":"science"}`

#### Bluesky list members

Endpoint `/bluesky/v1/list` · 1 credit per successful call.

A list and its members. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `url` (required): List URL or at:// URI.
- `limit`: Items per page, 1-100 (default 100).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"url":"https://bsky.app/profile/bsky.app/lists/3lvpca43j5z26"}`

#### Bluesky list feed

Endpoint `/bluesky/v1/list/posts` · 1 credit per successful call.

Recent posts by a list's members. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `url` (required): List URL or at:// URI.
- `limit`: Items per page, 1-100 (default 50).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"url":"https://bsky.app/profile/bsky.app/lists/3lvpca43j5z26"}`

#### Bluesky post with its thread

Endpoint `/bluesky/v1/post` · 1 credit per successful call.

Parameters:

- `url` (required): Post URL or at:// URI.
- `depth`: Reply depth to load, 1-20 (default 6).

Example parameters: `{"url":"https://bsky.app/profile/iame.li/post/3mxzq62zy5c2c"}`

#### Bluesky post likes

Endpoint `/bluesky/v1/post/likes` · 1 credit per successful call.

Accounts that liked a post, newest first, with when they liked it. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `url` (required): Post URL or at:// URI.
- `limit`: Items per page, 1-100 (default 100).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"}`

#### Bluesky post quotes

Endpoint `/bluesky/v1/post/quotes` · 1 credit per successful call.

Posts quoting a post. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `url` (required): Post URL or at:// URI.
- `limit`: Items per page, 1-100 (default 100).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"}`

#### Bluesky post reposts

Endpoint `/bluesky/v1/post/reposts` · 1 credit per successful call.

Accounts that reposted a post. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `url` (required): Post URL or at:// URI.
- `limit`: Items per page, 1-100 (default 100).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"}`

#### Bluesky profile

Endpoint `/bluesky/v1/profile` · 1 credit per successful call.

Parameters:

- `handle` (required): Handle, DID or profile URL.

Example parameters: `{"handle":"bsky.app"}`

#### Bluesky post search

Endpoint `/bluesky/v1/search/posts` · 1 credit per successful call.

Posts matching a query. Filters: sort (top/latest), since/until (ISO date or datetime), author (handle or DID), mentions, lang, domain, url, tag (comma-separated, all must match). `total` is Bluesky's hit estimate. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `q` (required)
- `sort` — one of `top`, `latest`: top (default) or latest.
- `since`: Only posts after this date/time (e.g. 2026-01-31 or 2026-01-31T00:00:00Z).
- `until`: Only posts before this date/time.
- `author`: Only posts by this handle or DID.
- `mentions`: Only posts mentioning this handle or DID.
- `lang`: Language code, e.g. en.
- `domain`: Only posts linking to this domain.
- `url`: Only posts linking to this URL.
- `tag`: Hashtags (without #), comma-separated; all must match.
- `limit`: Items per page, 1-100 (default 25).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"q":"nasa"}`

#### Bluesky starter pack search

Endpoint `/bluesky/v1/search/starter-packs` · 1 credit per successful call.

Starter packs matching a query. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `q` (required)
- `limit`: Items per page, 1-100 (default 50).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"q":"science"}`

#### Search Bluesky users

Endpoint `/bluesky/v1/search/users` · 1 credit per successful call.

Parameters:

- `q` (required)
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"q":"science"}`

#### Bluesky starter pack

Endpoint `/bluesky/v1/starter-pack` · 1 credit per successful call.

A starter pack: name, description, creator, join counts, its list, a sample of members and its feeds.

Parameters:

- `url` (required): Starter pack URL or at:// URI.
- `members`: true: every member (100 per page, from the pack's list) in `members`; the pack itself only carries a sample. Pass `next_cursor` back as `cursor` for more.
- `limit`: Members per page with members=true, 1-100 (default 100).
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"url":"https://bsky.app/starter-pack/bsky.app/3mv3qhvnmkd2l"}`

#### Bluesky trending topics

Endpoint `/bluesky/v1/trending` · 1 credit per successful call.

Trending topics right now with post counts, status, category and top accounts, plus Bluesky's suggested topics.

Parameters:

- `limit`: Items per page, 1-25 (default 25).

#### Bluesky user custom feeds

Endpoint `/bluesky/v1/user/feeds` · 1 credit per successful call.

Custom feeds an account created: name, description, likes, creator, URL. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `handle` (required)
- `limit`: Items per page, 1-100 (default 100).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"handle":"bsky.app"}`

#### Bluesky followers

Endpoint `/bluesky/v1/user/followers` · 1 credit per successful call.

Parameters:

- `handle` (required)
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"handle":"jay.bsky.team"}`

#### Accounts a Bluesky user follows

Endpoint `/bluesky/v1/user/following` · 1 credit per successful call.

Parameters:

- `handle` (required)
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"handle":"jay.bsky.team"}`

#### Bluesky posts a user liked

Endpoint `/bluesky/v1/user/likes` · 1 credit per successful call.

Posts an account liked, newest like first, with when it liked each one and the full post (text, author, counts, media). A liked post that was deleted or hidden comes back with `available: false`. Pass `next_cursor` back as `cursor`; null on the last page.

Parameters:

- `handle` (required): A handle (espn.com, name.bsky.social), a DID or a profile link.
- `limit`: Likes per page (max 100, default 25).
- `cursor`: Paging cursor from the previous page.

Example parameters: `{"handle":"bsky.app"}`

#### Bluesky user lists

Endpoint `/bluesky/v1/user/lists` · 1 credit per successful call.

Lists an account created (curation and moderation lists), with member counts. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `handle` (required)
- `limit`: Items per page, 1-100 (default 100).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"handle":"bsky.app"}`

#### Bluesky user posts

Endpoint `/bluesky/v1/user/posts` · 1 credit per successful call.

Parameters:

- `handle` (required)
- `filter`: posts_with_replies, posts_no_replies, posts_with_media or posts_and_author_threads.
- `limit`: Posts per page, 1-100 (default 50).
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"handle":"bsky.app"}`

#### Bluesky user starter packs

Endpoint `/bluesky/v1/user/starter-packs` · 1 credit per successful call.

Starter packs an account created, with joins and a sample of members. Pass `next_cursor` back as `cursor`; it is null on the last page.

Parameters:

- `handle` (required)
- `limit`: Items per page, 1-100 (default 100).
- `cursor`: `next_cursor` from the previous page.

Example parameters: `{"handle":"bsky.app"}`

#### Bluesky similar accounts

Endpoint `/bluesky/v1/user/suggestions` · 1 credit per successful call.

Accounts Bluesky suggests next to this one ("similar accounts").

Parameters:

- `handle` (required)

Example parameters: `{"handle":"bsky.app"}`

### Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.

# Actor input Schema

## `endpoint` (type: `string`):

Which Bluesky endpoint to call. Each option shows what it returns and its price in credits.

## `params` (type: `object`):

Query parameters for the endpoint, as JSON. See the README for every endpoint's parameters. Example: {"handle":"bsky.app"}

## `batch` (type: `array`):

Run the same endpoint for many inputs: a list of parameter objects. Each item is one call. Leave empty to use Parameters.

## `maxPages` (type: `integer`):

For paginated endpoints: follow next_cursor up to this many pages per input. 1 = first page only.

## Actor input object example

```json
{
  "endpoint": "/bluesky/v1/profile",
  "params": {
    "handle": "bsky.app"
  },
  "batch": [],
  "maxPages": 1
}
```

# Actor output Schema

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

One row per call: endpoint, params, status, credits_used and the data.

# 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 = {
    "endpoint": "/bluesky/v1/profile",
    "params": {
        "handle": "bsky.app"
    },
    "batch": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("apish/bluesky-api").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 = {
    "endpoint": "/bluesky/v1/profile",
    "params": { "handle": "bsky.app" },
    "batch": [],
}

# Run the Actor and wait for it to finish
run = client.actor("apish/bluesky-api").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 '{
  "endpoint": "/bluesky/v1/profile",
  "params": {
    "handle": "bsky.app"
  },
  "batch": []
}' |
apify call apish/bluesky-api --silent --output-dataset

```

## MCP server setup

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

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/cPbuWluIA8FpuCCrc/builds/lgBYwArLAbOHFYXXk/openapi.json
