# Bluesky Posts Scraper: Search & Profile Posts Scraper, No Login (`hyperbach/bluesky-scraper`) Actor

Bluesky posts scraper for search words, hashtags, handles or post links: one row per post with text, author handle and name, date, likes, reposts, replies, quotes, links, images, video, reply and quote parents and URL. Searches go back by date. No login. Misses free.

- **URL**: https://apify.com/hyperbach/bluesky-scraper.md
- **Developed by:** [Hyperbach](https://apify.com/hyperbach) (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.46 / 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 Posts Scraper: Search & Profile Posts Scraper, No Login

**Bluesky posts, logged out: search words, handles or post links in, one row per post out — the text, the author's handle, display name and DID, the date, likes, reposts, replies, quotes and bookmarks, hashtags, mentions, links, images, video, the link card, the reply parent and root, the quoted post and the post URL.** One free `target` row per input carries the search's count and a verdict: COMPLETE, CAPPED (your limit), DATE_LIMIT (your `since`) or TRUNCATED. No login, no account, no app password, no browser.

**$0.935 per 1,000 `post` rows on the Free plan, $0.5865 on Starter.** A run start is $0.00161. The default input returns about 50 rows for about $0.04836. A value that names nothing is a free row that says why.

![A Bluesky post page in a browser for one invented post about wading birds at an estuary, with a photo, two hashtags, a quoted post and its counts of reposts, quotes, likes and saves. Beside it, a part of the row this Actor returns for the post: hashtags, quoted_post_text and quoted_post_author_handle are highlighted; then the author's handle, the text and the five counts.](https://api.apify.com/v2/key-value-stores/dcLLNGq99686o2A4v/records/hero-bluesky-scraper.webp)

### Why this Bluesky scraper

- **Searches that go back as far as you ask.** Bluesky gives a logged-out reader no second page of a search; this Actor walks a `latest` search back by date instead, 100 posts a call (484 distinct posts in five calls, measured 2026-11-07), down to your `maxPostsPerInput` or your `since` date.
- **Searches, handles and post links in one run.** Search words (a hashtag too), handles or profile links for an account's own posts, and single post links; the leader's `queries` and `limit` work as they are. A post two inputs list is delivered and charged once.
- **Every field a post shows.** The text with its hashtags, mentions (as handles) and links, every image with its alt text, the video's playlist and thumbnail, the link card, the reply parent and root, the quoted post's text and author, likes, reposts, replies, quotes and bookmarks, languages and moderation labels.
- **Respects authors who opt out.** A post whose author asks Bluesky not to show the account to logged-out readers (about 1 post in 10 of a search, measured 2026-11-07) is skipped and never charged; the free `target` row counts how many.
- **Honest runs.** An unknown handle or a deleted post is a free `not_found` row, checked on a second connection; a search with no match a free `no_results` row; every input gets a row.

### Who it's for

- **Social listening and brand teams** — every new post that names a brand, a product or a hashtag, with its reach (likes, reposts, quotes) and its links, read every day with `since`.
- **Researchers and journalists** — a topic's posts over a period, or the posts of a set of accounts, with the reply and quote parents to rebuild the conversation.
- **Creators and agencies** — an account's own posts with their engagement, to compare accounts or report on a campaign.

### Quick start

**The latest 100 posts of a search**

```json
{
  "searchTerms": [
    "climate change"
  ],
  "maxPostsPerInput": 100
}
```

**Two accounts' posts of the last 30 days**

```json
{
  "handles": [
    "bsky.app",
    "@pfrazee.com"
  ],
  "since": "30 days",
  "maxPostsPerInput": 0
}
```

**Single posts by link**

```json
{
  "postUrls": [
    "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"
  ]
}
```

### Switching from `lexis-solutions/bluesky-posts-scraper` or `automation-lab/bluesky-scraper`?

Your input works as it is. Each name in the left column is read as this Actor's own field and the run log says so (`read <theirs> as <ours>`); a name marked *not read* is ignored with a note. A value in the other Actor's shape, an object list or its own date form, is read too.

| lexis-solutions/bluesky-posts-scraper / automation-lab/bluesky-scraper | this Actor | what to know |
|---|---|---|
| `queries` | `searchTerms` | Search words, one search each; a bsky.app post or profile link in the list is read as that post or profile. |
| `limit` | `maxPostsPerInput` | Posts per search (and per handle); 0 = every post Bluesky serves. |
| `sort` | `sort` | `latest` or `top`, as the leader's; `top` is one page of at most 100. |
| `since` | `since` | A date (2026-10-01), a date and time, or a span back from now (7 days). |
| `until` | *not read* | Not read: a search runs from now back to `since`; filter `created_at` in the dataset for an end date. |
| `lang` | *not read* | Not read: every row carries the post's `langs`; filter on it in the dataset. |
| `proxyConfiguration` | *not read* | Not needed: the Actor brings its own connections at no cost to you. |

**What differs:**

- `queries` is read as `searchTerms`: words are searches, and a post link in it is read as that post, as the leader reads it.
- `limit` is read as `maxPostsPerInput`, a cap per search or handle; its default here is 100 (the leader's 5).
- A `top` search is Bluesky's one ranked page (at most 100 posts); `latest` walks back by date as far as you ask.
- `until` and `lang` are not read; `since` takes a date or a span (7 days).
- Posts of accounts that ask not to be shown to logged-out readers are left out and never charged.
- Handles and post links have their own inputs (`handles`, `postUrls`), as automation-lab names them.

### Output

One row per post (and one free summary row per input):

| field | meaning |
|---|---|
| `record_type` | `post` on a post row (charged); `target` on an input's free summary row. |
| `status` | `ok`, or why an input gave no row: `no_results`, `not_found`, `not_public`, `invalid_input`, `failed`, `not_read` (see the FAQ). |
| `input` | The value you gave that this row answers. |
| `source_kind` | What listed the post: `search`, `profile` (a handle's feed) or `post` (a post link). |
| `id` | The post's at:// URI, Bluesky's own id for it. |
| `cid` | The content id of the post's current version. |
| `url` | The post on bsky.app. |
| `text` | The post's text. |
| `created_at` | When the author created the post (UTC, as the post says). |
| `author_handle` | The author's handle (`name.bsky.social` or a domain). |
| `author_display_name` | The author's display name, when set. |
| `author_did` | The author's DID, the account's permanent id. |
| `author_avatar` | The author's avatar image URL. |
| `like_count` | The post's likes. |
| `repost_count` | The post's reposts. |
| `reply_count` | The replies to the post. |
| `quote_count` | The posts that quote it. |
| `bookmark_count` | The times it was bookmarked. |
| `langs` | The languages the author set on the post (`en`, `de` …). |
| `hashtags` | The post's hashtags, without `#`. |
| `mentions` | The accounts the post mentions, as the handles its text shows. |
| `links` | The links in the text and the link card's URL. |
| `images` | Each image: `url` (full size), `thumbnail`, `alt` text, `width`, `height`. |
| `video` | The video: `playlist` (HLS), `thumbnail`, `alt`, `width`, `height`; null without one. |
| `link_card` | The link card: `url`, `title`, `description`, `thumbnail`; null without one. |
| `is_reply` | True when the post replies to another post. |
| `reply_parent_url` | The post it replies to, on bsky.app. |
| `reply_root_url` | The first post of the thread it replies in, on bsky.app. |
| `is_quote` | True when the post quotes another post (or embeds another record). |
| `quoted_post_url` | The quoted post on bsky.app (an at:// URI for a quoted list or feed). |
| `quoted_post_text` | The quoted post's text; null when the quoted post was deleted or is blocked. |
| `quoted_post_author_handle` | The quoted post's author's handle. |
| `labels` | Moderation labels on the post (`porn`, `nudity`, `graphic-media` …). |
| `indexed_at` | When Bluesky's index saw the post (UTC). |
| `found` | On a search's target row: Bluesky's count for the search (it shows at most 10,000). |
| `verdict` | On a target row: COMPLETE (read to the end), CAPPED (`maxPostsPerInput`), DATE_LIMIT (`since` reached), TRUNCATED (a `top` search's one page under its count) or PARTIAL (stopped: `note` says why). |
| `rows_delivered` | On a target row: the post rows it delivered. |
| `note` | Why a target row has the status or the verdict it has, and how many posts were skipped for their authors' label. |
| `scraped_at` | When this row was read (UTC). |

Example record:

```json
{
  "record_type": "post",
  "status": "ok",
  "input": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
  "source_kind": "post",
  "id": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
  "cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
  "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
  "text": "👋  Bluesky is an open social network that gives creators independence from platforms, developers the freedom to build, and users a choice in their experience. We're so excited to have you here! \n\nWe share Bluesky updates & news from this account. A quick orientation thread: 🧵✨",
  "created_at": "2024-10-17T07:06:51.491Z",
  "author_handle": "bsky.app",
  "author_display_name": "Bluesky",
  "author_did": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "author_avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
  "like_count": 63760,
  "repost_count": 9552,
  "reply_count": 8714,
  "quote_count": 723,
  "bookmark_count": 280,
  "langs": [
    "en"
  ],
  "hashtags": [],
  "mentions": [],
  "links": [],
  "images": [],
  "video": null,
  "link_card": null,
  "is_reply": false,
  "reply_parent_url": null,
  "reply_root_url": null,
  "is_quote": false,
  "quoted_post_url": null,
  "quoted_post_text": null,
  "quoted_post_author_handle": null,
  "labels": [],
  "indexed_at": "2024-10-17T07:06:51.491Z",
  "found": null,
  "verdict": null,
  "rows_delivered": null,
  "note": null,
  "scraped_at": "2026-11-07T11:50:50Z"
}
```

### Pricing

**Pay only for the posts a run delivers**, plus one run start; no platform usage is billed to you. The post price falls with your Apify plan.

| event | unit | Free | Starter | Scale | Business |
|---|---|---|---|---|---|
| Post (`post`) | per 1,000 | $0.935 | $0.5865 | $0.561 | $0.459 |
| Run start (`start`) | per run | $0.00161 | $0.00161 | $0.00161 | $0.00161 |

A post row is **$0.935 per 1,000** on the Free plan and $0.5865 on Starter, with every field included (text, author, counts, links, images, video, the link card, the reply and quote parents): there is no add-on. Each run that delivers a post also pays the **run start, $0.00161 once**; a run that delivers no post pays nothing at all. So 100 posts cost $0.09511 on the Free plan and $0.06026 on Starter; 1,000 posts $0.93661 and $0.58811. The `target` row of every input, a search with no match (`no_results`), an unknown handle or post (`not_found`), an account that asks not to be shown to logged-out readers (`not_public`), a value that is not a search, handle or post link (`invalid_input`), an input Bluesky refused (`failed`) and an input left at the cap or the time limit (`not_read`) are free rows, never charged; so are the posts skipped for their authors' label. A post is charged once a run, also when two inputs list it. A run that stops early (a timeout, an abort) is charged for the posts it delivered.

Before the first request the log names the price of a post at your plan, the run start and your charge limit; `maxItems` caps the posts of the whole run. Enterprise plans have their own rates — the Actor's Pricing tab shows the price for your plan.

### Usage patterns

- **Searches, handles and post links** — `searchTerms` takes words, one search a line (`#python` searches a hashtag). `handles` takes a handle (`jay.bsky.team`, `@name.bsky.social`, or a bare name for `name.bsky.social`), a profile link or a DID, and reads the account's own posts and threads, newest first (its reposts of other accounts and its replies to other accounts are left out: the profile's Posts tab). `postUrls` takes post links (`https://bsky.app/profile/<handle>/post/<id>`) or `at://` URIs. A link is read by its form in any list.
- **What a row is** — `record_type` = `post`: one post, with `source_kind` search, profile or post. `record_type` = `target`: the free row of one input — `found` (a search's count as Bluesky shows it, at most 10,000), `rows_delivered`, the `verdict` and the `status` with its `note`.
- **How far a run goes** — `maxPostsPerInput` (default 100; 0 = all) stops each search and each handle after that many new posts; `since` stops them at older posts. A `latest` search walks back by date, so a busy word can go back months; a `top` search is Bluesky's one ranked page of at most 100. A handle's feed goes back to the account's first post (930 posts of `bsky.app` in 10 calls, measured 2026-11-07). `maxItems` caps the charged rows of the whole run.

### Input configuration

| field | type | default | what it does |
|---|---|---|---|
| `searchTerms` | `array` | `[]` | Words to search Bluesky posts for, one search each (a hashtag such as #python works too). A post link or a profile link in this list is read as that post or that profile, and a bsky.app/search?q= link as that search. |
| `handles` | `array` | `[]` | Accounts whose own posts to read, newest first: a handle (jay.bsky.team, @name.bsky.social, or a bare name for name.bsky.social), a profile link (https://bsky.app/profile/jay.bsky.team) or a DID (did:plc:…). Reposts of other accounts' posts and replies to other accounts are left out (the profile's Posts tab). |
| `postUrls` | `array` | `[]` | Single posts: a post link (https://bsky.app/profile/<handle>/post/<id>) or an at:// URI. One row each. |
| `sort` | `latest` / `top` | `"latest"` | For searches. latest: newest first, walked back by date as far as you ask. top: Bluesky's ranking, one page of at most 100 posts a search (Bluesky gives a logged-out reader no second page of a ranked search). |
| `since` | `string` | `""` | Only posts from this time on, for searches and handles: a date (2026-10-01), a date and time in UTC, or a span back from now (7 days, 24 hours, 2 weeks). Empty: no date limit. |
| `maxPostsPerInput` | `integer` | `100` | The most posts each search and each handle delivers. 0 = every post Bluesky serves (a busy search can go back months). Post links give one row each. |
| `maxItems` | `integer` | `0` | The most charged rows of the whole run; 0 = no cap beyond your charge limit. |
| `feedback` | `string` |  | A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note. |

### Errors

**A run does not fail because of your input.** When an input cannot be used — a date that is not a date, an id in the wrong form, two settings that contradict each other — the run ends **Succeeded**, charges nothing, and says what to change:

- the status message starts with `INPUT REJECTED`;
- the dataset holds one row, `{"error": true, "code": "…", "message": "…"}`, and no results;
- the key-value store record `ERROR` holds the same object.

From code, check `error` on the first row before reading results.

A value that names nothing on Bluesky (a link to another site, a handle with spaces, a profile's lists page) is not an error: it gets one free `target` row with `status` invalid_input that says why, and the run goes on with the others. A run that ends **Failed** is a fault on our side, never your input; it charges nothing, and we are alerted.

### FAQ

**Which status is which?**

A target row's `status` is `ok` (posts served), `no_results` (the search found nothing), `not_found` (Bluesky answers that the account or the post does not exist; checked on two connections), `not_public` (the account asks not to be shown to logged-out readers), `invalid_input` (not a search word, handle or post link), `failed` (Bluesky refused every try; free) or `not_read` (left at `maxItems`, the charge limit or the run's time limit). A post row's `status` is `ok`.

**Does it need a Bluesky account or an app password?**

No. Everything is read from Bluesky's public API as a visitor who is not logged in. Nothing that needs a login (likes of a post, who reposted it, private lists) is read.

**Why are some posts of a search missing?**

A post whose author set Bluesky's option to hide the account from logged-out readers is left out on purpose, and never charged; the target row's `note` counts them. Bluesky also leaves out posts it has taken down or labelled for removal.

**Does it read replies under a post, followers or profiles?**

No. It reads posts: search results, an account's own posts and single posts. Each row names its reply parent and root and its quoted post.

**Do I need Apify Proxy or my own proxy?**

No. The Actor uses its own connections, at no extra cost to you.

### Integration

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('hyperbach/bluesky-scraper').call({"searchTerms": ["climate change"], "maxPostsPerInput": 100});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('hyperbach/bluesky-scraper').call(run_input={'searchTerms': ['climate change'], 'maxPostsPerInput': 100})
items = client.dataset(run['defaultDatasetId']).list_items().items
```

#### CLI

```bash
apify call hyperbach/bluesky-scraper --input '{"searchTerms": ["climate change"], "maxPostsPerInput": 100}'
```

#### REST

```bash
curl -X POST "https://api.apify.com/v2/acts/hyperbach~bluesky-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' -d '{"searchTerms": ["climate change"], "maxPostsPerInput": 100}'
```

#### AI agents and MCP

Apify's MCP server offers this Actor as a tool to Claude, Cursor, VS Code and any other MCP client. Connect `https://mcp.apify.com?tools=hyperbach/bluesky-scraper` and ask, for example: "Get the latest 100 Bluesky posts about climate change with the author, likes, reposts and links". The agent fills the input from the table above and reads the rows from the run's dataset. A field under the name another Actor gives it is read as this Actor's own: `queries`, `keywords`, `searchQueries`, `query` as `searchTerms`; `usernames`, `profiles`, `accounts`, `users` as `handles`; `startUrls`, `urls`, `posts`, `postUrl` as `postUrls`; `limit`, `maxResults`, `maxResultsPerInput`, `maxPosts` as `maxPostsPerInput` (and more). An agent or a person can add `feedback` to any run and say what was needed and not delivered: a missing field, a wrong or empty result, the Actor switched from or to, and why. The run returns the same rows at the same price, and a person reads every note.

#### n8n, Make and Zapier

The Apify node in n8n, the Apify app in Make and the Apify integration in Zapier run this Actor on a schedule or from a trigger and read its dataset. A webhook on the run's end (Integrations on the Actor page) sends the rows on to your own endpoint. Nothing to install on our side.

### Support

**Disagree with a charge?** Write to apify@hyperbach.com with the run ID. We will ask Apify to compensate you, and the charge comes back to your Apify account as platform credit.

**Did it do the job?** A short [review on the Store](https://apify.com/hyperbach/bluesky-scraper/reviews), at any rating, helps the next buyer choose.

### See also

- **[Telegram Profile Scraper](https://apify.com/hyperbach/telegram-profile-scraper)** — Telegram channels, groups, bots and users by username or link, with the exact subscriber or member count.
- **[YouTube Channel Search Scraper](https://apify.com/hyperbach/youtube-channel-search-scraper)** — the YouTube channels a keyword finds, with subscribers, the exact video and view counts and the country.
- **[Threads Scraper](https://apify.com/hyperbach/threads-scraper)** — Threads profiles with the exact follower count, their posts and replies with view counts, and keyword and tag search, without a login.
- **[Substack Scraper](https://apify.com/hyperbach/substack-scraper)** — the posts of a Substack newsletter with the full text of free posts, the date, the paywall flag and the likes.
- **[Weibo Scraper](https://apify.com/hyperbach/weibo-scraper)** — Weibo posts, profiles, search, comments and the hot-search boards, without a login.
- **[Pinterest Search Scraper](https://apify.com/hyperbach/pinterest-search-scraper)** — the pins of a Pinterest search, with the link each pin points to, the image and the pinner.

*This page is generated from the Actor's schemas and a live sample — it cannot describe a field the Actor does not have.*

# Actor input Schema

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

Words to search Bluesky posts for, one search each (a hashtag such as #python works too). A post link or a profile link in this list is read as that post or that profile, and a bsky.app/search?q= link as that search.

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

Accounts whose own posts to read, newest first: a handle (jay.bsky.team, @name.bsky.social, or a bare name for name.bsky.social), a profile link (https://bsky.app/profile/jay.bsky.team) or a DID (did:plc:…). Reposts of other accounts' posts and replies to other accounts are left out (the profile's Posts tab).

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

Single posts: a post link (https://bsky.app/profile/<handle>/post/<id>) or an at:// URI. One row each.

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

For searches. latest: newest first, walked back by date as far as you ask. top: Bluesky's ranking, one page of at most 100 posts a search (Bluesky gives a logged-out reader no second page of a ranked search).

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

Only posts from this time on, for searches and handles: a date (2026-10-01), a date and time in UTC, or a span back from now (7 days, 24 hours, 2 weeks). Empty: no date limit.

## `maxPostsPerInput` (type: `integer`):

The most posts each search and each handle delivers. 0 = every post Bluesky serves (a busy search can go back months). Post links give one row each.

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

The most charged rows of the whole run; 0 = no cap beyond your charge limit.

## `feedback` (type: `string`):

A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note.

## Actor input object example

```json
{
  "searchTerms": [
    "bluesky"
  ],
  "handles": [],
  "postUrls": [],
  "sort": "latest",
  "since": "",
  "maxPostsPerInput": 50,
  "maxItems": 50
}
```

# Actor output Schema

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

All scraped records in the default dataset. One row per post (and one free summary row per input):

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

How the run went: post rows charged, free rows, inputs by status, the walk per input (posts delivered, the search's count, posts listed, pages, posts skipped for their authors' label, the verdict), the source counters (calls, served, refused, exits, rotations, bytes) and the memory watch.

# 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": [
        "bluesky"
    ],
    "maxPostsPerInput": 50,
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("hyperbach/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": ["bluesky"],
    "maxPostsPerInput": 50,
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("hyperbach/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": [
    "bluesky"
  ],
  "maxPostsPerInput": 50,
  "maxItems": 50
}' |
apify call hyperbach/bluesky-scraper --silent --output-dataset

```

## MCP server setup

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