# Bluesky Scraper: Posts, Profiles, Replies, Followers (`zhtech/bluesky-scraper`) Actor

Scrape Bluesky posts, profiles, reply threads, followers, following, likers and search results from the public AT Protocol API. No login or account needed. Date and like filters, clean JSON, only delivered results are charged.

- **URL**: https://apify.com/zhtech/bluesky-scraper.md
- **Developed by:** [ZH Tech](https://apify.com/zhtech) (community)
- **Categories:** Social media, Lead generation, AI
- **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 posts

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 Scraper: Posts, Profiles, Replies, Followers

Scrape **Bluesky** (bsky.app) without a login, an app password or an API key. Get the **posts of any profile**, **profile details with follower counts**, **full reply threads** of any post, **who liked, reposted or quoted a post**, **followers and following lists**, and **keyword search** for posts and users. Every row is clean, flat JSON with text, dates, author, likes, reposts, replies, quotes, images, video, link cards, hashtags, mentions, languages and the reply or quote context.

It reads only Bluesky's official public AT Protocol API, the same open data any logged out visitor can see. You pay only for rows you actually receive.

### What can this Bluesky Scraper do?

- **Profiles with posts**: paste handles (`nytimes.com`, `@alice.bsky.social`), DIDs or profile URLs. Get one profile row (bio, followers, following, posts count, join date, avatar, banner, verified badge, links and e-mails written in the bio) plus the latest posts, newest first.
- **Choose which posts**: posts and self threads (like the profile page), posts only, posts with replies, posts with media, posts with video. Reposts and the pinned post are optional and clearly flagged.
- **Post URLs with replies**: paste any `bsky.app/profile/.../post/...` link. Get the post and its reply tree with `threadDepth` and parent links. Big threads that Bluesky trims are opened branch by branch.
- **Engagement**: who liked a post (with the time of the like), who reposted it, and every quote post.
- **Followers and following** of any account, newest first, with optional full profiles (follower counts) for each person.
- **Keyword search**: posts by keyword, hashtag, phrase or search operator (`from:`, `mentions:`, `domain:`, `lang:`), latest or top, plus user search by name or bio.
- **Filters**: posted after, posted before (absolute dates or periods like `7 days`), minimum likes, language for search, max results per input and in total.
- **Fair billing**: separate prices for posts, full profiles and basic accounts. Duplicates, filtered posts and error rows are never charged.
- **Respectful by design**: no login, polite rate limiting, automatic back off when Bluesky asks to slow down, and accounts that asked Bluesky to hide them from logged out visitors are skipped, exactly like bsky.app does.

### Use cases

- **Social listening and brand monitoring**: track what people post about your brand, product or topic, schedule a daily run with `postedAfter: "1 day"`.
- **Audience and competitor research**: export the followers of competitor accounts, see who engages with their posts (likers, reposters, quotes).
- **Lead generation**: user search plus follower lists with full profiles, bio links and published e-mails.
- **Content and engagement analytics**: likes, reposts, replies, quotes and bookmarks per post for any account.
- **Sentiment and discourse analysis**: full reply threads with depth and parent links for academic or market research.
- **AI agents and RAG**: feed clean post text into an LLM, or let an agent call the Actor through MCP.

### How to use it

1. Open the **Input** tab.
2. Add one or more inputs: profiles, post URLs, search keywords or accounts for follower lists. You can mix them in one run.
3. Set the limits (posts per profile, replies per post, results per search) and optional filters.
4. Click **Start**. A small run finishes in seconds.
5. Download the results as JSON, CSV, Excel or HTML, or read them through the API. The dataset has views for Overview, Posts, Profiles and accounts, and Inputs without results.

### Input examples

The latest 50 posts of two accounts, without replies, from the last 30 days:

```json
{
  "profiles": ["nytimes.com", "https://bsky.app/profile/bsky.app"],
  "maxPostsPerProfile": 50,
  "feedFilter": "posts_no_replies",
  "postedAfter": "30 days"
}
```

A post with its full reply tree, likers and quote posts:

```json
{
  "postUrls": ["https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"],
  "maxRepliesPerPost": 1000,
  "replyDepth": 10,
  "includeLikers": true,
  "includeQuotes": true,
  "maxEngagementsPerPost": 500
}
```

Keyword monitoring and user search:

```json
{
  "searchPosts": ["#buildinpublic", "\"open source\" lang:en"],
  "searchSort": "latest",
  "postedAfter": "1 day",
  "searchUsers": ["climate scientist"],
  "maxResultsPerSearch": 100
}
```

A lead list: followers of an account with follower counts and bio links:

```json
{
  "followersOf": ["bsky.app"],
  "maxAccountsPerProfile": 5000,
  "enrichAccounts": true
}
```

#### All input options

| Field | What it does | Default |
|---|---|---|
| `profiles` | Handles, DIDs or profile URLs. Profile row plus latest posts | |
| `postUrls` | Post URLs or `at://` URIs. Post plus replies | |
| `searchPosts` | Keywords, hashtags, phrases, search operators | |
| `searchUsers` | Keywords to find accounts | |
| `followersOf` / `followingOf` | Accounts whose followers or follows you want | |
| `maxPostsPerProfile` | Posts per profile, 0 = profile row only | 20 |
| `includeProfileDetails` | Add the profile row for Profiles inputs | true |
| `feedFilter` | `posts_and_author_threads`, `posts_no_replies`, `posts_with_replies`, `posts_with_media`, `posts_with_video` | `posts_and_author_threads` |
| `includeReposts` / `includePinned` | Reposted posts, pinned post | false / true |
| `maxRepliesPerPost` | Replies per post URL, 0 = only the post | 100 |
| `replyDepth` | Levels of replies to replies | 10 |
| `includeThreadParents` | Posts above a reply, up to the thread start | false |
| `includeLikers` / `includeReposters` / `includeQuotes` | Engagement lists per post URL | false |
| `maxEngagementsPerPost` | Limit for each engagement list, 0 = all | 100 |
| `maxResultsPerSearch` | Posts or users per keyword (post search: at most 100, see Limitations) | 100 |
| `searchSort` / `searchLanguage` | `latest` or `top`; language code such as `en` | `latest` |
| `maxAccountsPerProfile` | Followers or follows per account, 0 = all | 100 |
| `enrichAccounts` | Full profiles (counts) for listed accounts, charged as profiles | false |
| `postedAfter` / `postedBefore` | Date filters, absolute or relative | |
| `minLikes` | Minimum likes per post | 0 |
| `maxItems` | Max result rows in the whole run, 0 = no limit | 0 |
| `includeErrorItems` | Free rows that explain inputs without results | true |
| `maxConcurrency` / `maxRequestsPerSecond` | Inputs in parallel, request rate | 4 / 8 |
| `proxyConfiguration` | Optional, not needed for the public API | off |

### Output example

Every row has a `type`: `post`, `profile`, `account` (basic profile from a list or search) or `error` (free).

A post (a quote post by the official Bluesky account):

```json
{
  "type": "post",
  "status": "success",
  "postUrl": "https://bsky.app/profile/bsky.app/post/3n27yge3hys24",
  "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n27yge3hys24",
  "postId": "3n27yge3hys24",
  "text": "I heard Bluesky gets all its breaking news from Flavor Flav",
  "createdAt": "2026-11-13T22:03:20.663Z",
  "authorHandle": "bsky.app",
  "authorDisplayName": "Bluesky",
  "authorDid": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "authorProfileUrl": "https://bsky.app/profile/bsky.app",
  "likeCount": 7487,
  "repostCount": 668,
  "replyCount": 185,
  "quoteCount": 47,
  "bookmarkCount": 67,
  "langs": ["en"],
  "hashtags": [],
  "mentions": [],
  "links": [],
  "embedType": "record",
  "images": [],
  "video": null,
  "externalLink": null,
  "isQuote": true,
  "quotedPostUrl": "https://bsky.app/profile/flavorflav.bsky.social/post/3n27ufkokmk2p",
  "quotedPostText": "Nationwide ground stop on all flights in the US.",
  "quotedPostAuthorHandle": "flavorflav.bsky.social",
  "isReply": false,
  "replyParentUrl": null,
  "replyRootUrl": null,
  "isRepost": false,
  "isPinned": false,
  "threadDepth": null,
  "source": "profile_posts",
  "input": "bsky.app",
  "scrapedAt": "2026-11-17T03:18:54+00:00"
}
```

Images come as `images: [{"url", "thumbnailUrl", "alt", "width", "height"}]`, videos as `video: {"playlistUrl", "thumbnailUrl", "alt", "width", "height"}` and link cards as `externalLink: {"url", "title", "description", "thumbnailUrl"}`. Replies carry `replyParentUrl`, `replyParentAuthorHandle`, `replyRootUrl` and `threadDepth`.

A profile:

```json
{
  "type": "profile",
  "status": "success",
  "handle": "bsky.app",
  "displayName": "Bluesky",
  "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "profileUrl": "https://bsky.app/profile/bsky.app",
  "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app",
  "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
  "followersCount": 35700240,
  "followsCount": 43,
  "postsCount": 923,
  "createdAt": "2023-04-12T04:53:57.057Z",
  "verified": false,
  "isTrustedVerifier": true,
  "pinnedPostUrl": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
  "listsCount": 26,
  "feedsCount": 7,
  "starterPacksCount": 23,
  "bioLinks": [],
  "bioEmails": ["support@bsky.app"],
  "relation": null,
  "source": "profile",
  "input": "bsky.app"
}
```

Followers, following, likers, reposters and user search results are `account` rows with the same fields (counts are `null` unless `enrichAccounts` is on) plus `relation` (`follower`, `following`, `liked`, `reposted`, `search_match`), `relationTo` (the account, post or keyword) and `relationAt` (time of the like).

#### Error codes (free rows)

| Code | Meaning |
|---|---|
| `PROFILE_NOT_FOUND` | No account with that handle or DID |
| `PROFILE_HIDDEN` / `POST_HIDDEN` | The person asked Bluesky to hide their content from logged out visitors, so it is skipped |
| `ACCOUNT_DEACTIVATED` / `ACCOUNT_SUSPENDED` | Deactivated or taken down account |
| `POST_NOT_FOUND` | The post does not exist or was deleted |
| `NO_RESULTS` | Nothing matched the input or the filters |
| `SEARCH_UNAVAILABLE` | Bluesky refused post search without login (the Actor never logs in) |
| `INVALID_INPUT` | Not a valid handle, DID or URL |
| `FETCH_FAILED` | Bluesky did not answer after several retries |

A run summary (requests, retries, rate limits, skipped rows) is saved in the key-value store as `RUN_SUMMARY`.

### How much does it cost to scrape Bluesky?

This Actor uses **pay per event** pricing, with the exact prices on the **Pricing** tab:

- **Post**: each post, reply, quote or search result row.
- **Profile**: each full profile row with follower, following and post counts.
- **Account**: each basic account row from followers, following, likers, reposters and user search (cheaper than a full profile).
- **Actor start**: a tiny fixed fee per run.

Platform usage is included, so the price you see is the price you pay. Error rows, duplicates and filtered posts are free. Cap your spend with **Max results in total** or the "Maximum cost per run" setting: the Actor checks the remaining budget before every batch and stops cleanly.

Tips to keep costs low:

- Use `postedAfter` for monitoring: profile feeds stop paging as soon as posts get older.
- Leave `enrichAccounts` off unless you need follower counts for every listed account.
- Set `maxPostsPerProfile` to 0 when you only need the profile row.

### Use with the API, integrations, LLMs and MCP

#### API

Run the Actor and get the results in one request (replace `YOUR_TOKEN`):

```bash
curl -X POST "https://api.apify.com/v2/acts/zhtech~bluesky-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"profiles": ["bsky.app"], "maxPostsPerProfile": 20}'
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("zhtech/bluesky-scraper").call(run_input={
    "searchPosts": ["#ai"],
    "searchSort": "latest",
    "postedAfter": "1 day",
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item["type"] == "post":
        print(item["likeCount"], item["authorHandle"], item["text"][:80])
```

JavaScript:

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

const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('zhtech/bluesky-scraper').call({
    followersOf: ['bsky.app'],
    maxAccountsPerProfile: 1000,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((i) => i.type === 'account').length, 'followers');
```

#### Integrations

Connect the Actor to Make, Zapier, n8n, Google Sheets, Slack, Airtable, webhooks and more from the **Integrations** tab. A typical flow: schedule a daily run that searches your brand name with `postedAfter: "1 day"`, then send new posts to a sentiment step and post a summary to Slack.

#### Using it with LLMs and AI agents (MCP)

The Actor works as a tool for AI agents through the Apify MCP server (mcp.apify.com). Add `zhtech/bluesky-scraper` as a tool in Claude, Cursor, VS Code or any MCP client, then ask things like "What are people on Bluesky saying about our launch today?" or "Summarize the replies to this Bluesky post". Keep limits modest (50 to 300 rows) for prompts; `text`, `authorHandle`, `likeCount` and `createdAt` are usually all a model needs.

### FAQ

**Do I need a Bluesky account or app password?**
No. The Actor never logs in and never asks for credentials. It reads only what Bluesky shows to logged out visitors.

**Is scraping Bluesky legal?**
The Actor collects public data through Bluesky's own public API. You are responsible for how you use the data, especially personal data, under laws such as GDPR and CCPA. Do not use it for spam or harassment.

**Why are some accounts or replies missing?**
People can ask Bluesky to hide their profile and posts from logged out visitors. bsky.app respects that for visitors who are not signed in, and so does this Actor. The `RUN_SUMMARY` record counts how many rows were skipped for this reason.

**Why did a post appear only once when I used it in two inputs?**
Each post is returned (and charged) once per run, even if several inputs reach it.

**Can I get every reply of a viral post?**
The Actor returns everything Bluesky serves without login and opens trimmed branches one by one. For posts with many thousands of replies, Bluesky itself limits how many top level replies it returns, so the tree can be incomplete.

**How fresh is the data?**
Live: every run reads Bluesky directly. Counts can lag by a few seconds because Bluesky caches public responses.

**Can I scrape images and videos?**
You get direct image URLs (full size and thumbnail) and the HLS playlist URL of videos, plus alt texts.

### Limitations

- **Post search returns at most 100 posts per keyword.** Without login, Bluesky serves only the first page of post search and refuses further pages. The Actor does not log in and does not work around this limit. For more posts, use more specific keywords, several keywords, or date ranges in separate runs. Profile feeds, threads, followers and user search have no such cap.
- Very large reply threads are limited by Bluesky (see FAQ).
- Content hidden from logged out visitors, private data, DMs, likes given by a user and bookmarks are not available.
- Follower lists of very large accounts (millions) take a while: about 100 accounts per request at up to 8 requests per second.

### Support

Found a problem or need a field? Open an issue on the **Issues** tab with the input you used. Fixes for broken behaviour come first.

# Actor input Schema

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

Bluesky handles (nytimes.com, alice.bsky.social, @alice), DIDs (did:plc:...) or profile URLs (https://bsky.app/profile/...). Returns one profile row with follower, following and post counts, then the latest posts (see Posts per profile).

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

Post links like https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l or at:// URIs. Returns the post and its reply thread. Optionally the people who liked or reposted it and the quote posts.

## `searchPosts` (type: `array`):

Keywords, hashtags (#ai), phrases in quotes, or Bluesky search operators such as from:handle, mentions:handle, domain:example.com, lang:en. Uses Bluesky's public search without logging in. If Bluesky ever requires a login for search, these inputs are skipped with a free explanation row.

## `searchUsers` (type: `array`):

Find accounts whose name, handle or bio matches the keyword.

## `followersOf` (type: `array`):

Handles, DIDs or profile URLs. Lists the accounts that follow each one (newest followers first).

## `followingOf` (type: `array`):

Handles, DIDs or profile URLs. Lists the accounts each one follows.

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

Latest posts per profile, newest first. 0 returns only the profile row.

## `includeProfileDetails` (type: `boolean`):

Add a row with bio, follower, following and post counts, avatar, banner, join date and links from the bio for every profile in Profiles.

## `feedFilter` (type: `string`):

Same tabs as on a Bluesky profile.

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

Also return posts by other people that the profile reposted (marked isRepost with repostedAt).

## `includePinned` (type: `boolean`):

Keep the pinned post (marked isPinned). It comes first and is often older than the rest.

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

Replies to return per post URL, top replies first, nested replies included. 0 returns only the post.

## `replyDepth` (type: `integer`):

How many levels of replies to replies to follow. 1 = direct replies only.

## `includeThreadParents` (type: `boolean`):

When the URL points to a reply, also return the posts above it up to the start of the thread (threadDepth below 0).

## `includeLikers` (type: `boolean`):

Accounts that liked each post, with the time of the like.

## `includeReposters` (type: `boolean`):

Accounts that reposted each post.

## `includeQuotes` (type: `boolean`):

Posts that quote each post.

## `maxEngagementsPerPost` (type: `integer`):

Limit for each of the three lists above. 0 means all.

## `maxResultsPerSearch` (type: `integer`):

Posts or users per keyword. 0 means as many as Bluesky returns. Post search returns at most 100 posts per keyword without login; user search usually ends after a few thousand.

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

Latest is best for monitoring and works with the date filters.

## `searchLanguage` (type: `string`):

Two letter language code such as en, es, ja. Leave empty for all languages.

## `maxAccountsPerProfile` (type: `integer`):

Followers or follows to return per profile. 0 means all (large accounts can have millions).

## `enrichAccounts` (type: `boolean`):

Follower lists, likers and user search return basic accounts (handle, name, bio, avatar). Turn this on to also get follower, following and post counts for each one. These rows are charged as full profiles.

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

Skip posts created before this date or period, for example 2026-01-01 or 7 days. Profile feeds stop paging as soon as posts get older.

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

Skip posts created after this date.

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

Keep only posts with at least this many likes.

## `maxItems` (type: `integer`):

Stop the whole run after this many result rows (posts, profiles and accounts). 0 means no limit. Your maximum cost per run setting is always respected too.

## `includeErrorItems` (type: `boolean`):

Add a free (never charged) row for each input that returned nothing, explaining why (not found, deactivated, hidden from logged out visitors, no matches).

## `maxConcurrency` (type: `integer`):

How many inputs to process at the same time. Requests are rate limited either way.

## `maxRequestsPerSecond` (type: `integer`):

Bluesky allows about 10 requests per second per IP address. The Actor backs off automatically when Bluesky asks it to slow down.

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

Not needed: the Bluesky API is public. Only turn this on if your runs get rate limited.

## Actor input object example

```json
{
  "profiles": [
    "bsky.app",
    "https://bsky.app/profile/nytimes.com",
    "did:plc:z72i7hdynmk6r22z27h6tvur"
  ],
  "postUrls": [
    "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"
  ],
  "searchPosts": [
    "#buildinpublic",
    "\"open source\" lang:en"
  ],
  "searchUsers": [
    "photographer",
    "climate scientist"
  ],
  "followersOf": [
    "bsky.app"
  ],
  "followingOf": [
    "bsky.app"
  ],
  "maxPostsPerProfile": 20,
  "includeProfileDetails": true,
  "feedFilter": "posts_and_author_threads",
  "includeReposts": false,
  "includePinned": true,
  "maxRepliesPerPost": 100,
  "replyDepth": 10,
  "includeThreadParents": false,
  "includeLikers": false,
  "includeReposters": false,
  "includeQuotes": false,
  "maxEngagementsPerPost": 100,
  "maxResultsPerSearch": 100,
  "searchSort": "latest",
  "maxAccountsPerProfile": 100,
  "enrichAccounts": false,
  "minLikes": 0,
  "maxItems": 0,
  "includeErrorItems": true,
  "maxConcurrency": 4,
  "maxRequestsPerSecond": 8,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

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

No description

## `profiles` (type: `string`):

No description

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

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

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

```

## MCP server setup

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