# Agency Referral Fit Checker (`kingly_contest_7cb/agency-referral-fit-checker`) Actor

Read public agency sites for ecommerce client evidence and complementary services. Get a quoted assessment, or unknown when the evidence falls short.

- **URL**: https://apify.com/kingly_contest_7cb/agency-referral-fit-checker.md
- **Developed by:** [Carina Hatton](https://apify.com/kingly_contest_7cb) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00 / 1,000 completed fit assessments

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

### What does Agency Referral Fit Checker do?

**Agency Referral Fit Checker** reads a public agency site and sorts it into a plain label: `review_candidate`, `not_fit`, or `unknown`. It is for the moment you are deciding whether an agency that serves ecommerce brands is worth a partnership conversation. It does not crawl LinkedIn, guess who will make an introduction, or invent revenue, spend, or hiring.

A review candidate needs three things on the pages it actually opened: the firm sells agency services, there is evidence of ecommerce or DTC clients, and at least one complementary service shows up in the copy. Creative overlap is a flag for a human, not a secret score.

### Why use Agency Referral Fit Checker?

A lot of "agency fit" tools hand you a number and a vibe. The number usually hides whether you saw a client page or just a blog post that used the word ecommerce. This one shows the sentence.

- Services, work, case-study, and client links on the same host are the pages it opens.
- Complementary services are a fixed list: paid media, web development, retention, email marketing.
- Overlap is also a fixed list: creative strategy, ad creative production.
- General DTC service language describes an offering. A review_candidate requires a named client-context sentence and complementary-service evidence. A blog mention of ecommerce does not establish a client.
- A store with Add to cart and a product catalog is a brand, so the fit is `not_fit`.
- An agency that plainly serves B2B SaaS and never shows an ecommerce client is `not_fit`.
- Thin readable sites return `unknown`. Fully blocked targets get a blocked summary without an inferred assessment. Missing text is not proof a service does not exist.
- There is no score field.

You can run it on a schedule or through the Apify API and export JSON, CSV, Excel, or HTML. It uses ordinary HTTP and Cheerio. It does not render a browser, so a site that only paints its services in JavaScript will look sparse, and the row will say so by staying unknown.

### What data can Agency Referral Fit Checker extract?

| Field | Type | What it means |
| --- | --- | --- |
| entityType | string | agency, brand, other, or unknown |
| fit | string | review_candidate, not_fit, or unknown |
| reasonCodes | array | Why that label was chosen |
| services | array | Service labels with evidence ids |
| ecommerceEvidence | array | Client-context sentences |
| clientExamples | array | Names taken from case-study headings or "Client:" lines |
| complementMatches | array | Complementary services the site states |
| overlapMatches | array | Creative overlap, flagged for review |
| evidenceCoverage | object | Pages fetched and blocked |
| evidenceIds | array | Quotes behind the positive reasons |

### How to check an agency site

1. Open the input tab. See the input tab for every control.
2. Add the agency public site to `targets`. The prefill is `https://hawkemedia.com/`. A private platform check on November 8, 2026 followed that homepage to the case-study index and returned `review_candidate`. The quote was: "Droyd partnered with Hawke Media to shift from retail-first to DTC-focused growth, using a full-funnel paid search strategy that transformed Q4 into a scalable model for long-term ecommerce success." Service chips and a testimonial about e-commerce marketing were not treated as a named client. One to ten sites.
3. Leave the service lists at their defaults unless you have a reason to narrow them. Unknown labels are rejected.
4. Run it. Then open every evidence quote next to the live page.
5. Read `fit` only after you read `reasonCodes`. A `review_candidate` without a quote is a bug, not a lead.
6. Download the dataset when the summary status is `ok` or `partial`. A `blocked` summary means the site was not read.

### How much will it cost to check an agency site?

The price is $0.02 for event `completed-fit-assessment`. A `review_candidate` or an evidence-backed `not_fit` is billed once. `unknown` is not billed. Blocked, failed, and empty targets are not billed. There is no developer start fee. `isOneTimeEvent` is false so a batch of agencies can bill one event each.

Standard runs include platform usage in the event price. A private mixed batch on November 8, 2026 returned a quoted Hawke assessment and left the duplicate, unknown and failed targets uncharged. A separate B2B SaaS assessment had a not_fit label but no saved evidence quotes, so it was not billed. These owner runs validate the charge logic, not an outside customer's purchase. The Actor stores each assessment before requesting its event charge.

Two ids for the same page are charged once. The key ignores a fragment, a default port, one trailing slash, a `www` label, and `http`. A final URL reached by the allowed same-site redirect is remembered with that charge. Different paths and query strings stay separate, and path case stays as written. The key is saved before the charge call.

Input defaults are 5 pages, 10 requests and 120 seconds of processing. Platform run defaults are 512 MB and a 240-second timeout. The Actor configuration sets a 1024 MB memory ceiling.

### Input

`targets` is required. Optional lists:

- `requiredClientTypes`: `ecommerce`, `DTC`
- `complementaryServices`: `paid media`, `web development`, `retention`, `email marketing`
- `overlappingServices`: `creative strategy`, `ad creative production`

Shared caps match the other research actors: `maxPagesPerTarget`, `maxTotalRequests`, `maxResults`, `timeoutSeconds`, `maxConcurrency`.

```json
{
  "targets": [{ "id": "harbor", "url": "https://example.com/" }],
  "requiredClientTypes": ["ecommerce", "DTC"],
  "complementaryServices": ["paid media", "web development", "retention", "email marketing"]
}
```

Phrase matching is literal. "Web design" alone is not counted as web development. "Email" alone is not email marketing. The stricter phrases are documented in `src/vocabulary.js`.

### Output

You can download JSON, CSV, Excel, or HTML. This sample shows the shape. It is not a live agency.

```json
{
  "recordType": "fit_assessment",
  "status": "ok",
  "entityType": "agency",
  "fit": "review_candidate",
  "reasonCodes": ["agency_services", "ecommerce_clients", "complementary_service"],
  "complementMatches": [{ "label": "paid media", "evidenceIds": ["ev_0123456789abcdef"] }]
}
```

`unknown` means the inspected pages did not settle it. Put that site back in a human queue. Do not tell yourself the agency failed the test.

### Tips

- Start on the services or work URL when you have it.
- Creative overlap plus a complementary service can still be `review_candidate`. The overlap code is the flag that says a person should look before anyone writes a partner email.
- If `evidenceCoverage.pagesFetched` is 1 and the page is a homepage hero, treat `unknown` as "we saw the lobby."

### FAQ, disclaimers, and support

#### Will it tell me they want to refer business?

No. Willingness, revenue, ad spend, and open roles are not on this row. The actor only reports what the public site says about services and clients.

#### What about brands and consumer apps?

A site that sells its own goods, with shop language and an add-to-cart path, is classified as a brand and `not_fit`. That is a positive reading of the page, not a shrug.

#### Personal data

The actor is built to skip emails and phone numbers. Client names can still appear because the site published them as case studies. Store that only when you have a proper reason. Use the API tab for programmatic runs, and the issues tab for bugs once the actor is published.

Public pages only. No login, no LinkedIn, no contact enrichment.

# Actor input Schema

## `targets` (type: `array`):

One to ten public sites. id is your label. url is the page to open. companyName is optional and is only used to skip a story that is clearly about a different company.

## `requiredClientTypes` (type: `array`):

Which client phrases can count as ecommerce evidence. Allowed values are ecommerce and DTC.

## `complementaryServices` (type: `array`):

Services that support a review. Allowed values: paid media, web development, retention, email marketing.

## `overlappingServices` (type: `array`):

Creative services that are flagged for review. Allowed values: creative strategy, ad creative production.

## `maxPagesPerTarget` (type: `integer`):

Maximum document pages fetched for one site.

## `maxTotalRequests` (type: `integer`):

Counts every fetch, including robots.txt, redirects, and the one retry.

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

Maximum finding rows for the whole run. Evidence and target summaries do not count toward this cap.

## `timeoutSeconds` (type: `integer`):

Stop the run at this many seconds and mark unfinished targets partial.

## `maxConcurrency` (type: `integer`):

How many fetches can be in flight. Same-host requests are still at least one second apart.

## Actor input object example

```json
{
  "targets": [
    {
      "id": "hawke-root",
      "url": "https://hawkemedia.com/"
    }
  ],
  "requiredClientTypes": [
    "ecommerce",
    "DTC"
  ],
  "complementaryServices": [
    "paid media",
    "web development",
    "retention",
    "email marketing"
  ],
  "overlappingServices": [
    "creative strategy",
    "ad creative production"
  ],
  "maxPagesPerTarget": 5,
  "maxTotalRequests": 10,
  "maxResults": 20,
  "timeoutSeconds": 120,
  "maxConcurrency": 2
}
```

# Actor output Schema

## `dataset` (type: `string`):

Evidence quotes, one fit assessment per site, and a target summary.

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

Counts and statuses for the run. Page bodies are not stored.

# 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 = {
    "targets": [
        {
            "id": "hawke-root",
            "url": "https://hawkemedia.com/"
        }
    ],
    "requiredClientTypes": [
        "ecommerce",
        "DTC"
    ],
    "complementaryServices": [
        "paid media",
        "web development",
        "retention",
        "email marketing"
    ],
    "overlappingServices": [
        "creative strategy",
        "ad creative production"
    ],
    "maxPagesPerTarget": 5,
    "maxTotalRequests": 10,
    "maxResults": 20,
    "timeoutSeconds": 120,
    "maxConcurrency": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("kingly_contest_7cb/agency-referral-fit-checker").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 = {
    "targets": [{
            "id": "hawke-root",
            "url": "https://hawkemedia.com/",
        }],
    "requiredClientTypes": [
        "ecommerce",
        "DTC",
    ],
    "complementaryServices": [
        "paid media",
        "web development",
        "retention",
        "email marketing",
    ],
    "overlappingServices": [
        "creative strategy",
        "ad creative production",
    ],
    "maxPagesPerTarget": 5,
    "maxTotalRequests": 10,
    "maxResults": 20,
    "timeoutSeconds": 120,
    "maxConcurrency": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("kingly_contest_7cb/agency-referral-fit-checker").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 '{
  "targets": [
    {
      "id": "hawke-root",
      "url": "https://hawkemedia.com/"
    }
  ],
  "requiredClientTypes": [
    "ecommerce",
    "DTC"
  ],
  "complementaryServices": [
    "paid media",
    "web development",
    "retention",
    "email marketing"
  ],
  "overlappingServices": [
    "creative strategy",
    "ad creative production"
  ],
  "maxPagesPerTarget": 5,
  "maxTotalRequests": 10,
  "maxResults": 20,
  "timeoutSeconds": 120,
  "maxConcurrency": 2
}' |
apify call kingly_contest_7cb/agency-referral-fit-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kingly_contest_7cb/agency-referral-fit-checker"
        }
    }
}
```

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/h6doijU6edyqaQNvy/builds/Zr6It3W0TV3uHy558/openapi.json
