# Contact Page and Form Finder \[USD 1/1K sites] (`usefulapi/contact-page-finder`) Actor

Find the contact page, support page and contact form of any website in bulk, with the form builder, CAPTCHA and field kinds, and never an email, phone number or name. USD 1 per 1,000 sites with a contact page or form.

- **URL**: https://apify.com/usefulapi/contact-page-finder.md
- **Developed by:** [Useful API](https://apify.com/usefulapi) (community)
- **Categories:** Lead generation, SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 site with a contact page or forms

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

## Contact Page and Form Finder

Give it a list of company websites. For each one you get the **contact page, support page and contact form**, how they were found, which **form builder** made the form, which **CAPTCHA** protects it and which **kinds of fields** it has. It never outputs email addresses, phone numbers or people's names.

Made for outreach through contact forms, lead lists, site audits and checking that your own sites have a working contact route.

### What you get for each site

- **Contact page** (`contactUrl`) and how it was found (`contactFoundVia`): `nav`, `footer`, `page` (a link in the page body), `sitemap` or `path_probe` (a common address such as `/contact`, only tried when nothing else was found and only kept when the page itself says it is a contact page).
- **Support, help (FAQ), about and imprint pages** (`supportUrl`, `helpUrl`, `aboutUrl`, `imprintUrl`), and the full list in `contactPages` with the kind, how each was found, whether it was opened, its HTTP status and whether it holds a form.
- **Contact form**: `hasContactForm`, `formUrl` (the page it is on) and `form` with:
  - `kind`: the builder. Recognised: plain HTML (`html`), Contact Form 7, Gravity Forms, WPForms, Elementor, Ninja Forms, Fluent Forms, Formidable, HubSpot, Typeform, Google Forms, Jotform, Wufoo, Formstack, Tally, Airtable, Cognito Forms, Paperform, Microsoft Forms, Marketo, Pardot, Salesforce, Webflow, Squarespace, Wix, Shopify, Netlify, Formspree, Zendesk, Freshdesk and other iframe embeds (`iframe`). A chat or help desk widget on a contact page (Intercom, Zendesk, Freshdesk, Help Scout, HubSpot chat, Gorgias) is reported as `intercom_widget`, `zendesk_widget` and so on, with `source: "widget"`.
  - `source`: `markup` (a form in the page's HTML), `iframe`, `embed_script`, `widget` or `external_link` (the contact link goes straight to a Typeform, Zendesk request page and similar).
  - `captcha`: `recaptcha` (with `captchaVersion` `v2`, `v3` or `enterprise` when it can be told), `hcaptcha`, `turnstile`, `friendly_captcha`, `mtcaptcha`, `arkose`, `other` or `null`.
  - `fieldKinds` and `fieldCount`: for example `["email", "message", "name", "phone"]` and `4`. Kinds are `email`, `name`, `phone`, `message`, `company`, `subject`, `website`, `select`, `choice`, `checkbox`, `consent`, `file`, `other`. Hidden fields and fields marked as honeypots in their own markup are not counted; a honeypot hidden only by its parent's style can be counted. Forms that show extra questions depending on an answer count every field, shown or not. `hasFileUpload`, `method` and `actionHost` (the host the form posts to, nothing else).
- **`hasMailto` and `hasTel`**: whether any page read has a `mailto:` or `tel:` link. Yes or no only: the address or number is never stored.
- **`widgets`**: chat and help desk widgets seen on the pages read.
- `status`, `error`, `finalUrl`, `pagesFetched`, `requests`, `language`, `billedAs`.

### Privacy

The output never holds an email address, a phone number or a person's name. `mailto:` and `tel:` links become yes or no. Link texts are copied only when every word is a contact word ("Contact us", "Kontakt", "Aide"); "Contact Jane Doe" is dropped. Addresses are cleaned of fragments and of parameters that look like personal data. Error texts and your own entries echoed back in `input` are cleaned the same way (an address in them becomes `[removed]`). Automated tests feed pages full of personal data through the Actor and fail if any of it reaches a row.

### Polite and honest

- The user agent is `UsefulApiBot/1.0 (+https://apify.com/usefulapi)`. No browser disguise and no tricks to get past a bot check: a site that answers with one gets the status `blocked` and nothing more is fetched.
- `robots.txt` is read for every host and applies to every page, homepage included. The group name is `UsefulApiBot`, the `*` group applies otherwise, a missing file or a 4xx answer means allowed, and a robots.txt that answers with a server error twice, or does not answer at all, means closed (RFC 9309). A contact link that robots.txt forbids is still listed (it was a link on a page we may read) but is not opened (`notChecked`).
- At most 2 requests at a time to one host, about a quarter of a second between requests from one site, 10 sites at a time.
- Private, loopback, link-local and cloud-metadata addresses are never fetched, typed in or reached by a redirect. Only ports 80, 443, 8080 and 8443.
- Help desk and form hosts that a contact link points at (Zendesk, Typeform, Google Forms...) are reported, not opened. So is a menu or footer link named "Contact" that goes to another site (`external: true`).

### Input

| Field | What it does |
|---|---|
| `domains` | Domains or URLs, one per line. A domain is read from its homepage; a full URL from that page. Duplicates are dropped. |
| `maxPages` | Contact-type pages opened after the homepage: contact first, then support, then help. 1 to 10, default 5. Reading stops early once a contact form is found on a contact page. |
| `maxSites` | Stop after this many sites. |

```json
{ "domains": ["allbirds.com", "wpbeginner.com", "https://nailsandnumbers.com"], "maxPages": 5 }
```

### Output example (trimmed, from a real run)

```json
{
  "input": "allbirds.com",
  "status": "ok",
  "contactFound": true,
  "contactUrl": "https://www.allbirds.com/pages/contact-us",
  "contactFoundVia": "sitemap",
  "helpUrl": "https://www.allbirds.com/pages/help",
  "hasContactForm": true,
  "formUrl": "https://www.allbirds.com/pages/contact-us",
  "form": { "kind": "shopify", "source": "markup", "captcha": "hcaptcha", "fieldCount": 4, "fieldKinds": ["email", "message", "name", "phone"], "hasFileUpload": false, "method": "post" },
  "hasMailto": true,
  "hasTel": false,
  "billedAs": ["contact-found"]
}
```

Statuses: `ok` (contact page, support page or contact form found), `no_contact_found` (the site was read, none found), `blocked` (bot check), `blocked_by_robots`, `not_found`, `http_error`, `not_html`, `dns_not_found`, `unreachable`, `timeout`, `private_address` and `invalid_input`. A run that reaches your maximum cost stops cleanly and says so in the run summary (`stoppedEarly`). A bad input never fails the run.

The `OUTPUT` record in the key-value store has counts per status, the events billed, megabytes downloaded and why a run stopped early, if it did.

### Price

Pay per event, no subscription (see the Pricing tab for the current prices):

| Event | When | Price |
|---|---|---|
| Run start | once per run | USD 0.002 |
| **Site with a contact page or form** | a contact page, a support page or a contact form was found | **USD 0.001** (USD 1 per 1,000) |
| Site checked, none found | nothing found, or the site could not be read (bot wall, robots.txt, dead domain) | USD 0.0002 (USD 0.20 per 1,000) |

Worked example: 1,000 sites of which 700 have a contact page or form: 0.002 + 700 x 0.001 + 300 x 0.0002 = USD 0.762. Rows for text that is not a domain at all (`invalid_input`) are free. You can set a maximum cost per run: the Actor stops cleanly before passing it and keeps every row it wrote.

### Good to know

- Pages are read as served: forms that a page builds with JavaScript after loading are not seen, except builders recognised from their embed code (HubSpot, Typeform, Jotform and the like, where the fields are not visible to us, so `fieldCount` is `null`). Sites that build their forms with JavaScript show no form.
- A form builder or CAPTCHA script that a site loads on every page counts for the contact form page it was seen on; a site may load a CAPTCHA script without using it on that form.
- A bot check page ends the site with `blocked`; nothing is done to get around it, so some sites that a browser opens will show up as `blocked`.
- Only contact-type pages are opened (at most `maxPages`, default 5). About and imprint pages are listed, not opened (`checked: false`).
- Sites that put their contact route only behind a login, a chat widget or a phone number have no contact page to find; `hasTel` and `widgets` tell you about it.
- Languages for link texts and addresses: English, French, Spanish, German, Italian, Portuguese, Dutch and Swedish contact words.

### FAQ

**Does it give me email addresses or phone numbers?** No, on purpose. You get the page and the form, and whether a mailto or tel link exists.

**Why is a site `blocked` here but opens in my browser?** The site answered our bot with a bot check page or an access denied page. We do not disguise the bot.

**Related Actors by usefulapi:** [Favicon and brand assets extractor](https://apify.com/usefulapi/favicon-logo-extractor), [Domain health checker](https://apify.com/usefulapi/domain-health-checker).

# Actor input Schema

## `domains` (type: `array`):

One per line: example.com, www.example.com or a full URL. Each site is read from its homepage (or the page you give). Duplicates are dropped.

## `maxPages` (type: `integer`):

Most contact-type pages read after the homepage (contact first, then support, then help). 1 to 10. The homepage, robots.txt and, when the homepage names no contact page, the sitemap and a few common paths are extra.

## `maxSites` (type: `integer`):

Stop after this many sites (the rest of the list is ignored). Leave empty for all.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "allbirds.com",
    "wpbeginner.com"
  ],
  "maxPages": 5
}
```

# Actor output Schema

## `sites` (type: `string`):

No description

## `pages` (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 = {
    "domains": [
        "stripe.com",
        "allbirds.com",
        "wpbeginner.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("usefulapi/contact-page-finder").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 = { "domains": [
        "stripe.com",
        "allbirds.com",
        "wpbeginner.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("usefulapi/contact-page-finder").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 '{
  "domains": [
    "stripe.com",
    "allbirds.com",
    "wpbeginner.com"
  ]
}' |
apify call usefulapi/contact-page-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,usefulapi/contact-page-finder"
        }
    }
}
```

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/X9xFBerZ4H8qO4FoG/builds/WJdt2VOu8Y457L23V/openapi.json
