# Buyer Intent Listening: Hacker News & Bluesky (`cognitive_advisory/buyer-intent-listening`) Actor

Find people on Hacker News and Bluesky who ask for a tool like yours, look for an alternative to a competitor, or plan to switch, scored 0–100 for buyer intent with the reasons and evidence.

- **URL**: https://apify.com/cognitive_advisory/buyer-intent-listening.md
- **Developed by:** [Lukáš Zmátlík](https://apify.com/cognitive_advisory) (community)
- **Categories:** Lead generation, Social media, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 buyer-intent leads

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

Find people on Hacker News and Bluesky who ask for a tool like yours, look for an alternative to a competitor, or plan to switch, scored 0–100 for buyer intent with the reasons and evidence.

### What does Buyer Intent Listening do?

Buyer Intent Listening watches **Hacker News** and **Bluesky** for the posts a salesperson or founder wants to answer first:

- *"Can anyone recommend a good password manager? I want to switch from ProtonPass."*
- *"Anyone know an alternative to Notion for project management as a team?"*
- *"Moving off 1Password, I need something secure for iOS + Mac."*

For each keyword you give (your competitors, your category, your own product) it:

1. Reads recent Hacker News stories and comments (official Algolia API) and Bluesky posts and replies (public AppView API).
2. Keeps only posts that contain the keyword **literally** (the search APIs are fuzzy).
3. Scores each post **0–100 for buyer intent** with transparent rules: asking for an alternative, asking for a recommendation, switching tools, complaining, asking about price. Vendor posts, job ads, news and link-dropping marketing are pushed down.
4. Returns the leads **best first**, each with `intentScore`, `intentLevel` (hot / warm / low), `intentType`, the `reasons` behind every point, and `evidence` excerpts.

No login, no cookies, no browser, no LLM guessing. Every score can be audited from `reasons`.

### Why use Buyer Intent Listening?

- **Sales and founders:** reply within hours to people who are actively shopping in your category or leaving a competitor.
- **Marketing:** learn which pain points make people switch (`intentType: switching`, `pain_point`) and in which words.
- **Product:** see which competitor features people miss when they ask for alternatives.
- **AI agents:** a simple JSON input and a stable, scored output an agent can filter (`intentLevel = "hot"`) and act on.

Raw post scrapers give you thousands of mentions to read. This Actor reads them for you and returns only the few that look like a buyer, and you pay only for those.

### What data can Buyer Intent Listening extract?

| Field | Example |
|---|---|
| `intentScore` / `intentLevel` | `65` / `warm` |
| `intentType` | `alternative_search`, `recommendation_request`, `switching`, `pain_point`, `pricing_question`, `general_mention` |
| `keyword` / `matchedKeywords` | `notion` / `["notion", "obsidian"]` |
| `source` / `postType` | `bluesky` / `post` (HN: `story`, `comment`; Bluesky: `post`, `reply`) |
| `text` | Post text (up to 1,500 characters) |
| `threadTitle` | HN story title, also for comments |
| `url` | Link to the post or comment |
| `author` / `authorUrl` | Public HN username or Bluesky handle and profile link |
| `postedAt`, `likes`, `replies`, `language` | When it was posted and how much attention it got |
| `reasons` | `["Mentions \"notion\" (+10)", "Asks for an alternative (+40)", "Phrased as a question (+5)"]` |
| `evidence` | Excerpts of the post that triggered each rule |
| `confidence` | 0–1 |
| `status` / `statusDetail` | `ok` for leads; `no_results`, `blocked`, `error`, `invalid_input` for keyword checks |

### How to find buyer-intent posts on Hacker News and Bluesky

1. Enter **keywords**: competitor names (`hubspot`, `1password`), your category (`password manager`, `crm`) or your product.
2. Pick **sources** (both by default) and the **lookback** (7 days; use 30 for a first run, 1 for a daily schedule).
3. Keep the **minimum buyer-intent score** at 40 (warm and hot) or raise it to 70 for hot leads only.
4. Run it, then open the **Leads** view: best scores first, with a link to every post.
5. To monitor, add a **schedule** (daily, lookback 1) and connect a Slack, e-mail or webhook integration.

### How much does Buyer Intent Listening cost?

Pay per event. Reading posts is free; you pay only for what is stored:

| Event | Price |
|---|---|
| Buyer-intent lead (a post at or above your minimum score) | $0.005 |
| Keyword checked without leads (per keyword and source) | $0.0005 |
| Actor start | Apify's standard start fee |

Example: 10 competitor keywords on both sources for the last 7 days typically return 5–40 leads, so **about $0.03–0.20 per run**. Invalid keywords are never charged. Set **Maximum leads** or a maximum cost per run to cap spend; the run stops cleanly at the limit.

### Input

```json
{
    "keywords": ["notion", "password manager", "1password"],
    "sources": ["hackernews", "bluesky"],
    "lookbackDays": 7,
    "minIntentScore": 40,
    "maxResults": 100,
    "language": "en",
    "excludeTerms": ["notion of", "notion that"],
    "excludeAuthors": ["mycompany.bsky.social"]
}
```

- `keywords` (required): up to 50, matched literally, case-insensitive, on word boundaries.
- `sources`: `hackernews`, `bluesky`.
- `lookbackDays`: 1–30.
- `minIntentScore`: 0–100 (0 returns every literal mention, scored).
- `maxResults`: 1–5,000 leads.
- `maxPostsPerKeyword`: posts scanned per keyword and source (50–2,000, default 500).
- `language`: optional Bluesky language code.
- `excludeTerms` / `excludeAuthors`: drop your own posts, vendor accounts, or other senses of an ambiguous word.

### Output

One row per lead (`status: "ok"`), best score first, then one row per keyword and source that found no lead:

```json
{
    "status": "ok",
    "statusDetail": null,
    "keyword": "password manager",
    "matchedKeywords": ["password manager"],
    "source": "bluesky",
    "leadId": "bluesky:at://did:plc:…/app.bsky.feed.post/3n2…",
    "url": "https://bsky.app/profile/someone.bsky.social/post/3n2…",
    "postType": "post",
    "text": "Can someone recommend a good password manager I was using ProtonPass but now I want to switch to something else.",
    "threadTitle": null,
    "author": "someone.bsky.social",
    "authorUrl": "https://bsky.app/profile/someone.bsky.social",
    "postedAt": "2026-11-20T18:02:11.000Z",
    "likes": 2,
    "replies": 5,
    "language": "en",
    "intentScore": 45,
    "intentLevel": "warm",
    "intentType": "recommendation_request",
    "evidence": [{ "field": "recommend", "source": "https://bsky.app/profile/someone.bsky.social/post/3n2…", "excerpt": "Can someone recommend a good password manager" }],
    "confidence": 0.7,
    "reasons": ["Mentions \"password manager\" (+10)", "Asks for a recommendation (+35)"],
    "observedAt": "2026-11-23T08:00:00.000Z"
}
```

The run's key-value store has a `SUMMARY` record: leads by level, posts read, posts below the threshold, and why the run stopped.

### Use with AI agents (MCP)

Add the Actor to an agent through the [Apify MCP server](https://mcp.apify.com) and ask, for example: *"Find people on Hacker News and Bluesky looking for an alternative to HubSpot this week and draft a short, helpful reply to each hot lead."* The agent gets scored rows and can act on `intentLevel`, `intentType` and `reasons` without reading every post.

### Tips

- **Competitor names work best.** "alternative to X" and "switching from X" are the strongest buyer signals.
- **Ambiguous words** (e.g. "notion") also match everyday language. Add `excludeTerms` like `"notion of"` or write `"notion app"`.
- **Start with 30 days** to see what your niche looks like, then schedule daily runs with `lookbackDays: 1`. `leadId` is stable, so you can dedupe across runs.
- Bluesky search without login returns up to 100 posts per query. The Actor runs the keyword plus a few buyer phrases ("alternative to", "looking for", "switching from" …) to catch more buyers.
- Real buyer posts are rare: 0–5 per keyword per week is normal for niche tools. Add more keywords rather than lowering the score to 0.

### FAQ

**How is the score calculated?** With fixed, published rules, not an LLM. Each rule adds or removes points (for example "Asks for an alternative +40", "Self-promotion or vendor post −30"). A phrase gets full weight only when it sits next to your keyword and the post is written in the first person ("I", "we"); otherwise it gets half. `reasons` lists every rule that fired.

**Why did a post with my keyword not appear?** It scored below `minIntentScore`, it contained the keyword only as part of another word, or it matched `excludeTerms`. Run with `minIntentScore: 0` to see every mention with its score.

**Does it read Reddit, X or LinkedIn?** No. It uses only sources with open public APIs that allow this use: Hacker News (Algolia) and Bluesky.

**Is it legal?** It reads public posts through the official public APIs of Hacker News (Algolia) and Bluesky, without login and at a polite request rate. It stores the post text and the author's public handle so you can reply in the thread; it collects no e-mails, phone numbers or private data. Check that your outreach complies with each platform's rules and with GDPR, and don't spam.

**Something is wrong?** Open an issue on the Actor's Issues tab with the run link.

# Actor input Schema

## `keywords` (type: `array`):

What buyers would name: your competitors (e.g. "hubspot"), your category (e.g. "crm"), or your own product. Matched literally, case-insensitive, on word boundaries. Up to 50.

## `sources` (type: `array`):

Where to listen. Both are read through public APIs with no login.

## `lookbackDays` (type: `integer`):

Only posts from the last N days. Use 1 for a daily scheduled run.

## `minIntentScore` (type: `integer`):

Only posts scoring at least this (0–100) become leads. 40 = warm, 70 = hot. Set 0 to get every mention.

## `maxResults` (type: `integer`):

Stop after this many leads (best scores first).

## `maxPostsPerKeyword` (type: `integer`):

How many recent posts to scan per keyword on each source before scoring. Reading posts is free; only leads are charged.

## `language` (type: `string`):

Optional two-letter language code (e.g. "en", "de") to filter Bluesky posts. Hacker News is English.

## `excludeTerms` (type: `array`):

Drop posts that contain any of these words, e.g. your own brand name or ambiguous senses ("notion of").

## `excludeAuthors` (type: `array`):

HN usernames or Bluesky handles to skip, e.g. your own team or known vendor accounts.

## Actor input object example

```json
{
  "keywords": [
    "notion",
    "hubspot"
  ],
  "sources": [
    "hackernews",
    "bluesky"
  ],
  "lookbackDays": 7,
  "minIntentScore": 40,
  "maxResults": 100,
  "maxPostsPerKeyword": 500,
  "language": "",
  "excludeTerms": [],
  "excludeAuthors": []
}
```

# Actor output Schema

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

Dataset of leads (status ok) and keyword checks

## `summary` (type: `string`):

Totals and why the run stopped

# 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 = {
    "keywords": [
        "notion",
        "hubspot"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cognitive_advisory/buyer-intent-listening").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 = { "keywords": [
        "notion",
        "hubspot",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("cognitive_advisory/buyer-intent-listening").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 '{
  "keywords": [
    "notion",
    "hubspot"
  ]
}' |
apify call cognitive_advisory/buyer-intent-listening --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cognitive_advisory/buyer-intent-listening"
        }
    }
}
```

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/Lda4BvFTCNPXdsmRD/builds/4BjC3egMtUbUDstph/openapi.json
