# Bluesky Account Tracker (`vyas0189/bluesky-account-tracker`) Actor

Track any public Bluesky account: followers, following, post count, recent posts, likes, reposts, replies, quotes, engagement rate and posting frequency. Compare brands and competitors, vet creators, or feed a dashboard. Uses Bluesky's official public API, no login or cookies.

- **URL**: https://apify.com/vyas0189/bluesky-account-tracker.md
- **Developed by:** [Vyas Ramankulangara](https://apify.com/vyas0189) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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.

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 Account Tracker

Track any public Bluesky accounts and get their follower counts, recent posts and engagement stats in one run. No Bluesky login, no cookies, no browser. It reads Bluesky's official public API.

### What you get

For each account, one **summary row**:

- Followers, following and total post count
- Average likes, reposts, replies and quotes per post
- Engagement rate (average engagement per post as a % of followers)
- Posting frequency (posts per week) and date of the last post
- Link to the account's best-performing recent post

And, if you want them, one **row per post** with text, date, language, likes, reposts, replies, quotes and a link to the post.

Reposts can be included in the post list, but they are never counted in an account's own engagement stats.

### Good for

- Comparing your brand's Bluesky account with competitors every week
- Vetting creators and influencers before a partnership
- Tracking how a list of journalists, founders or politicians are growing
- Feeding post data into a spreadsheet, dashboard or AI agent

### Input

| Field | What it does |
|---|---|
| Accounts | Handles (`bsky.app`, `@jay.bsky.team`), profile links or DIDs. A bare name like `alice` becomes `alice.bsky.social`. |
| Max posts per account | How many recent posts to analyze (default 50, 0 for profile stats only). |
| Only posts from the last N days | Optional date limit. |
| Include replies / Include reposts | Off by default. |
| Output individual posts | Turn off to get only the summary rows. |

### Pricing

You pay per result:

- **Account analyzed:** one summary row per account
- **Post:** one row per post saved

Accounts that don't exist or aren't public are reported in the output and are not charged. You can set a maximum cost per run, and the run stops cleanly when it is reached.

### Data and fair use

- Reads only public data that Bluesky serves to anyone through its public API.
- Never posts, likes, follows or messages anyone.
- Stays well below Bluesky's published rate limits and backs off when asked.
- Keeps nothing between runs; each run fetches fresh data, so deleted posts don't come back.

Posts and profiles are people's personal data. You are responsible for using the results lawfully, including under GDPR and similar laws where they apply.

### Limits

- Bluesky's public API returns an account's feed in pages of up to 100 posts; very large requests take longer.
- Keyword search across all of Bluesky is not included, because Bluesky often restricts it for automated tools.

# Actor input Schema

## `accounts` (type: `array`):

Bluesky handles (e.g. bsky.app or @jay.bsky.team), profile URLs (https://bsky.app/profile/...) or DIDs.

## `maxPostsPerAccount` (type: `integer`):

How many recent posts to fetch and analyze for each account. Set 0 to get profile stats only.

## `sinceDays` (type: `integer`):

Stop at posts older than this many days. Leave empty for no date limit.

## `includeReplies` (type: `boolean`):

Include the account's replies to other posts.

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

Include posts the account reposted from others. Reposts are never counted in the account's engagement stats.

## `outputPosts` (type: `boolean`):

Save each post as its own row. Turn off to get only one summary row per account (cheaper).

## Actor input object example

```json
{
  "accounts": [
    "bsky.app"
  ],
  "maxPostsPerAccount": 50,
  "includeReplies": false,
  "includeReposts": false,
  "outputPosts": true
}
```

# Actor output Schema

## `results` (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 = {
    "accounts": [
        "bsky.app"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vyas0189/bluesky-account-tracker").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 = { "accounts": ["bsky.app"] }

# Run the Actor and wait for it to finish
run = client.actor("vyas0189/bluesky-account-tracker").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 '{
  "accounts": [
    "bsky.app"
  ]
}' |
apify call vyas0189/bluesky-account-tracker --silent --output-dataset

```

## MCP server setup

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

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/V06uZ0OcXyRM66CY1/builds/uFsYh4Eg7ipQmzeQj/openapi.json
