# Bluesky Scraper & API | EveryInfra (`blushing_parachute/everyinfra-bluesky-api`) Actor

Unofficial Bluesky data via one Actor: profile, user_posts, followers, following, search_people. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.

- **URL**: https://apify.com/blushing_parachute/everyinfra-bluesky-api.md
- **Developed by:** [ECHO](https://apify.com/blushing_parachute) (community)
- **Categories:** Social media, Developer tools
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 66.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.60 / 1,000 user_posts requests

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bluesky Scraper & API | EveryInfra

Read social media accounts, user posts, follower counts, and connection lists to map public conversations and network engagement.

Identify users by their complete handle or custom domain, keeping in mind that returned connections may not encompass the entire social graph.

### Actions

| Action | What you get | Required | Optional | Results per request | Price per request |
|---|---|---|---|---|---|
| `profile` | Resolve a Bluesky handle to its account record, with display name, bio, avatar, banner, join date, verification flag and follower, following and post counts. Pass the full handle in `username` (a custom domain works), not a display name or profile link. | username | — | 1 | $0.0007 |
| `user_posts` | Track what a Bluesky account posts. Each post has text and URL, like, repost, quote, reply and bookmark counts, plus hashtags, mentions and outbound links. `quote_count` counts reposts with added commentary, apart from plain reposts. The batch is not a complete archive. | username | — | 20 (up to 200) | $0.0056 |
| `followers` | List the accounts following a Bluesky user, each with DID, handle, display name, bio and join date. The returned page may not include every follower, so it can differ from the profile's follower count. | username | — | 30 (up to 100) | $0.0084 |
| `following` | See which accounts a Bluesky user follows, with each account's ID, handle, display name, bio and verification flag. Follow ties change over time and imply no affinity, contact or permission to message. | username | — | 30 (up to 100) | $0.0084 |
| `search_people` | Search Bluesky for accounts matching a name or term, returning handle, display name, bio, avatar and verification flag. It matches profiles rather than post text, and a match does not confirm who a person is. | keyword | — | 20 (up to 200) | $0.0056 |

### Input

Pick an `action` and fill the fields it uses. Example:

```json
{
  "action": "user_posts",
  "username": "bsky.app"
}
```

Fields that another action needs are ignored when left empty. API users can also pass `{"action": ..., "params": {...}}`.

### Output

Each result is one dataset row. Rows keep every field the source page exposes for that action; a field the platform hides or leaves empty for a record is omitted rather than filled with a placeholder. When there is a next page, the run's `OUTPUT` record holds `next_page_token`.

- `profile`: `user_id`, `username`, `display_name`, `bio`, `url`, `avatar_url`, `is_verified`, `joined_at`, `source_username`, `platform`, `banner_url`, `follower_count`, `following_count`, `post_count`
- `user_posts`: `id`, `url`, `text`, `author_username`, `author_name`, `author_id`, `author_avatar_url`, `lang`, `like_count`, `repost_count`, `comment_count`, `quote_count`, `bookmark_count`, `is_reply`, `is_repost`, `posted_at`, `platform`, `media_urls`, `embed_url`, `embed_title`, `hashtags`, `mentions`, `links`
- `followers`: `user_id`, `username`, `display_name`, `bio`, `url`, `avatar_url`, `is_verified`, `joined_at`, `source_username`, `platform`
- `following`: `user_id`, `username`, `display_name`, `bio`, `url`, `avatar_url`, `is_verified`, `joined_at`, `source_username`, `platform`
- `search_people`: `user_id`, `username`, `display_name`, `bio`, `url`, `avatar_url`, `is_verified`, `joined_at`, `source_username`, `platform`

#### Field notes

- `author_avatar_url`: Author's avatar.
- `banner_url`: Profile banner image.
- `bookmark_count`: Number of bookmarks.
- `is_reply`: Whether the post is a reply.
- `is_repost`: Whether the post is a repost.
- `joined_at`: Time the account was registered.
- `lang`: Content language, set by the author when posting.
- `links`: External links in the post text; the field is absent when there are none.
- `mentions`: Accounts (handles) @-mentioned in the post, in order of appearance; the field is absent when there are none.
- `quote_count`: Number of quote reposts. Unlike repost, a quote is a repost with a comment.
- `source_username`: The account that owns the list this row belongs to; appears only in followers and following, and equals the username in the request.
- `embed_title`: Title of the content embedded in the post, such as a link card (user_posts); absent when there is none.
- `embed_url`: Link of the content embedded in the post, such as a link card (user_posts); absent when there is none.
- `media_urls`: Array of media links (images, videos) in the post (user_posts); absent when the post has no media.

### Pricing

Pay per event, charged only when a run delivers data:

- `profile`: $0.0007, one event per non-empty request, whatever the row count.
- `user_posts`: $0.0056, one event per started block of 20 results.
- `followers`: $0.0084, one event per started block of 30 results.
- `following`: $0.0084, one event per started block of 30 results.
- `search_people`: $0.0056, one event per started block of 20 results.

Empty or failed requests are never charged. There is no actor-start fee and no per-row fee, and platform usage is included in these prices.

### Free trial

The first 3 accepted data requests per Apify account are free across all EveryInfra Actors combined (a lifetime total, not per Actor and not reset). Invalid input does not use a trial; an accepted request that returns no data still does. After that a paid Apify plan is required.

### Notes

- Results reflect what is publicly visible when the run happens; counts can be lower than requested.
- One run makes one request. For more pages, start another run with `page_token` where the action supports it.
- This is an independent Actor. It is not affiliated with, sponsored by, or endorsed by Bluesky or its owner; names and trademarks belong to their respective owners.

### Support

Open an issue on this Actor's Issues tab with the run ID.

# Actor input Schema

## `action` (type: `string`):

What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.

## `username` (type: `string`):

Used by `profile` (required), `user_posts` (required), `followers` (required), `following` (required). Specifies a complete Bluesky handle, such as alice.bsky.social or a connected custom domain name. Do not pass a display nickname or a bsky.app/profile/ page URL. The profile, user_posts, followers, and following actions all use this parameter to locate the target account.

## `keyword` (type: `string`):

Used by `search_people` (required). Specifies user or account search terms for the search_people action. This endpoint returns matching user profile results and does not search post text; use user_posts with a complete handle to retrieve posts.

## `limit` (type: `integer`):

How many results to request for list actions. Defaults and maximums per action: `user_posts` 20 (max 200); `followers` 30 (max 100); `following` 30 (max 100); `search_people` 20 (max 200). Billing: `user_posts` one event per started block of 20 results; `followers` one event per started block of 30 results; `following` one event per started block of 30 results; `search_people` one event per started block of 20 results.

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

Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree.

## Actor input object example

```json
{
  "action": "user_posts",
  "username": "bsky.app"
}
```

# Actor output Schema

## `records` (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 = {
    "username": "bsky.app"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blushing_parachute/everyinfra-bluesky-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "username": "bsky.app" }

# Run the Actor and wait for it to finish
run = client.actor("blushing_parachute/everyinfra-bluesky-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "username": "bsky.app"
}' |
apify call blushing_parachute/everyinfra-bluesky-api --silent --output-dataset

```

## MCP server setup

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

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/izOJ2OgKC6Q2Y1QKc/builds/BtKUUqXEavaIBPM10/openapi.json
