# Contact Page & Form Finder – Contact URLs, Forms, Emails (`gazidev/contact-form-finder`) Actor

Contact page finder for any list of websites: returns the contact page URL and contact form, the form type (HTML, HubSpot, Typeform, Google Forms, JotForm, Tally, WPForms, CF7...), fields, CAPTCHA, emails and phones. Plain HTTP, robots.txt respected. Pay only when a form is found.

- **URL**: https://apify.com/gazidev/contact-form-finder.md
- **Developed by:** [Cemal Atakli](https://apify.com/gazidev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 contact form founds

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 Form Finder – Find Contact Pages & Detect Contact Forms on Websites

Give it a list of company domains. For each one, **Contact Form Finder** finds the **contact page** and tells you whether it has a **contact form**, which tool runs it (native HTML, HubSpot, Typeform, Google Forms, JotForm, Tally, Microsoft Forms, Wufoo, Zoho Forms, Gravity Forms, WPForms, Contact Form 7, Marketo and 30+ more), the form **action URL and method**, every **field** (name, type, required, label), the **CAPTCHA** type, and the **emails and phone numbers** on that page.

It is a contact page finder and a contact form finder in one, for **lead outreach**, form-based prospecting, agency audits and lead-list enrichment.

**$1.20 per 1,000 contact forms found.** Sites without a form, errors and blocked sites are free.

### What you get per domain

- `contactPageUrl`: the contact page (or the sales/demo/support page that holds the form)
- `formFound` and `formProvider`: `native`, `HubSpot`, `Typeform`, `Google Forms`, `JotForm`, `Tally`, `Microsoft Forms`, `Wufoo`, `Zoho Forms`, `Gravity Forms`, `WPForms`, `Contact Form 7`, `Elementor Forms`, `Ninja Forms`, `Fluent Forms`, `Formidable Forms`, `Forminator`, `Divi Contact Form`, `Jetpack Contact Form`, `Drupal Webform`, `Webflow Forms`, `Squarespace Form`, `Wix Forms`, `Marketo`, `Pardot`, `Salesforce Web-to-Lead`, `Zoho CRM Web Form`, `Formspree`, `Netlify Forms`, `Basin`, `Getform`, `FormSubmit`, `Web3Forms`, `Cognito Forms`, `Formstack`, `Paperform`, `Fillout`, `123FormBuilder`, `Airtable Form`, `Pipedrive Web Forms`, `monday.com Forms`, `ClickUp Forms` and others
- `formAction`, `method`: where the form posts to (for embeds: the embed URL or HubSpot portal/form ID)
- `fields`: `[{name, type, required, label}]`, plus `fieldCount`, `requiredFieldCount`, `hasMessageField`, `hasEmailField`, `hasPhoneField`
- `captcha`: `reCAPTCHA v2`, `reCAPTCHA v3`, `reCAPTCHA Enterprise`, `hCaptcha`, `Cloudflare Turnstile`, `Friendly Captcha`, `ALTCHA`, `MTCaptcha`, `Image CAPTCHA`; `honeypot` when a hidden anti-spam field is present
- `emails`, `phones`: found on the contact page
- `chatWidgets`: Intercom, Drift, Zendesk Chat, HubSpot Chat, LiveChat, Tawk.to, Crisp, Tidio, Freshchat and others
- `pagesChecked`: every page checked with HTTP status and whether it had the form; `otherContactLinks`: more contact pages that were not needed
- `otherFormsOnPage` (newsletter, search, ...), `robotsTxt`, `blocked`, `jsRenderedSite`, `error`

### Use cases

- **Lead outreach through contact forms**: many companies publish no email address but do have a form. Get the form URL and its fields for manual or tool-assisted outreach.
- **Lead-list enrichment**: run it on the dataset of a Google Maps, company or lead scraper and add a contact page + form column.
- **Marketing agencies and CRO audits**: see which prospects use HubSpot, Marketo, Typeform or a plain WordPress form, and which have no form or no CAPTCHA.
- **Martech market research**: count form-builder and chat-widget usage across a list of websites.
- **Lead routing QA**: check that all your brand or franchise sites still have a working contact form.

### Input

```json
{
  "domains": ["hubspot.com", "wpforms.com", "basecamp.com"],
  "maxPagesPerSite": 5
}
```

Chain it after another Actor: choose its dataset in **Or read domains from an Apify dataset**. The website column is auto-detected (`domain`, `website`, `url`, `websiteUrl`, `homepage`...), or set **Dataset field with the website**.

| Field | Meaning |
|---|---|
| `domains` | Domains or URLs. Duplicates and `www.` variants are merged; email addresses are turned into their domain |
| `datasetId` / `datasetField` | Read websites from an Apify dataset |
| `maxPagesPerSite` | Pages checked besides the homepage (default 5); stops at the first form |
| `checkHomepageForms` | Accept a real contact form on the homepage (default on) |
| `maxDomains`, `maxConcurrency`, `requestTimeoutSecs` | Limits |

### Output example

```json
{
  "domain": "wpbeginner.com",
  "contactPageUrl": "https://www.wpbeginner.com/contact/",
  "formFound": true,
  "formProvider": "WPForms",
  "formType": "contact",
  "formAction": "https://www.wpbeginner.com/contact/",
  "method": "POST",
  "fields": [
    { "name": "wpforms[fields][0]", "type": "text", "required": true, "label": "Name" },
    { "name": "wpforms[fields][1]", "type": "email", "required": true, "label": "E-mail" },
    { "name": "wpforms[fields][6][]", "type": "checkbox", "required": false, "label": "Yes, I would like to receive weekly WordPress tutorials and other updates from W" },
    { "name": "wpforms[fields][8]", "type": "select", "required": true, "label": "Subject" },
    { "name": "wpforms[fields][2]", "type": "textarea", "required": true, "label": "Message" }
  ],
  "fieldCount": 5,
  "hasMessageField": true,
  "captcha": ["Cloudflare Turnstile"],
  "emails": ["support@wpbeginner.com", "security@awesomemotive.com"],
  "phones": [],
  "chatWidgets": [],
  "pagesChecked": [
    { "url": "https://www.wpbeginner.com/", "statusCode": 200, "kind": "homepage", "formFound": false },
    { "url": "https://www.wpbeginner.com/contact/", "statusCode": 200, "kind": "contact link", "formFound": true }
  ],
  "robotsTxt": "ok",
  "error": null
}
```

(Shortened. See the Output tab for full records: `fields` of embedded forms such as HubSpot or Typeform are `null` because they are loaded by JavaScript from the provider; the embed URL or form ID is given instead.)

A run summary (forms found, hit rate, providers) is saved as `OUTPUT` in the key-value store.

### How it works

1. Reads `robots.txt` and the homepage (plain HTTP, no browser).
2. Ranks links on the homepage: contact > sales / demo / quote > support / help > about / imprint, in 20+ languages (`contact`, `kontakt`, `contacto`, `contatti`, `iletisim`, `お問い合わせ`...). Language copies of the same page (`/es/contact/`) are skipped. If there is no contact link, `/contact` and `/contact-us` (`/kontakt` on .de/.at/.ch) are tried.
3. Checks the pages one at a time, with a pause between requests, and stops at the first contact form.
4. Separates contact forms from newsletter, search, login and comment forms, and recognizes the form tool from the form markup or embed code.

### Pricing

Pay per event: **$0.0012 per domain where a contact form is found** ($1.20 per 1,000), plus a tiny start fee. Domains without a form, unreachable or blocked sites, robots.txt-disallowed sites and invalid inputs appear in the dataset free of charge. Set a maximum cost per run; the run stops cleanly at that limit.

| | This Actor | Contact page finders (e.g. $0.001 per contact page) | Generic email scrapers |
|---|---|---|---|
| Contact page URL | yes | yes | sometimes |
| Form detected + provider | yes (40+ tools) | no | no |
| Fields, action, method, CAPTCHA | yes | no | no |
| Emails / phones on the page | yes | no | yes |
| Pay when nothing is found | no | per page found | usually per page/result |

### Use with AI agents (Apify MCP)

Add this Actor to Claude, ChatGPT or any MCP client through the [Apify MCP server](https://mcp.apify.com) and ask, for example: *"Find the contact forms of these 50 agencies and tell me which ones use HubSpot"* or *"Which of these prospects have a contact form without a CAPTCHA?"* The flat output is easy for agents to filter.

### FAQ

**What hit rate can I expect?** It depends on the sites. In our tests a form was found on 60% of WordPress / small-business sites and 37% of large SaaS and enterprise sites, which often build forms with JavaScript only.

**Why was no form found although the site has one?** The Actor reads HTML without a browser. Forms that are built entirely by JavaScript with no recognizable embed code (common on React/Next.js sites) are not visible; `contactPageUrl` is still returned when a contact page exists. Sites behind bot protection (Cloudflare challenge, 403) are reported with `blocked: true` and are free.

**Does it submit forms?** No. It only reads public pages. It never fills in or submits any form.

**Does it respect robots.txt?** Yes, always. Pages disallowed for crawlers are skipped and counted in `pagesSkippedByRobots`; a site whose homepage is disallowed is not checked (free row). Pages of one site are fetched one at a time with a pause, and the robots.txt Crawl-delay is honored (up to 5 s).

**Can I see the fields of HubSpot / Typeform / Google Forms?** Those forms load their fields from the provider with JavaScript, so `fields` is `null`; you get the provider and the embed URL or HubSpot portal and form IDs.

**Is the CAPTCHA detection complete?** It detects the CAPTCHA scripts and widgets present in the page HTML. CAPTCHAs inside third-party embeds, or added later by JavaScript, may not be visible.

**Do I pay for sites without a form?** No. Only `contact-form-found` is charged.

**Is this legal?** It reads public web pages of the websites you provide, like a visitor would, and respects robots.txt. You are responsible for how you use the results: follow anti-spam laws (CAN-SPAM, GDPR/ePrivacy and similar) and each site's terms when you contact businesses.

### Related Actors

- [Website Contact Finder – Emails, Phones & Social Links](https://apify.com/gazidev/website-contact-finder)

# Actor input Schema

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

Company domains (`hubspot.com`) or URLs. One row per domain; duplicates and `www.` variants are merged. A URL with a path (e.g. `https://site.com/kontakt`) is checked first.

## `datasetId` (type: `string`):

Chain this Actor after a lead list, Google Maps or company scraper: pick its dataset and every website in it is checked.

## `datasetField` (type: `string`):

Leave empty to auto-detect (`domain`, `website`, `url`, `websiteUrl`, `homepage`, `web`, `site`, `companyWebsite`).

## `maxPagesPerSite` (type: `integer`):

Besides the homepage. Pages are checked in order of how likely they hold the contact form (contact > sales/demo > support > about); checking stops at the first form.

## `checkHomepageForms` (type: `boolean`):

One-page sites often have the form on the homepage. Only real contact forms count there (a message box or name + email + phone/company); newsletter and search boxes never count.

## `maxDomains` (type: `integer`):

0 = all. Useful to test a large dataset on the first N domains.

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

Pages of one site are always fetched one after another with a pause (robots.txt Crawl-delay is honored).

## `requestTimeoutSecs` (type: `integer`):

Per HTTP request.

## Actor input object example

```json
{
  "domains": [
    "hubspot.com",
    "wpforms.com",
    "basecamp.com"
  ],
  "maxPagesPerSite": 5,
  "checkHomepageForms": true,
  "maxDomains": 0,
  "maxConcurrency": 10,
  "requestTimeoutSecs": 15
}
```

# Actor output Schema

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

No description

## `results` (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": [
        "hubspot.com",
        "wpforms.com",
        "basecamp.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gazidev/contact-form-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": [
        "hubspot.com",
        "wpforms.com",
        "basecamp.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gazidev/contact-form-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": [
    "hubspot.com",
    "wpforms.com",
    "basecamp.com"
  ]
}' |
apify call gazidev/contact-form-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gazidev/contact-form-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/rbrp3joeSnDg3gLfj/builds/um0jkfkxNbAfRaRoz/openapi.json
