# Niche Business Website Lead Qualifier (`exceptional_nugget/niche-business-lead-qualifier`) Actor

Qualify supplied business websites with niche keyword matches, contact and booking evidence, and transparent outreach-priority reasons. No lead discovery or outreach.

- **URL**: https://apify.com/exceptional\_nugget/niche-business-lead-qualifier.md
- **Developed by:** [LibriHouse](https://apify.com/exceptional_nugget) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 source checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Niche Business Website Lead Qualifier

For agencies qualifying an existing prospect list before a website or booking-service proposal.

Qualify supplied business websites with niche keyword matches, contact and booking evidence, and transparent outreach-priority reasons. No lead discovery or outreach.

### What it does

Visits the homepage and bounded same-origin contact/about/booking links. Extracts mailto/tel contacts, observed booking links, niche matches and page evidence. Priority is a transparent heuristic: 50 for no observed booking, 20 for no mailto/tel contact, 20 for HTTP, 10 for a keyword match. A niche mismatch scores zero; incomplete coverage has no score.

### Quick start

Paste the example below into Input, run the Actor, then open **REPORT** for a readable HTML report or **SUMMARY** for run coverage and history status. Dataset output has one row per supplied businesses entry, with nested records and changes. Export JSON for full nested detail; CSV is best for summary fields.

```json
{
  "businesses": [
    {
      "id": "demo",
      "name": "Example website",
      "url": "https://example.com/"
    }
  ],
  "nicheKeywords": [],
  "maxPagesPerBusiness": 2
}
```

### Inputs

Each businesses object requires url; id and name are optional. nicheKeywords is an optional list of literal phrases. maxPagesPerBusiness defaults to 2 (1–3).

Supply 1–100 source objects. URLs must be public HTTP(S) on standard ports without credentials. `timeoutSecs` is 2–30 per request (default 15), `maxRedirects` 0–5 (default 3), and `delayMillis` 100–5000 between requests (default 250). Redirect destinations and DNS answers are validated; private and reserved network addresses are blocked. Response bodies are capped at 4 MB.

### Results and interpretation

`status` is observed, baseline, unchanged, changed or unknown. `sourceComplete` distinguishes complete coverage from partial/failed evidence. `records` contains observations; `facts` provides summary metrics; `issues` and the report explain limitations. `changeCounts` gives full counts; `changes` includes at most 100 detailed changes per input, with `changesTruncated` when capped. The HTML report previews 20 changes and 10 records. `SUMMARY.complete` means all inputs were attempted, while `coverageComplete` means all sources were reliable.

### Pricing

**$15 per 1000 completed source checks** ($0.015 per `business-qualified` event), plus Apify platform usage and the listed Actor-start event. A completed check can return unknown or problem evidence; it still incurs the custom check event. Transport/security exceptions with an `error` have no custom check charge. The Actor-start event is $0.00005 per GB of allocated memory, minimum one event. Use the run spending limit to bound charges; the report identifies partial budget runs. The Apify pricing tab is authoritative.

### Coverage limits

Supplied websites only: no business discovery, email verification, outreach or guarantee of buying intent. Static HTML only; embedded apps, text-only contact details and unvisited pages may contain functionality this check does not see.

HTTP requests only. No CAPTCHA bypass, credentials, proxy subscription, external AI key, notifications or outbound messages are included. Use Apify schedules and your own integrations to consume changes. Reports show source evidence, not guaranteed business outcomes.

### Troubleshooting and support

For unknown results, inspect `issues` and the source response before changing your workflow. Increase pagination limits only when needed. Retry rate limits later with a longer delay. Use a new monitor key when intentionally redefining a watchlist. Open an issue from this Actor's Issues tab with the run ID, expected behavior and a public reproducible input; omit tokens and personal data.

### Local development

Node.js 22+. Run `npm ci`, `npm test`, `npm run check`, then `npm start` with an Apify INPUT record. Tests cover source fixtures, incomplete coverage, history, HTTP safety, report escaping and charging boundaries. Cloud release evidence is recorded separately in RELEASE.md in the local project.

# Actor input Schema

## `businesses` (type: `array`):

Each businesses object requires url; id and name are optional. nicheKeywords is an optional list of literal phrases. maxPagesPerBusiness defaults to 2 (1–3).

## `timeoutSecs` (type: `integer`):

Deadline including DNS, in seconds.

## `maxRedirects` (type: `integer`):

Maximum redirects followed per request.

## `delayMillis` (type: `integer`):

Minimum delay between consecutive requests in the run.

## `nicheKeywords` (type: `array`):

Literal phrases to match in visible source text.

## `maxPagesPerBusiness` (type: `integer`):

Maximum homepage and same-origin contact pages.

## Actor input object example

```json
{
  "businesses": [
    {
      "id": "demo",
      "name": "Example website",
      "url": "https://example.com/"
    }
  ],
  "timeoutSecs": 15,
  "maxRedirects": 3,
  "delayMillis": 250,
  "nicheKeywords": [],
  "maxPagesPerBusiness": 2
}
```

# Actor output Schema

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

No description

## `report` (type: `string`):

No description

## `summary` (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 = {
    "businesses": [
        {
            "id": "demo",
            "name": "Example website",
            "url": "https://example.com/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("exceptional_nugget/niche-business-lead-qualifier").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 = { "businesses": [{
            "id": "demo",
            "name": "Example website",
            "url": "https://example.com/",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("exceptional_nugget/niche-business-lead-qualifier").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 '{
  "businesses": [
    {
      "id": "demo",
      "name": "Example website",
      "url": "https://example.com/"
    }
  ]
}' |
apify call exceptional_nugget/niche-business-lead-qualifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,exceptional_nugget/niche-business-lead-qualifier"
        }
    }
}
```

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/P4LDPu1B7I88pqRJu/builds/LnLEL3azuWeFgsuJI/openapi.json
