# Contact Form & CAPTCHA Detector for Websites (`bardach_technologies/contact-form-captcha-detector`) Actor

Check a list of websites for a contact form: required fields, form builder (Contact Form 7, WPForms, Gravity Forms, HubSpot, Typeform...) and bot protection (reCAPTCHA, hCaptcha, Turnstile, Cloudflare, honeypots). Opens the contact page itself. Read-only: never submits a form.

- **URL**: https://apify.com/bardach_technologies/contact-form-captcha-detector.md
- **Developed by:** [Bardach Technologies](https://apify.com/bardach_technologies) (community)
- **Categories:** Developer tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 site checkeds

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 & CAPTCHA Detector for Websites** checks a list of sites and tells you, for each site, **whether it has a contact form, which fields the form requires, which form builder runs it and which bot protection guards it**: Google reCAPTCHA, hCaptcha, Cloudflare Turnstile, Cloudflare's "Just a moment" challenge, Friendly Captcha, quiz or math questions and hidden honeypot fields. Paste homepages or contact pages; get one row per site.

The Actor only **reads** pages. It never fills in or submits a form and never tries to solve or bypass a CAPTCHA.

### What does the contact form detector find?

- **Contact form or not**, with a clear verdict per site (`open-form`, `protected-form`, `embedded-form`, `javascript-form`, `no-form`, `blocked`, `error`).
- **CAPTCHA and bot protection**: reCAPTCHA, hCaptcha, Turnstile, Cloudflare JS challenge, Friendly Captcha, quiz/math questions, honeypot fields hidden with CSS.
- **Form builder**: Contact Form 7, Gravity Forms, WPForms, Ninja Forms, Elementor forms, Squarespace, Wix, Webflow, Formspree, Netlify Forms.
- **Embedded form providers**: HubSpot, Typeform, Google Forms, Jotform, Wufoo, Formstack, Cognito Forms, Tally.
- **Form fields**: every field with its type, whether it is required and its role (name, e-mail, phone, subject, message), plus the form action URL, method and submit mode.
- If the homepage has no form, it opens the site's own **contact page** (one extra request): the first link whose address names `contact`, `kontakt` (also `kontaktformular`) or `contat` (`contacto`, `contatti`, `contato`), else an `impressum` link.

### How to check websites for contact forms and CAPTCHAs

1. Paste the sites into **Websites** (bare domains work, one per site).
2. Keep **Follow the contact link** on so a homepage without a form leads to its contact page.
3. Click **Start**. Download the table as CSV, Excel or JSON, or read it through the Apify API.
4. Run it again after a theme, plugin or CDN change, or on an Apify schedule.

### Use cases

- **Web agencies and freelancers**: find client sites whose contact form has no spam protection (and is probably drowning in spam), or whose form broke.
- **Website QA and migrations**: check hundreds of sites after a theme, plugin or CDN change; spot forms that turned into JavaScript-only widgets.
- **Security and compliance reviews**: inventory which CAPTCHA vendors (and so which third-party scripts) run on a portfolio of sites.
- **Web technology research**: how many sites in a niche use Contact Form 7, Gravity Forms, WPForms, HubSpot, Typeform, Jotform and others.

### Input

| Field | What it does |
|---|---|
| `startUrls` | Homepages or contact pages, one per site. Bare domains work. |
| `followContactLink` | If the page has no contact form, open the site's own contact page (one extra request). Default on. |
| `maxConcurrency` | Sites checked in parallel (default 5, at most 10). |

```json
{
  "startUrls": [{ "url": "https://www.bakery.example" }, { "url": "dentist.example" }],
  "followContactLink": true
}
```

### Output

One item per site:

```json
{
  "inputUrl": "https://www.bakery.example",
  "checkedUrl": "https://www.bakery.example/contact/",
  "httpStatus": 200,
  "verdict": "protected-form",
  "hasContactForm": true,
  "challenges": ["recaptcha"],
  "protected": true,
  "formBuilder": "contact-form-7",
  "embeddedFormProvider": null,
  "formAction": "https://www.bakery.example/contact/",
  "formMethod": "post",
  "submitMode": "html-post",
  "fields": [
    { "name": "your-name", "type": "text", "required": true, "role": "name", "honeypot": false },
    { "name": "your-email", "type": "email", "required": true, "role": "email", "honeypot": false },
    { "name": "your-message", "type": "textarea", "required": false, "role": "message", "honeypot": false }
  ],
  "requiredFields": ["your-name", "your-email"],
  "honeypotFields": [],
  "error": null,
  "fetched": true,
  "charged": true
}
```

`fetched` is true when at least one request was made; `charged` is true only when a result was delivered **and** a charge was made for it (see Pricing). A run without pay-per-event pricing, for example a local test run, charges nothing, so its rows say `"charged": false` and `OUTPUT.charged` is 0. Rows without a result hold the entry, the page asked for, the verdict, the error and these two flags, and nothing else.

#### Verdicts

| Verdict | Meaning |
|---|---|
| `open-form` | An HTML contact form with **no** detected bot protection. |
| `protected-form` | A contact form behind a CAPTCHA, challenge or quiz question (listed in `challenges`). |
| `embedded-form` | The form is a third-party widget (HubSpot, Typeform, Google Forms, Jotform, Wufoo, Formstack, Cognito, Tally). |
| `javascript-form` | A Squarespace or Wix form block that is drawn by JavaScript (fields are not listed). |
| `no-form` | An HTML page was read and it holds no contact form (maybe e-mail or phone only, or a form drawn by JavaScript). An empty answer or a page that is not HTML is never `no-form`: it is an `error`. |
| `blocked` | The site refused the request (HTTP 401, 403, 407, 429, 451 or another 4xx that is a refusal, for example Amazon's CAPTCHA 405), answered with a bot-check page of any vendor (Cloudflare's `cf-mitigated` header, "Just a moment" or "Attention Required" page, Amazon WAF `x-amzn-waf-action` challenge or CAPTCHA, Incapsula, DataDome, Sucuri (its JavaScript challenge and its firewall page), SiteGround's bot check (a refresh to `/.well-known/sgcaptcha/`), the Wordfence block page, even when it comes with HTTP 503), sent the request to a login page (a redirect to a login path such as `/login`, `/wp-login.php`, `/users/sign_in`, `/anmelden`, `/connexion`, `/cas/login` or `/my-account`, or a redirect to another path (not a language prefix such as `/en/`) that ends on a page with a password field, no contact form and no contact link; a plain `www` or `https` redirect with a login box in the page is not a login wall and the contact page is still read), or refused its robots.txt. Free; the site is not asked again in this run. A page without a form that is a bot check or block page without a vendor marker the kit knows is `blocked` too, but only these shapes: the free-host cookie check (`aes.js`, `slowAES`), and, on a page with almost no visible text, Imunify360, mod_security, a title that is exactly `403 Forbidden`, `Forbidden`, `Access denied`, `Account suspended`, `Request blocked`, `Not acceptable`, `Human verification`, `Checking your browser`, `Please wait` or `Security check`, or one of the phrases "checking your browser", "verifying you are human", "enable JavaScript and cookies", "are you a robot". Other block pages (one with a lot of text, a generic cookie-and-reload challenge, a plain "please wait" page) can still be charged as `no-form`. A small normal page without a form is not blocked, and neither is a page with a real form. A normal page that only carries Cloudflare's JavaScript-detection script is not a bot check. |
| `error` | No result: network error, HTTP error page, an empty answer (including HTTP 204), an HTTP 202 answer (accepted, not a finished page) or an answer that is not an HTML page (PDF, image, JSON, plain text, also when the server names no content type), a site that took longer than 90 seconds to read, robots.txt disallows the page or could not be read, a redirect to another site, or a contact page that was asked for and could not be read. Free. |

Honeypots are fields hidden with CSS that real visitors never see. Their presence means the site has some spam protection even without a CAPTCHA.

The `OUTPUT` record in the key-value store counts the sites per verdict, the sites charged, the sites stopped by your maximum charge (`notChecked`) and the hosts that refused (`stoppedHosts`).

### Pricing

Pay per event, no subscription. Apify platform usage is not billed on top:

- **Site checked**: USD 0.003 per site (**USD 3 per 1,000 sites**) **for every site where a result was delivered**: an HTML page was read and its contact form, form builder and bot protection were analysed (verdicts `open-form`, `protected-form`, `embedded-form`, `javascript-form`, `no-form`). The row says `"charged": true` and the charge was made.
- **Everything else is free** (`"charged": false`): verdicts `blocked` and `error`, a refusal (401, 403, 407, 429, 451 or another refusing 4xx), a bot-check page of any vendor (SiteGround, Sucuri, Wordfence and the others named above), a redirect to a login page, an empty, HTTP 202 or non-HTML answer, a page with no content at all (no text, form, script or frame), a site that took too long, a redirect to another site, a page robots.txt closes or that could not be read, and a site whose contact page was asked for (**Follow the contact link** on) and could not be read. Such a row holds the entry and the error, never half a result.
- **Actor start**: USD 0.00005 per run.

**How much does it cost?** 500 sites with a result cost about USD 1.50. Set a maximum charge per run and the Actor stops cleanly at it: no result is written that the maximum charge cannot pay (a restart that finds an unwritten result the maximum charge can no longer pay leaves it unwritten and stops).

### Restarts

Each row is written and charged one at a time after its intent is saved. If a run is killed and restarted by the platform, the sites already written are not written or charged again, and a row that was written but not yet charged is charged exactly once. A site that refused (or whose robots.txt was refused) is saved before the next request and is not asked again after a restart.

### Limits

- Plain HTML only: an answer that is empty or not an HTML page is a free `error`. Forms that only appear after JavaScript runs are reported as `no-form` or `embedded-form`.
- At most two pages per site (the given page and its contact page), reached through at most 5 redirect hops. A hop must stay on the same site (the same host or its `www.` twin, the same port, never from https to http); robots.txt is read for every hop before it is requested. A redirect to another site (HTTP, `Refresh` header or meta refresh) is named in the row (without its query) and never requested; a redirect written in JavaScript is not seen.
- One request per page with an identifying User-Agent (`OpenSiteAuditBot`), no cookies, no login. Sites that share one host are read one after the other. robots.txt is always respected and there is no switch to turn it off: pages it disallows are skipped (free); an unreadable or refused robots.txt means the site is not requested at all (free).
- A refusal (HTTP 401, 403, 407, 429, 451 or another refusing 4xx), a bot-check or block page of any vendor (a Wordfence 503 page included), a redirect to a login page or a refused robots.txt stops that host for the rest of the run: no retry, nothing worked around, no proxy, no other route. Private network addresses are refused.
- At most 90 seconds of wall time per site (both pages and their analysis); a site past it ends in a free `error` row.
- Detection is based on markup patterns. A vendor that hides its script under an unusual name may be missed.

### FAQ

#### Will it submit test messages?

No. It never sends anything to the sites, so nobody receives mail from it.

#### Can it get past CAPTCHAs?

No, and it never tries. It only reports that one is there and which one.

#### Does it collect e-mail addresses or phone numbers?

No. It reports form structure and protection only. The same website written in different ways (`A.example`, `a.example/` and `a.example` with or without `https`) is checked and charged once. An unexpected error on one site gives that site a free `error` row and the run goes on; only the type of the error is logged. A host name that is itself a phone number or holds one (`0170-1234567.example`) is replaced by `[removed]` in every address of a row. Contact data found in a page is never written to a row: e-mail addresses, `+` phone numbers of 8 to 15 digits, `tel:`, `callto:`, `sms:`, `fax:`, `whatsapp:` and `wa.me` forms are replaced by `[removed]` wherever they appear (form action, field names, challenge names, links, errors), also when they are percent-encoded or HTML-escaped. A form action or link with such a target is shown as `mailto:[removed]` or as the link's host followed by `/[removed]` (a `wa.me` link, for example); user names, passwords and fragments of an address are dropped, query parameters named like a contact or a secret are dropped, and an address with contact data in its path is cut to its host followed by `/[removed]`. The same applies to the line you entered (`inputUrl`). A whole value that is only digits (`1234567`), a UUID, a hex string, an ISBN/GTIN with a valid check digit, a code with a letter and no phone word, a decimal or money value with one or two decimals (`12.50`, `€ 9,90`), a date or time or a coordinate pair is kept. A decimal with more decimals, such as `41.7151377`, is not a money value and is masked. A whole value of 6 to 15 digits and separators is masked (`0170 1234567`, `1.234.567`); a form field name that holds a run of 6 or more digits (Google Forms ids such as `entry.1234567890` are kept) (with spaces, dots, hyphens, slashes, brackets or `+` between them) is shown as `[removed]` in `fields`, `requiredFields` and `honeypotFields` (`0170-1234567`, `order-0170-1234567`, `quiz_0664123456`); normal names (`your-email`, `field_12`) are kept. Elsewhere, as a value or a challenge name, hyphen-only digit groups of 6 to 15 digits (`0170-1234567`) are kept as a code, 16 or more digits are masked, except a three-group shape such as `112-1234567-1234567`. A quiz field with such a name keeps the form, and its entry in `challenges` becomes `question-field:[removed]`. A name or value with a **phone word** and 6 or more digits is masked whole (`tel_0664_1234567`, `phone-0170-1234567`, `support_no-0664-1234567`). A phone word is a letter run of the name (cut at `-`, `_`, `.`, `/` and at camelCase) that starts with `tel`, `phone`, `mobil`, `fax`, `whatsapp`, `tlf`, `handy`, `contact`, `kontakt`, `ruf`, `cell`, `festnetz`, `landline`, `hotline`, `helpline` or `puhelin`; or is `fon`, `fone`, `mob`, `sms`, `call`, `wa`, `viber`, `ph`, `ext`, `dw`, `gsm`, `durchwahl`, `movil`, `celular`, `portable`, `komorka`, `numero`, `msisdn` or `mobiel`; or is `office`, `call`, `caller`, `dial`, `support`, `emergency`, `direct`, `service`, `help`, `helpdesk`, `reception`, `switchboard`, `home`, `work`, `private` or `business` followed by `number`, `no`, `nr`, `num`, `nummer` or `line` (as one word or as two neighbouring parts). A name without a phone word is judged by its shape alone, so `homephone1234567` is kept. An address longer than 500 characters is cut to 500 characters before it is masked: a web address is then shown only as its scheme and host followed by `/[removed]`, a contact scheme as `mailto:[removed]`, any other scheme as the masked first 500 characters; when the cut would split a contact, or the host does not end inside the cut, only `[removed]` is shown. Disguised forms (spelled-out digits, unusual scripts) can get past the mask; a row where the mask would still change something is replaced by a free error row.

#### Can I call it from my own code or an AI agent?

Yes: through the Apify API, a client library (Python, JavaScript), an integration (Make, Zapier, n8n) or the Apify MCP server, with the input shown above.

#### Related Actors from the same developer

**Sitemap Checker** lists the 404s, redirects and `noindex` pages in a site's XML sitemap.

# Actor input Schema

## `startUrls` (type: `array`):

Homepages or contact pages to audit (one per site).

## `followContactLink` (type: `boolean`):

When the given page has no contact form, open the site's own contact page (one extra request).

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

How many sites are checked at the same time.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://wordpress.org/"
    }
  ],
  "followContactLink": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

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

One item per site: verdict, contact form fields, form builder, bot protection, and whether it was requested and charged.

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

Number of sites per verdict, sites charged and sites stopped by the maximum charge.

# 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 = {
    "startUrls": [
        {
            "url": "https://wordpress.org/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bardach_technologies/contact-form-captcha-detector").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 = { "startUrls": [{ "url": "https://wordpress.org/" }] }

# Run the Actor and wait for it to finish
run = client.actor("bardach_technologies/contact-form-captcha-detector").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 '{
  "startUrls": [
    {
      "url": "https://wordpress.org/"
    }
  ]
}' |
apify call bardach_technologies/contact-form-captcha-detector --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bardach_technologies/contact-form-captcha-detector"
        }
    }
}
```

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/NBGJHed36qXh5DXwk/builds/n46sG0lZDsemXLgCk/openapi.json
