# Bluesky Profile Scraper (`bytepulselabs/bluesky-profile-scraper`) Actor

Scrape all Bluesky profile info. Add one or more Bluesky handles and extract the number of followers, follows, posts, name, description, and avatar. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

- **URL**: https://apify.com/bytepulselabs/bluesky-profile-scraper.md
- **Developed by:** [BytePulse Labs](https://apify.com/bytepulselabs) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 42 total users, 2 monthly users, 100.0% runs succeeded, 8 bookmarks
- **User rating**: 4.38 out of 5 stars

## Pricing

from $1.40 / 1,000 profiles

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

### What is Bluesky Profile Scraper?

Bluesky Profile Scraper automates the **extraction of profile data from Bluesky**. Just add one or more Bluesky handles to get all the publicly available profile data you need.

### Why scrape Bluesky profiles?

Bluesky profile data can give you valuable information about popular users anywhere in the world, help you predict trends, track brand awareness, learn how to improve your Bluesky performance, or keep an eye on competing influencers.

### How to scrape Bluesky profiles

Bluesky Profile Scraper is designed to be fast and easy to use so there aren't too many parameters or settings. Just follow the steps below:

1. Create a free Apify account.
2. Open [Bluesky Profile Scraper](https://apify.com/bytepulselabs/bluesky-profile-scraper?fpr=k8fqp).
3. Add one or more Bluesky handles to scrape.
4. Click "Save & Start" and wait for the datasets to be extracted.
5. Download your data in JSON, XML, CSV, Excel, or HTML.

### Input example

The input for Bluesky Profile Scraper should be a **Bluesky user handle**. You can add one or multiple user handles.

![Bluesky Profile Scraper input](https://pub-211b17c814af4fb6993b1d9123aeed21.r2.dev/bluesky-profile-scraper/input.jpg)

Here’s a sample of scraping the official Bluesky profile.

In JSON it looks like this:

```json
{
  "identifiers": ["bsky.app"],
  "proxy": {
    "useApifyProxy": true
  }
}
```

### Output example

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get:

![Bluesky Profile Scraper output](https://pub-211b17c814af4fb6993b1d9123aeed21.r2.dev/bluesky-profile-scraper/output.jpg)

Here is the same data but in JSON. You can download the dataset extracted by Bluesky Profile Scraper in various formats such as JSON, HTML, CSV, or Excel.

```json
{
  "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "name": "Bluesky",
  "handle": "bsky.app",
  "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app",
  "followerCount": 27565998,
  "followCount": 3,
  "postCount": 549,
  "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihagr2cmvl2jt4mgx3sppwe2it3fwolkrbtjrhcnwjk4jdijhsoze@jpeg",
  "bannerUrl": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna@jpeg",
  "createdAt": "2023-04-12T04:53:57.057Z"
}
```

### Integrate Bluesky Profile Scraper and automate your workflow

Last but not least, Bluesky Profile Scraper can be connected with almost any cloud service or web app thanks to [integrations](https://apify.com/integrations?fpr=k8fqp) on the Apify platform.

These include:

- [Make](https://docs.apify.com/platform/integrations/make?fpr=k8fqp)
- [Zapier](https://docs.apify.com/platform/integrations/zapier?fpr=k8fqp)
- [Slack](https://docs.apify.com/platform/integrations/slack?fpr=k8fqp)
- [Airbyte](https://docs.apify.com/platform/integrations/airbyte?fpr=k8fqp)
- [GitHub](https://docs.apify.com/platform/integrations/github?fpr=k8fqp)
- [Google Drive](https://docs.apify.com/platform/integrations/drive?fpr=k8fqp)
- and [much more](https://docs.apify.com/platform/integrations?fpr=k8fqp).

Alternatively, you can use [webhooks](https://docs.apify.com/platform/integrations/webhooks?fpr=k8fqp) to carry out an action whenever an event occurs. For example, you can get a notification whenever Bluesky Profile Scraper successfully finishes a run.

### Want to scrape Bluesky posts, profiles, or followers?

You can use the other dedicated scrapers below if you want to scrape specific Bluesky data. You'll have fewer settings to change and faster results. Just enter one or more Bluesky handles or URLs and click to scrape.

<table>
  <tr>
    <td>
      <img src="https://pub-211b17c814af4fb6993b1d9123aeed21.r2.dev/bluesky-post-scraper/logo.png" alt="Bluesky Post Scraper" height="19px" />
      <a href="https://apify.com/bytepulselabs/bluesky-post-scraper?fpr=k8fqp">Bluesky Post Scraper</a>
    </td>
    <td>
      <img src="https://pub-211b17c814af4fb6993b1d9123aeed21.r2.dev/bluesky-profile-scraper/logo.png" alt="Bluesky Profile Scraper" height="19px" />
      <a href="https://apify.com/bytepulselabs/bluesky-profile-scraper?fpr=k8fqp">Bluesky Profile Scraper</a>
    </td>
  </tr>
  <tr>
    <td>
      <img src="https://pub-211b17c814af4fb6993b1d9123aeed21.r2.dev/bluesky-follow-scraper/logo.png" alt="Bluesky Follow Scraper" height="19px" />
      <a href="https://apify.com/bytepulselabs/bluesky-follow-scraper?fpr=k8fqp">Bluesky Follow Scraper</a>
    </td>
    <td>
      <img src="https://pub-211b17c814af4fb6993b1d9123aeed21.r2.dev/bluesky-follower-scraper/logo.png" alt="Bluesky Follower Scraper" height="19px" />
      <a href="https://apify.com/bytepulselabs/bluesky-follower-scraper?fpr=k8fqp">Bluesky Follower Scraper</a>
    </td>
  </tr>
  <tr>
    <td>
      <img src="https://pub-211b17c814af4fb6993b1d9123aeed21.r2.dev/bluesky-video-downloader/logo.png" alt="Bluesky Video Downloader" height="19px" />
      <a href="https://apify.com/bytepulselabs/bluesky-video-downloader?fpr=k8fqp">Bluesky Video Downloader</a>
    </td>
  </tr>
</table>

### Your feedback

We’re always working on improving our Actors' performance. If you have any technical feedback for Bluesky Profile Scraper or simply found a bug, please create an issue on the Actor’s [Issues tab](https://apify.com/bytepulselabs/bluesky-profile-scraper/issues?fpr=k8fqp) in Apify Console.

### FAQ

#### How can I use Bluesky Profile Scraper with the Apify API?

The Apify API gives you programmatic access to the Apify platform. [The API](https://apify.com/bytepulselabs/bluesky-profile-scraper/api?fpr=k8fqp) is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the `apify-client` NPM package. To access the API using Python, use the `apify-client` PyPI package.

Check out the [Apify API reference](https://docs.apify.com/api/v2?fpr=k8fqp) docs for full details or click on the [Bluesky Profile Scraper API tab](https://apify.com/bytepulselabs/bluesky-profile-scraper/api?fpr=k8fqp) for code examples.

#### How much does it cost to use Bluesky Profile Scraper?

Bluesky Profile Scraper uses the **Pay-per-result** pricing model, so your costs can be easily calculated: it will cost you **$2.5 to scrape 1,000 results**, so $0.0025 per item.

Given that with the [Apify Free plan](https://apify.com/pricing?fpr=k8fqp), you get **$5 in credits monthly for free**, this tool might be your best free YouTube video downloader of all.

# Actor input Schema

## `identifiers` (type: `array`):

Bluesky handles you want to scrape data from.

## `proxy` (type: `object`):

Select proxies to be used by your scraper.

## Actor input object example

```json
{
  "identifiers": [
    "calabro.io"
  ],
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `profiles` (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 = {
    "identifiers": [
        "calabro.io"
    ],
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bytepulselabs/bluesky-profile-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 = {
    "identifiers": ["calabro.io"],
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("bytepulselabs/bluesky-profile-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 '{
  "identifiers": [
    "calabro.io"
  ],
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call bytepulselabs/bluesky-profile-scraper --silent --output-dataset

```

## MCP server setup

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