# Bluesky Brand, Trend & Sentiment Intelligence (MCP-Ready) (`olviklabs/bluesky-brand-intelligence`) Actor

Fast, zero-auth Bluesky (AT Protocol) post, author, and brand mention extractor with engagement metrics and LLM-ready Markdown summaries. Built for marketers, researchers, and AI agents via MCP.

- **URL**: https://apify.com/olviklabs/bluesky-brand-intelligence.md
- **Developed by:** [Olvik Labs](https://apify.com/olviklabs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 post extracteds

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 — Brand Mentions, Author Feeds & Trend Monitor (MCP-Ready)

Extract structured **Bluesky (`bsky.app` / AT Protocol)** posts, engagement metrics, follower counts, author bios, and **LLM-ready Markdown summaries** in seconds. Built on official AT Protocol XRPC endpoints — fast, schema-validated, and ready for **Claude / Cursor MCP**, **n8n**, **Make**, **Clay**, and Python/TypeScript pipelines.

***

### Why Teams Choose This Bluesky Scraper

- **Zero Fragile HTML Scraping:** Queries official AT Protocol JSON endpoints (`public.api.bsky.app` & `bsky.social`) so runs finish in seconds and don't break on UI redesigns.
- **Two Modes Built In:**
  1. **Zero-Auth Public Handle Mode (`handles`):** Monitor any list of Bluesky accounts (`bsky.app`, competitors, influencers, journalists) immediately with **no login required**.
  2. **Full Keyword & Hashtag Search (`queries`):** Search brand mentions, product keywords, or hashtags sorted by `top` or `latest` using a free Bluesky App Password.
- **Author Influence Scoring:** Automatically batch-enriches every post with `authorFollowers`, `authorPostsCount`, `authorBio`, and a weighted `engagementScore`.
- **AI & RAG Native:** Includes a clean `markdown` field on every item for instant ingestion into LLMs, vector databases, and autonomous agents.

***

### High-ROI Recurring Use Cases

- **Brand & Competitor Monitoring:** Schedule daily runs in Apify or **n8n** to alert Slack whenever your brand, product, or competitor is mentioned on Bluesky.
- **B2B Lead & Buying-Intent Signals:** Spot founders and developers complaining about competitor tools or asking for recommendations, then enrich leads in **Clay**.
- **Influencer & Creator Discovery:** Track engagement velocity and follower ratios across niche creators.
- **AI Agent Live Social Context (MCP):** Give Claude, Cursor, or custom LangChain agents live social search capabilities via Apify's MCP server.

***

### Transparent Pay-Per-Event Pricing

Platform compute usage is **included free** — you only pay for clean records delivered:

- **`$0.50` per 1,000 posts extracted** (`$0.0005` / post)
- Test 100 posts for **$0.05**!

***

### Quick Start Input Examples

#### 1. Monitor Competitor / Creator Handles (Zero Auth Needed)

```json
{
  "handles": ["bsky.app", "jay.bsky.team"],
  "maxPostsPerTarget": 50,
  "includeAuthorProfiles": true,
  "includeMarkdownSummary": true
}
```

#### 2. Search Brand Keywords & Hashtags

```json
{
  "queries": ["mcp server", "jira compliance", "#indiehackers"],
  "sort": "top",
  "maxPostsPerTarget": 100,
  "lang": "en",
  "bskyHandle": "yourhandle.bsky.social",
  "bskyAppPassword": "xxxx-xxxx-xxxx-xxxx"
}
```

***

### Sample Output Record

```json
{
  "query": "@bsky.app",
  "postUrl": "https://bsky.app/profile/odpomery.bsky.social/post/3n2xthjwiac22",
  "text": "Night and day illustrations I did for @bsky.app earlier this year!",
  "createdAt": "2026-11-23T09:38:25.356Z",
  "likeCount": 1533,
  "repostCount": 93,
  "replyCount": 21,
  "engagementScore": 1862,
  "authorHandle": "odpomery.bsky.social",
  "authorFollowers": 3680,
  "markdown": "### @odpomery.bsky.social (3680 followers)\n- **Source:** @bsky.app\n- **Engagement:** 1533 likes, 93 reposts, 21 replies..."
}
```

***

### Plug Into Claude, Cursor, n8n & Python

#### Use as an AI Agent Tool via MCP (`mcp.apify.com`)

Add to your Claude Desktop or Cursor `.mcp.json`:

```json
{
  "mcpServers": {
    "apify-bluesky": {
      "url": "https://mcp.apify.com/?actors=olviklabs/bluesky-brand-intelligence",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

#### Automate in n8n / Make / Zapier

1. Add the official **Apify** node in **n8n** or **Make**.
2. Select **Run an Actor** → `olviklabs/bluesky-brand-intelligence`.
3. Map `datasetItems` directly to Slack, Airtable, Google Sheets, HubSpot, or OpenAI!

#### Call from Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("olviklabs/bluesky-brand-intelligence").call(
    run_input={"handles": ["bsky.app"], "maxPostsPerTarget": 25}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["authorHandle"], item["engagementScore"], item["postUrl"])
```

***

### Support & Custom Features

Built and maintained by **Olvik Labs** (https://olviklabs.com). Need a custom field or enterprise SLA? Email **support@olviklabs.com** or open an issue on the Actor page.

# Actor input Schema

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

List of Bluesky handles to extract posts & engagement from without needing authentication (e.g. \['bsky.app', 'pfrazee.com']).

## `queries` (type: `array`):

Keywords, brand names, or hashtags to search across Bluesky (uses BSKY_HANDLE/BSKY_APP_PASSWORD secret or optional fields below).

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

Sort keyword search results by newest ('latest') or highest engagement ('top').

## `maxPostsPerTarget` (type: `integer`):

Maximum number of posts to fetch per handle or search query.

## `lang` (type: `string`):

Optional two-letter language code (e.g., 'en', 'de', 'ja').

## `includeAuthorProfiles` (type: `boolean`):

Batch-fetch full author profiles (followersCount, followsCount, postsCount, bio).

## `includeMarkdownSummary` (type: `boolean`):

Adds a clean 'markdown' field formatted for direct LLM / MCP / vector DB ingestion.

## `bskyHandle` (type: `string`):

Optional Bluesky handle for authenticated searchPosts. If omitted, falls back to Actor environment variable BSKY_HANDLE.

## `bskyAppPassword` (type: `string`):

Optional Bluesky App Password (Settings -> Privacy & Security -> App Passwords). Falls back to BSKY_APP_PASSWORD env var.

## Actor input object example

```json
{
  "handles": [
    "bsky.app"
  ],
  "queries": [],
  "sort": "latest",
  "maxPostsPerTarget": 25,
  "lang": "",
  "includeAuthorProfiles": true,
  "includeMarkdownSummary": true,
  "bskyHandle": ""
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `jsonResults` (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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("olviklabs/bluesky-brand-intelligence").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"] }

# Run the Actor and wait for it to finish
run = client.actor("olviklabs/bluesky-brand-intelligence").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"
  ]
}' |
apify call olviklabs/bluesky-brand-intelligence --silent --output-dataset

```

## MCP server setup

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

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/RcO19HjXBgHuukiEa/builds/0sNPjUdcPgXR5a8rJ/openapi.json
