# Contact Page Finder & Contact Form Checker (`siteacs/contact-page-finder`) Actor

Find the contact page of every website in your list and whether it has a contact form. Reads contact, fale conosco, contacto, Kontakt and Impressum pages and spots a Kontaktformular or any other contact form. Pay only for sites with results.

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

## Pricing

$1.00 / 1,000 website with 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 & Contact Form Finder

- **In:** a list of websites or bare domains (`websites`).
- **Out:** one row per website with `contactPageUrl`, `hasContactForm`, `contactPages` (every candidate page and its kind) and `contactForms` (action, method, fields, captcha).
- **Example input:** `{"websites": ["apify.com", "odontoclinic.com.br"], "maxPagesPerSite": 3}`
- **Example output (3 fields of one row, apify.com):** `"status": "ok"`, `"contactPageUrl": "https://apify.com/contact"`, `"hasContactForm": true`
- **Price:** $1.00 per 1,000 websites with a contact page or form ($0.001 each); other rows are free.

Give it a list of websites or bare domains and get back, for each one, **the URL of its contact page** and **whether
it has a contact form**, with the form's details. It recognises contact, imprint and about pages in **English,
Portuguese, Spanish and German**: contact, contact us, get in touch, contato, fale conosco, contacto, contáctanos,
kontakt, impressum, about, sobre, quem somos, nosotros, über uns and more.

**$1.00 per 1,000 websites with a contact page or form** ($0.001 each). Websites with neither, and those that were
down or blocked, are listed free with the reason. In testing, 200 sites took about 2 minutes.

A row from the default input (shortened):

```json
{
  "input": "apify.com",
  "url": "https://apify.com/",
  "status": "ok",
  "contactPageUrl": "https://apify.com/contact",
  "contactPages": [
    {"url": "https://apify.com/contact", "kind": "contact", "hasForm": false},
    {"url": "https://apify.com/contact-sales", "kind": "contact", "hasForm": true}
  ],
  "hasContactForm": true,
  "contactForms": [
    {"pageUrl": "https://apify.com/contact-sales", "action": null, "method": "get",
     "fields": ["firstName", "lastName", "email", "demoRequirements"], "hasCaptcha": false}
  ]
}
```

- **Em português:** encontra a página de contato (fale conosco) de cada site da sua lista e diz se ela tem formulário
  de contato.
- **En español:** encuentra la página de contacto de cada sitio web de su lista y si tiene formulario de contacto.
- **Auf Deutsch:** findet die Kontaktseite und das Impressum jeder Website Ihrer Liste und ob es ein
  Kontaktformular gibt.

### Who it is for

- **Outreach and link building**: get the contact page of every site on your list so you can reach them the way they
  ask to be reached.
- **Form-based outreach and QA**: find which sites have a contact form, where it posts to, which fields it asks for
  and whether it uses a captcha.
- **Lead qualification**: separate sites that answer and invite contact from those that are down, parked or blocked.

### What you get

One dataset row per website:

| Field | What it holds |
|---|---|
| `input`, `domain`, `url` | What you gave, its domain, and the address the site finally answered from |
| `status`, `httpStatus`, `error` | Whether the site was read (see the table below), its HTTP code, and the reason when it was not |
| `contactPageUrl` | The best contact page: a page named contact/contato/contacto/kontakt..., else the imprint, else another page with a contact form, else a contact section of a one-page site |
| `contactPages` | Every candidate page that was opened, with its kind (`contact`, `imprint`, `about`, `location`, or `contact-section` for a contact block on a one-page site, e.g. `https://example.com/#contato`) and whether it has a form |
| `hasContactForm` | `true` when the home page or a contact page has a contact form (search, login and newsletter boxes do not count) or an embedded form (Google Forms, Typeform, JotForm, HubSpot and others) |
| `contactForms` | For each form: the page, the action URL (`null` when the form posts back to its own page or is sent by script), method, field names and whether it has a captcha |
| `title`, `language`, `pagesFetched`, `scrapedAt` | Home page title and language, pages read, and when |

#### Status per site

| `status` | Charged | What to do |
|---|---|---|
| `ok` | when a contact page or form was found | Nothing: the site was read |
| `unreachable` | no | The domain does not resolve (check the spelling; it may have expired) or the server refused the connection (run it again later) |
| `timeout` | no | Run it again later, or raise **Page timeout** |
| `blocked` | no | The site shows a bot challenge or refuses plain requests; it is not retried or bypassed |
| `http_error` | no | The home page answers 404, 500 or similar: check the address in a browser |
| `robots_disallowed` | no | The site's robots.txt asks robots not to read its home page, and that is respected |
| `not_html` | no | The address is a file (PDF, image), not a web page |
| `invalid_input` | no | Not a website address: write `example.com` or `https://example.com/` |
| `error` | no | An unexpected failure: run it again; if it repeats, open an issue |

The `error` field holds the technical reason and the next step, e.g.
`ConnectError: [Errno -2] Name or service not known; the domain does not resolve: check the spelling, or the domain has expired`.

Download the results as JSON, CSV, Excel or HTML. The **Contact pages** view comes first; **Contact forms**
and **Status per site** are the other views.

### How to use it

1. Paste your websites into **Websites or domains**, one per line (use **Bulk edit** for long lists), or upload a
   file under **URL list**.
2. Leave **Pages per site** at 3 (the home page counts, so: home + 2 candidate pages); raise it if you also want
   imprint and about pages.
3. Click **Start**. At the default 1 GB of memory, 200 sites took about 2 minutes in testing (roughly 10 minutes per
   1,000). More memory gives the run more CPU and makes it faster; the price per website stays the same.
   The default run timeout is 10 hours, enough for about 50,000 sites at 1 GB; for longer lists raise
   **Timeout** in the run options or split the list.

Input example:

```json
{
  "websites": ["apify.com", "odontoclinic.com.br", "https://www.example.de/"],
  "maxPagesPerSite": 3
}
```

### How it works

- For each site it opens the home page, scores every link on it by its text and address, and opens the best
  candidates to confirm them and look for a form. If no candidate link exists, it tries one usual address
  (`/contact`, `/contato`, `/contacto`, `/kontakt`, by the site's language) and keeps it only if the page really is a
  contact page.
- Pages are fetched with plain HTTP requests (no browser), one at a time per site, staying on the site's own domain.
  It follows redirects and **respects robots.txt**.
- Sites that answer with a bot challenge or refuse the request are marked `blocked` and skipped. The actor does not
  try to get around any site's protection.
- Forms drawn only by JavaScript after the page opens are detected when the page loads a known form service; others
  are not seen.

### Pricing

**$1.00 per 1,000 websites with results** ($0.001 per website), no start fee. A website counts when a contact page
or a contact form was found; every other row is free. Set **Maximum cost per run** in the run options for a hard cap;
the run stops when it is reached.

### API, schedules and integrations

- One call that runs it and returns the rows (for lists that finish within 5 minutes):
  `POST https://api.apify.com/v2/acts/siteacs~contact-page-finder/run-sync-get-dataset-items?token=<your token>` with the
  input JSON as the body. For longer lists, start a run with `/runs` and read its dataset when it finishes. The **API**
  tab has code for Python, JavaScript and the CLI.
- To run it every week or month, create a schedule in Apify Console (**Schedules**) with this actor and your input.
- Make, Zapier and n8n have Apify modules that start this actor and read its dataset, so the rows can go on to a sheet
  or a CRM.
- Rows are saved as each site finishes, so they are not in input order; match them on `input`.

### Personal data

This actor reads only a website's own public pages and returns page addresses and form structure, not the contact
details on them. It does not submit forms. If you use the results to contact anyone, you are responsible for doing so
lawfully (GDPR, LGPD, anti-spam rules) and for respecting each site's terms.

### One lead-list pipeline

Three actors from the same publisher work as steps of one lead-list job:

1. [Website Status Checker](https://apify.com/siteacs/website-status-checker): check that each site is live, not parked, expired or dead.
2. [Contact Page & Contact Form Finder](https://apify.com/siteacs/contact-page-finder): find the contact page and whether it has a form.
3. [Website Contact Scraper](https://apify.com/siteacs/website-contact-scraper): extract emails, phones, WhatsApp links and social profiles.

Feed the sites that came back live from step 1 into the next steps. This actor is step 2.

### FAQ

**Como achar a página de contato ou "fale conosco" de uma lista de sites?** Cole os endereços em "Websites or
domains". Para cada site o ator devolve o endereço da página de contato (ou de "fale conosco", "contato" ou "quem
somos") e diz se ela tem formulário de contato.

**¿Cómo encuentro la página de contacto de muchos sitios web?** Pegue los dominios en "Websites or domains". El actor
devuelve la dirección de la página de contacto ("contacto" o "contáctanos") de cada sitio y si tiene formulario de
contacto.

**Wie finde ich Kontaktseite, Impressum und Kontaktformular vieler Websites?** Tragen Sie die Domains unter
"Websites or domains" ein. Der Actor liefert je Website die Adresse der Kontaktseite oder des Impressums und sagt, ob
es ein Kontaktformular gibt, mit Feldnamen und Captcha.

**Which sites can I reach by form when there is no email?** Filter the rows on `hasContactForm` equal to `true`; each
form in `contactForms` lists its fields and whether it uses a captcha. This actor does not submit forms.

### Feedback

Found a site where the contact page was missed or wrong? Open an issue on the actor's Issues tab with the website
address.

# Changelog

This Actor's version history is a separate document: https://apify.com/siteacs/contact-page-finder/changelog.md

# Actor input Schema

## `websites` (type: `array`):

Websites to read, one per line: a bare domain ("example.com") or a full address ("https://www.example.com.br/"). Use Bulk edit to paste a long list. Duplicates are removed. Example: \["apify.com", "odontoclinic.com.br"].

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

Optional. Full addresses with https://, or a text or CSV file, or a link to one. Combined with the list above. Example: \[{"url": "https://example.com/"}], or a link to a .txt or .csv file with one address per line.

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

Total pages read per site, the home page included: 3 means the home page plus up to 2 candidate contact pages picked from the site's own links (English, Portuguese, Spanish and German words). Each candidate is opened to confirm it and to check for a form. Whole number from 1 to 10, for example 3.

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

How many websites are checked in parallel. Each site gets one request at a time, so this never floods a single site. Whole number from 1 to 100, for example 20.

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

How long to wait for one page before giving up on it. Seconds, from 3 to 120, for example 15.

## `siteTimeoutSecs` (type: `integer`):

After this, the site's remaining pages are skipped and what was found so far is saved. Seconds, from 10 to 600, for example 60.

## `proxyConfiguration` (type: `object`):

Not needed for most sites: requests go out from Apify's servers directly. Turn it on only if your own network rules require it. Sites that show a bot challenge are reported as blocked, not bypassed. Example: {"useApifyProxy": false}.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "odontoclinic.com.br"
  ],
  "maxPagesPerSite": 3,
  "maxConcurrency": 20,
  "requestTimeoutSecs": 15,
  "siteTimeoutSecs": 60,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `contactPages` (type: `string`):

One item per website: the contact page URL, other contact/imprint/about pages, and whether a contact form was found.

## `forms` (type: `string`):

The contact forms found: page, action URL, method, field names and captcha.

## `status` (type: `string`):

Whether each site answered, was blocked or unreachable, and how many pages were read.

# 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 = {
    "websites": [
        "apify.com",
        "odontoclinic.com.br"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("siteacs/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 = { "websites": [
        "apify.com",
        "odontoclinic.com.br",
    ] }

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

```

## MCP server setup

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