# Bluesky Profile Info Scraper (`socialdataapi/bluesky-profile-info-scraper`) Actor

Bluesky Profile Info Scraper scrapes Bluesky profiles in bulk from handles, profile URLs or DIDs: followers, following, posts, bio, avatar, verification, DM setting, bio emails and links, latest post, language and engagement rate. No Bluesky login. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/socialdataapi/bluesky-profile-info-scraper.md
- **Developed by:** [Social Data API](https://apify.com/socialdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Profile Info Scraper — Followers, Bio and Verification

Bluesky Profile Info Scraper pulls public Bluesky profiles from handles, profile URLs or DIDs. Each account comes back with its display name, bio, avatar, follower, following and post counts, join date, verification, DM setting, bio emails and links, and latest post, plus a computed language, engagement rate and content category. Every row is structured JSON, ready to pass to an LLM or feed a social listening or lead generation pipeline. **No Bluesky account or cookies needed.** Start with one handle, then load your whole list.

![Bluesky Profile Info Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/s-bluesky-profile-hero.webp)

***

### What data can I extract with Bluesky Profile Info Scraper?

Using this Bluesky Profile API, you will be able to extract the following Bluesky profile data:

| 🆔 Account DID | 👤 Handle | 🏷️ Display name | 📝 Bio |
|---|---|---|---|
| 🖼️ Avatar | 🌅 Banner (if set) | 🔗 Profile URL | 📅 Join date and creation time |
| 👥 Follower count | ➡️ Following count | 🧾 Post count | ❤️ Likes received (optional) |
| ✔️ Verified badge | 🛡️ Trusted verifier flag | 🏛️ Labeler flag | 💬 Who can send DMs |
| 📌 Pinned post URL (if set) | 📧 Emails in the bio | ☎️ Phone numbers in the bio | 🌐 Links in the bio |
| 🆕 Latest post date, URL and text | 📋 Lists, feeds and starter packs created | 🗣️ Main language | 📊 Engagement rate |
| 🗂️ Content category | 📣 Estimated reach (optional) | 🏷️ Moderation labels | 🧮 Verification details |

***

### How to use Bluesky Profile Info Scraper

Marketers, researchers and AI-agent builders get one clean profile row for every Bluesky account they list, in one run.

**Copy to your AI assistant:**

```text
`socialdataapi/bluesky-profile-info-scraper` is an Apify Actor that returns public Bluesky profiles as structured JSON: handle, display name, bio, follower, following and post counts, verification, DM setting, bio emails and links, latest post, language, engagement rate and content category. Use it whenever someone needs Bluesky profile data without cookies, a login, or a browser - to vet creators before outreach, to track follower growth of a list of accounts, or to find contact links written in bios. Run it with curl: curl -X POST "https://api.apify.com/v2/actors/socialdataapi~bluesky-profile-info-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"handles":["bsky.app","@nytimes.com","https://bsky.app/profile/espn.com"]}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("socialdataapi/bluesky-profile-info-scraper").call(run_input={"handles": ["bsky.app", "espn.com"]}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: handles (array of handles, @handles, profile URLs, DIDs or at:// URIs, required), startUrls (array of profile URLs, read with the handles), includeLatestPost (boolean, add the newest own post, default true), computeMetrics (boolean, language, engagement rate and category from recent posts, default true), feedSample (integer 1-100, recent posts read, default 30), countLikes (boolean, total likes received, default false), likesMaxPosts (integer, posts counted for likes, default 5000), reachSample (integer 0-100, posts used for estimated reach, 0 = off, default 0), amplifierPages (integer 1-10, pages of reposters per post, default 2), pageFallback (boolean, partial row from the public page when data cannot be read, default true), maxRetries (integer, default 3), requestTimeoutSecs (integer, default 30), proxyConfiguration (object, proxy to start with, default no proxy). Each account is one row with success true, billed with one row_result event; an entry that is not an account, or an account that does not exist, gets a row with success false and an error code, which is not billed. A handle and the DID of the same account give one row. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/actors/socialdataapi~bluesky-profile-info-scraper/builds/default
```

#### Bluesky Profile Info Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this actor and it can read Bluesky profiles on its own: counts, bio, verification, bio contacts and the latest post of any public account. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/bluesky-profile-info-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Bluesky Profile Info Scraper](https://apify.com/socialdataapi/bluesky-profile-info-scraper) in the Apify Store.
3. Enter the Bluesky handles, profile URLs or DIDs (with or without @), one per line.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Bluesky Profile Info Scraper to bulk

Put every account in the handles list: one run reads them all, eight at a time, and saves each row as soon as it is ready. Duplicates are removed, also when the same account is given once as a handle and once as a DID. Every account you list gives one profile row, so the list itself sets how many rows you get. For regular tracking, save the input as a task and schedule it daily or weekly in Apify Console, or call the API from your own job with a new list each time.

***

### ✨ Features

Bluesky Profile Info Scraper fetches clean, structured profiles from Bluesky. It's ideal for creator vetting, audience research, brand monitoring and building lead lists from bios.

It extracts, per profile:

- **Follower, following and post counts** – the audience size and activity of the account
- **Verification** – the blue check, the trusted-verifier flag and who verified the account
- **Bio contacts** – emails, phone numbers and websites written in the bio
- **Latest post** – date, link and text of the account's newest own post (reposts and replies skipped)
- **Engagement rate** – average likes, reposts, replies and quotes per recent post as a share of followers
- **Language and content category** – what the account posts in and about
- **Profile media** – avatar, banner and pinned post link
- **DM setting** – whether everyone, only followed accounts or no one can send direct messages

⚡ The slow extras (likes received and estimated reach) are off by default, so a normal run reads each profile with two requests.

***

### Use cases 💡

- **Influencer marketer** — rank creators by follower count and engagement rate before outreach.
- **Sales team** — collect emails and websites from the bios of a target account list.
- **Researcher** — track follower and post counts of news outlets week by week.
- **Brand manager** — check which accounts are verified and when they last posted.
- **AI agent builder** — give an agent profile context from bios and latest posts for RAG answers.

Building an AI agent? [Connect Bluesky Profile Info Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

1. **Many accounts in seconds.** A recorded local run read 40 accounts in 4 seconds, and 5 mixed entries (handles, a profile URL and a DID) gave 4 profiles in about 1 second after the duplicate was removed.
2. **The numbers behind each account.** A recorded row for The Onion came back with 1,361,306 followers, 9,091 posts, a verified badge, two bio links, the pinned post and the latest post with its text.
3. **40+ fields from one input.** Profile, counts, verification, bio contacts, latest post and four computed metrics, plus clear error rows for entries that are not accounts.

***

### ⬇️ Input

![Bluesky Profile Info Scraper input form with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/s-bluesky-profile-input.webp)

The actor takes a list of Bluesky accounts in the required handles field: handles, @handles, profile URLs, DIDs or at:// URIs, in any mix.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| handles | Yes | array | Accounts, one per line: handle, @handle, profile URL (a post URL works too), DID or at:// URI. Duplicates are removed. | `["bsky.app", "@nytimes.com"]` |
| startUrls | No | array | Profile URLs as a URL list, read together with the handles. | `[{"url": "https://bsky.app/profile/espn.com"}]` |
| includeLatestPost | No | boolean | Add the newest own post (date, URL, text). Default true. | `true` |
| computeMetrics | No | boolean | Compute language, engagement rate and category from recent posts. Off: profile data only. Default true. | `true` |
| feedSample | No | integer | Recent posts read for the metrics and the latest post, 1-100. Default 30. | `30` |
| countLikes | No | boolean | Add the total likes received over the whole post history. Slow on big accounts. Default false. | `false` |
| likesMaxPosts | No | integer | Stop counting likes after this many posts (then the value is a lower bound). Minimum 100, default 5000. | `5000` |
| reachSample | No | integer | Newest posts used for estimated reach, 0-100. 0 = off. Default 0. | `0` |
| amplifierPages | No | integer | Pages of 100 reposters and quoters read per post for estimated reach, 1-10. Default 2. | `2` |
| pageFallback | No | boolean | If profile data cannot be read, return a partial row from the public profile page. Default true. | `true` |
| maxRetries | No | integer | Retries for a failed or rate-limited request. Default 3. | `3` |
| requestTimeoutSecs | No | integer | Seconds one request may take. Default 30. | `30` |
| proxyConfiguration | No | object | Proxy to start with. Default: no proxy; the run switches to a proxy by itself when blocked. | `{"useApifyProxy": false}` |

Accepted account formats:

- `espn.com`, `name.bsky.social`
- `@nytimes.com`
- `https://bsky.app/profile/espn.com` (or a post URL of that account)
- `did:plc:z72i7hdynmk6r22z27h6tvur`, `did:web:...`
- `at://did:plc:.../app.bsky.feed.post/...`

#### Free plan limits

Users on the Apify free plan can fetch up to 20 profiles per run (all handles together)
and 200 profiles per month. When the limit is reached the run finishes successfully with a
status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
    "handles": ["bsky.app", "@nytimes.com", "https://bsky.app/profile/theonion.com", "espn.com"],
    "startUrls": [{"url": "https://bsky.app/profile/pbsnews.org"}],
    "includeLatestPost": true,
    "computeMetrics": true,
    "feedSample": 30,
    "countLikes": false,
    "likesMaxPosts": 5000,
    "reachSample": 0,
    "amplifierPages": 2,
    "pageFallback": true,
    "maxRetries": 3,
    "requestTimeoutSecs": 30,
    "proxyConfiguration": {"useApifyProxy": false}
}
```

***

### ⬆️ Output

![Bluesky Profile Info Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/WYkyEfqs10huyXYxr/records/s-bluesky-profile-output.webp)

Every profile is one typed, normalized JSON item with the same schema on every run; export it as JSON (default), CSV or Excel. Entries that could not be read come as rows with success false and an error code (invalid_input, not_found, account_deactivated, account_takedown, fetch_failed), which are not billed.

#### Example output

```json
[
    {
        "source_input": "https://bsky.app/profile/theonion.com",
        "success": true,
        "id": "did:plc:a4pqq234yw7fqbddawjo7y35",
        "username": "theonion.com",
        "display_name": "The Onion",
        "avatar_url": "https://cdn.bsky.app/img/avatar/plain/did:plc:a4pqq234yw7fqbddawjo7y35/bafkreiajdz4ktkjv5jrnye7sotgz6g5xarts6yu6ypbhninxqnvwoiwsfi",
        "bio": "America’s Finest News Source. A @globaltetrahedron.bsky.social subsidiary. \n\nGet the paper delivered to your door: membership.theonion.com\n\nJoin The Onion Newsletter: https://theonion.com/newsletters/",
        "verified": true,
        "followers": 1361306,
        "following": 5,
        "posts_count": 9091,
        "likes_count": null,
        "url": "https://bsky.app/profile/theonion.com",
        "joined_at": "2023-04-29",
        "created_at": "2023-04-29T12:21:21.353Z",
        "banner_url": "https://cdn.bsky.app/img/banner/plain/did:plc:a4pqq234yw7fqbddawjo7y35/bafkreicgch7tqdrzk2hjjwgjf5pwxy3rfkv2l2rpnyxqu2sxyrz6oenp44",
        "pinned_post_url": "https://bsky.app/profile/theonion.com/post/3mzioxzgage2h",
        "is_trusted_verifier": false,
        "is_labeler": false,
        "lists_count": 0,
        "feeds_count": 0,
        "starter_packs_count": 0,
        "accepts_dms": "following",
        "emails": [],
        "phones": [],
        "links": ["https://theonion.com/newsletters/", "https://membership.theonion.com"],
        "latest_post_at": "2026-11-10T02:00:07.084090897Z",
        "latest_post_url": "https://bsky.app/profile/theonion.com/post/3mzwds2kf2n26",
        "latest_post_text": "I’ll tell you whatever you want to know: recipes, ingredients, how we get the powdered sugar to stay on, you name it.” — Larry Dunford, Entenmann’s CEO",
        "associated": {"lists": 0, "feedgens": 0, "starterPacks": 0, "labeler": false, "chat": {"allowIncoming": "following"}, "activitySubscription": {"allowSubscriptions": "followers"}},
        "labels": [],
        "verification": {"verifications": [{"issuer": "did:plc:z72i7hdynmk6r22z27h6tvur", "issuerDisplayName": "Bluesky", "issuerHandle": "bsky.app", "isValid": true, "createdAt": "2025-04-21T10:47:00.934Z"}], "verifiedStatus": "valid", "trustedVerifierStatus": "none"},
        "indexedAt": "2026-11-09T20:54:18.485Z",
        "engagement_rate": 0.132,
        "language": "en",
        "content_category": "news",
        "estimated_reach": null,
        "platform": "bluesky",
        "partial": false,
        "stats": {"requests": 2, "retries": 0, "fetched_at": "2026-11-10T14:17:26Z", "posts_sampled": 30, "language_source": "post_text", "category_keywords": ["news"]},
        "elapsed_ms": 961
    },
    {
        "source_input": "thisdoesnotexist-xyz123.bsky.social",
        "success": false,
        "platform": "bluesky",
        "error": {"code": "not_found", "message": "Profile not found", "http_status": 400},
        "elapsed_ms": 660
    }
]
```

***

### How does it work?

Bluesky Profile Info Scraper reads public Bluesky data, the same profile facts any visitor sees on bsky.app without logging in. You give it a list of accounts; it reads up to eight of them at the same time and saves each profile row as soon as it is ready, so the table fills while the run is going. Requests start without a proxy; if Bluesky blocks or rate-limits them, the run retries and switches to a datacenter proxy, then to a residential proxy, by itself. The bio is scanned for emails, phone numbers and websites, and the recent posts give the language, engagement rate and content category. If profile data cannot be read at all, the public profile page fills a partial row instead of an error. The output schema is normalized and stays the same from run to run.

***

### How do you integrate Bluesky Profile Info Scraper into your stack?

It works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Bluesky Profile Info Scraper with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/actors/socialdataapi~bluesky-profile-info-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"handles": ["bsky.app", "@nytimes.com", "espn.com"]},
)
for profile in resp.json():
    if profile["success"]:
        print(profile["username"], profile["followers"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Add the actor to your agent with one command:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/bluesky-profile-info-scraper"
```

This registers Bluesky Profile Info Scraper as a tool your agent can call directly. It works in Claude Code, Cursor and Windsurf: ask for the follower count, bio links or latest post of any Bluesky account and the agent runs the actor and reads the JSON.

#### No-code tools (n8n, Make, LangChain)

**n8n:** use the Apify node with "Run an Actor" and pick this actor, or an HTTP Request node pointed at the run-sync-get-dataset-items endpoint with your token. Each profile comes back as one item for the next node.

**Make:** add the Apify app's "Run an Actor" module with your handles, then "Get Dataset Items" to pass each profile to a sheet or CRM.

**LangChain:** install `langchain-apify` and use `ApifyActorsTool("socialdataapi/bluesky-profile-info-scraper")` so your chain can look up profiles on demand.

***

### Is it legal to scrape Bluesky data?

Collecting publicly available Bluesky profile data is generally legal. Bluesky Profile Info Scraper returns only public data — what any user sees without logging in — and never reads private messages or anything behind a login. Under GDPR, collecting public data is generally permissible, but storing and using it, especially names and contact details from bios, must comply with your local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Bluesky Profile Info Scraper return?

Each row has the handle, display name, bio, follower count and verified badge, plus post count, banner, DM setting, bio contacts, latest post and the computed metrics. See [the data fields section](#what-data-can-i-extract-with-bluesky-profile-info-scraper) for the full list.

#### Does Bluesky Profile Info Scraper require a Bluesky account or login?

No. Only public profile data is extracted, and no credentials or cookies are needed.

#### How fast does Bluesky Profile Info Scraper run?

A recorded local run read 40 accounts in 4 seconds. The data is live, read at run time, not cached. Turning on likes received or estimated reach adds requests per account and makes big accounts take several seconds each.

#### What happens if a profile is private or doesn't exist?

You get a row with success false and an error code: not_found for an unknown handle or DID, invalid_input for text that is not an account, account_deactivated or account_takedown for closed accounts. These rows are not billed; filter on success in your code.

#### Can I scrape multiple Bluesky profiles at once?

Yes. Put all accounts in the handles list; they are read eight at a time, and duplicates (also a handle plus its DID) give one row.

#### Does Bluesky Profile Info Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Bluesky Profile Info Scraper is available as an MCP tool. Register it with `claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/bluesky-profile-info-scraper"` in Claude Code, Cursor or Windsurf. Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Bluesky Profile Info Scraper return data in a format LLMs can use directly?

Yes. It returns typed, normalized JSON with consistent field names, with no HTML parsing and no selectors. Pass it straight to an LLM, index it into a vector store, or feed it to an agent tool, with no transformation step.

#### What happens when Bluesky changes its layout or updates its anti-bot system?

This actor is maintained and updated. When Bluesky changes, the actor is updated, and your calls keep returning the same JSON schema with no changes on your end.

#### Can I use Bluesky Profile Info Scraper without managing proxies or browser infrastructure?

Yes. Retries and the switch to a proxy when requests are blocked run on the actor's side, and no browser is needed. You send one request and get structured JSON back.

#### Which Bluesky profile fields work best for AI training data and RAG indexing?

For RAG, use the text fields: the bio, display name and latest post text. For training data, use the numbers and flags: follower, following and post counts, engagement rate, verified badge and language. All fields are typed strings, numbers, booleans or short lists, so no normalization is needed.

***

### Your feedback

Found a bug or missing a field? Let us know through the actor's Issues tab. This actor is maintained, every report is read, and fixes are shipped.

# Actor input Schema

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

Bluesky accounts, one per line. Each can be a handle (espn.com, @nytimes.com, name.bsky.social), a profile URL (https://bsky.app/profile/espn.com; a post URL works too), a DID (did:plc:... or did:web:...) or an at:// URI. Duplicates are removed, also when a handle and its DID name the same account. Entries that are not an account get an error row instead of stopping the run.

## `startUrls` (type: `array`):

Optional: Bluesky profile URLs as a URL list (e.g. https://bsky.app/profile/espn.com). They are read together with the handles above, the same way.

## `includeLatestPost` (type: `boolean`):

Add the account's newest own post (date, URL, text) to each row. Reposts and replies are skipped.

## `computeMetrics` (type: `boolean`):

Read the account's recent original posts to compute the language, engagement rate (average likes, reposts, replies and quotes per post as a percentage of followers) and content category. Off: profile data only; language and category then come from the bio, engagement rate is empty.

## `feedSample` (type: `integer`):

How many of the newest posts are read for the metrics and the latest post (1-100). Reposts and replies in that window are skipped, so a higher number finds the latest own post of accounts that mostly repost.

## `countLikes` (type: `boolean`):

Add likes_count: the total likes the account's posts received, summed over its whole post history. Slow on big accounts (about one extra request per 100 posts), so off by default.

## `likesMaxPosts` (type: `integer`):

Stop counting likes after this many posts. Past it, likes_count is a lower bound and the row's warnings say so.

## `reachSample` (type: `integer`):

Number of the newest posts whose reposters and quoters are looked up to compute estimated_reach (the account's followers plus the average audience of the people who reposted or quoted a post). 0 = skip. About 10 extra requests per post, so off by default. Needs metrics on.

## `amplifierPages` (type: `integer`):

Pages of 100 reposters and quoters read per post for estimated reach (1-10). Posts with more are extrapolated.

## `pageFallback` (type: `boolean`):

When Bluesky's data service cannot be reached after the retries, read the public profile page instead and return a partial row (name, handle, bio; counts and dates empty, partial = true).

## `maxRetries` (type: `integer`):

Retries for a request that fails or is rate limited, with a growing pause between them.

## `requestTimeoutSecs` (type: `integer`):

How long one request may take before it is retried.

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

Optional proxy to start with. Default: no proxy; when blocked, the run moves to a datacenter and then a residential proxy.

## Actor input object example

```json
{
  "handles": [
    "bsky.app",
    "@nytimes.com",
    "https://bsky.app/profile/espn.com"
  ],
  "includeLatestPost": true,
  "computeMetrics": true,
  "feedSample": 30,
  "countLikes": false,
  "likesMaxPosts": 5000,
  "reachSample": 0,
  "amplifierPages": 2,
  "pageFallback": true,
  "maxRetries": 3,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

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

No description

## `stats` (type: `string`):

No description

## `latestPosts` (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 = {
    "handles": [
        "bsky.app",
        "@nytimes.com",
        "https://bsky.app/profile/espn.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialdataapi/bluesky-profile-info-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 = {
    "handles": [
        "bsky.app",
        "@nytimes.com",
        "https://bsky.app/profile/espn.com",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("socialdataapi/bluesky-profile-info-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 '{
  "handles": [
    "bsky.app",
    "@nytimes.com",
    "https://bsky.app/profile/espn.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call socialdataapi/bluesky-profile-info-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,socialdataapi/bluesky-profile-info-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/Rh4nLCz3g0AqKnJA7/builds/xMXTSDwu9aH7POSUT/openapi.json
