# Contact Page & Social Links Finder - Website Contact Forms (`bigdavidson/website-contact-finder`) Actor

Unofficial. For each website: its contact, about, imprint and support pages, whether it has a contact form, and the social profiles it links to. No email addresses or phone numbers are collected. Up to 1,000 sites per run. No key, robots.txt respected.

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

## Pricing

from $2.10 / 1,000 website checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 & Social Links Finder - Website Contact Forms

Give it the addresses of websites. For each one it reads the home page and the most promising contact-type pages linked from it (contact, imprint, about, support, locations, in the common languages) and returns one row: which of those pages exist, whether the site has a contact form (and the names of its fields), whether an email link or a phone link is shown, and the social profiles the site links to. **This is not an email extractor.** It never collects or stores an email address or a phone number: it only tells you that one is shown and where the contact page and the form are.

Use it to find the contact page and contact form of a list of companies or organisations, to enrich a lead list with the social profiles the websites publish, or to check which of your sites lack a contact form or an imprint page.

- **$3.00 per 1,000 websites.** Pay only for rows delivered. No subscription.
- **Nothing to set up.** No account, no API key, no proxies.
- **No personal contact details.** It returns where and how a business can be reached (contact pages, a contact form, social profiles), and never an email address or a phone number.
- **Clean, consistent fields**, ready for CSV, Excel, JSON or a database.
- **Runs on a schedule** and connects to the Apify API, Make, Zapier, n8n and AI agents.

### Who uses it

- Sales and outreach teams that need each company's contact page, contact form and social profiles.
- Agencies checking client and prospect sites for a missing contact form, imprint or support page.
- Data teams adding the channels each organisation publishes to a company table.

### What you get

One row per website whose home page could be read. A real row from a run on ubuntu.com:

```json
{
  "url": "https://ubuntu.com/",
  "finalUrl": "https://ubuntu.com/",
  "domain": "ubuntu.com",
  "siteName": "Ubuntu",
  "language": "en",
  "contactPages": [
    {
      "url": "https://ubuntu.com/contact-us",
      "kind": "contact",
      "title": "Contact Canonical | Ubuntu"
    },
    {
      "url": "https://ubuntu.com/about",
      "kind": "about",
      "title": "About the Ubuntu project | Ubuntu"
    },
    {
      "url": "https://ubuntu.com/support",
      "kind": "support",
      "title": "Open source support with enterprise-grade SLAs | Ubuntu"
    }
  ],
  "hasContactForm": true,
  "contactFormUrls": [
    "https://ubuntu.com/",
    "https://ubuntu.com/contact-us",
    "https://ubuntu.com/support"
  ],
  "formFields": [
    {
      "name": "about-your-project",
      "type": "textarea"
    },
    {
      "name": "kind-of-device",
      "type": "checkbox"
    },
    {
      "name": "_radio_how-many-machines-do-you-have",
      "type": "radio"
    },
    {
      "name": "how-do-you-consume-open-source",
      "type": "checkbox"
    },
    {
      "name": "hardening-requirements",
      "type": "checkbox"
    },
    {
      "name": "responsible-for-tracking",
      "type": "checkbox"
    },
    {
      "name": "advice",
      "type": "textarea"
    },
    {
      "name": "firstName",
      "type": "text"
    },
    {
      "name": "lastName",
      "type": "text"
    },
    {
      "name": "email",
      "type": "email"
    },
    {
      "name": "company",
      "type": "text"
    },
    {
      "name": "title",
      "type": "text"
    },
    {
      "name": "country",
      "type": "select"
    },
    {
      "name": "phone",
      "type": "tel"
    },
    {
      "name": "canonicalUpdatesOptIn",
      "type": "checkbox"
    },
    {
      "name": "website",
      "type": "text"
    },
    {
      "name": "name",
      "type": "text"
    },
    {
      "name": "Comments_from_lead__c",
      "type": "textarea"
    }
  ],
  "hasEmailLink": true,
  "hasPhoneLink": false,
  "social": {
    "linkedin": "https://www.linkedin.com/company/234280",
    "facebook": "https://www.facebook.com/ubuntulinux",
    "instagram": "https://www.instagram.com/ubuntu_os",
    "x": "https://x.com/ubuntu",
    "youtube": "https://www.youtube.com/user/celebrateubuntu",
    "tiktok": "https://www.tiktok.com/@canonical_ubuntu",
    "github": "https://github.com/canonical",
    "pinterest": null,
    "threads": null,
    "bluesky": null,
    "telegram": null
  },
  "socialCount": 7,
  "pagesRead": 4,
  "scrapedAt": "2026-11-12T23:08:04Z"
}
```

- `url` is the address you gave (with `https://` added when you left it out). `finalUrl` is where the redirects of the home page ended, and `domain` its host name without `www.`.
- `siteName` is `og:site_name`; otherwise the name of the JSON-LD Organization or WebSite on the home page; otherwise the page title up to its first separator (`|`, `-`, a dash or a middle dot; a leading "Home" or "Welcome" is skipped). It is empty when the home page gives none, and is cut at 200 characters.
- `language` is what the home page declares (the `lang` attribute, otherwise `og:locale`, otherwise the `content-language` meta tag), or empty.
- `contactPages` lists up to 10 pages of the same site that were actually read and answered 200, each with `url`, `kind` (`contact`, `imprint`, `about`, `support` or `locations`) and the page `title`. It is empty when the site has none or none could be read.
- `hasContactForm` is true when a page that was read holds a contact form. `contactFormUrls` lists up to 5 such pages (the home page included). `formFields` lists the field names and types of the first contact form found, at most 20; hidden fields, buttons and trap fields for robots are left out, a group of radio buttons or checkboxes with one name is listed once, and no value is ever read or stored.
- `hasEmailLink` is true when a `mailto:` link or a visible email address is on a page that was read. `hasPhoneLink` is true when a `tel:` link is on a page that was read. **The address and the number themselves are never stored.**
- `social` has one address or `null` for each of `linkedin`, `facebook`, `instagram`, `x`, `youtube`, `tiktok`, `github`, `pinterest`, `threads`, `bluesky` and `telegram`. `socialCount` is the number that are not `null`.
- `pagesRead` is the number of pages read for this site, the home page included. `scrapedAt` is the time of the read in UTC.

#### What counts as a contact form

A page holds a contact form when it has a `<form>` that contains a textarea, or an email-type input together with at least one other text input (text or telephone). These do **not** count:

- a search box (`role="search"`, or a form whose id, class, action or name says search);
- a login form (it holds a password field, or its id, class, action or name says login, sign in, register, password or checkout);
- a comment form (it says comment);
- a one-field newsletter sign-up (an email input alone), and a form without a textarea that calls itself newsletter, subscribe, sign-up or mailing list in its id, class, action or name, or whose button says subscribe, sign up, join, log in, register or search;
- a form whose only textarea or text input is hidden or is a trap field for robots (for example `ak_hp_textarea` or a field named honeypot).

The rule is a heuristic on the markup the server sends: a form that is built by JavaScript after the page loads, or that sits in an iframe (HubSpot, Typeform, Google Forms and similar), is not seen, and a long sign-up form whose button does not say so can be counted as a contact form. The same form in the footer of every page is listed for every page that holds it, and `formFields` come from the first contact form found, the home page first.

#### Social links

Only links found on the pages that were read count (links in the page body and the `sameAs` list of an Organization, WebSite or local-business entry in the page's JSON-LD). One address per platform: the one linked most often, ties going to the first seen.

- Share and intent links are not profiles (`facebook.com/sharer`, `twitter.com/intent`, `x.com/intent`, `linkedin.com/shareArticle`, `pinterest.com/pin/create`, `t.me/share` and the like), nor are posts, videos, photos and other single items.
- A bare platform home page is not a profile.
- LinkedIn: only `/company/`, `/school/` and `/showcase/` addresses; a personal `/in/` address is never stored.
- Query strings and fragments are removed (`?utm_source=...`, `?ref=...`).
- `wa.me`, WhatsApp, and any other link that contains a phone number, a run of seven or more digits or an email address is never stored. A Facebook page that has only a numeric address is therefore left out.
- The `@` that starts a TikTok, YouTube or Threads handle (`tiktok.com/@name`) is kept as linked: the same address with `%40` does not open a TikTok profile. It is not an email address. Any other `@` in an address (a handle such as `name@example.org`, also written `%40` or as a fullwidth `＠`) drops the address.
- An address is also dropped when its handle holds a percent sign, a slash, a control character, a quote or an angle bracket, or is `.` or `..`; when it holds a run of seven or more digits (this drops Facebook and LinkedIn pages that are named only by a long number, for example `linkedin.com/company/12345678`); and when a TikTok, YouTube or Threads handle has a second `@`. Such a platform shows `null` even though the site links to it.
- Links are returned as the website publishes them. **On the website of a one-person business, the profiles it links can be that person's own profiles.** Check what you do with them.

### Input

| Field | What it does |
|---|---|
| Websites | Addresses of websites, one per line, up to 1,000. A bare domain such as `example.org` gets `https://`. |
| Pages to read per site | The home page plus the most promising contact-type pages linked from it, at most this many in total. Default 4, from 1 to 10. Only pages of the same site are read (`www.` and the bare name count as one site, other subdomains do not). |
| Maximum results | Stop after this many websites. Default 100. One result is one website. |

How pages are chosen: links on the home page that point to the same site are scored by the words in their path and in their link text (a table of words in English, German, French, Spanish, Portuguese, Italian, Dutch and a few more languages, plus a few Chinese, Japanese and Korean phrases). Contact pages score highest, then imprint, about, support and locations; shorter paths score higher. The best page of each kind is read first, then the next best, until the page limit is reached. When the home page has no such link at all, `/contact` is tried once. If a page fails (404, not HTML, disallowed by robots.txt), the next one is tried, with at most three failed pages per site on top of the limit.

### What is not charged

A website whose home page could not be read gets **no row and costs nothing**. The run log and the final status message count them per reason:

- the site's robots.txt disallows the home page (`disallowed by robots.txt`), or robots.txt could not be read because the site answered it with a server error;
- the site refused an automated request: HTTP 401 or 403 (also 407 and 451), a login redirect, a CAPTCHA or bot-challenge page, or a rate limit that did not go away. That site is then **left alone for the rest of the run**;
- the address is not a public web address: private, local and internal addresses, addresses with a user name or password, and ports other than 80 and 443;
- the host name does not exist, there was no connection, a TLS error, a timeout, too many redirects, another HTTP error such as 404 or 500, a page that is not HTML, or a page larger than 3 MB;
- the home page redirects to a site that an earlier row already covers (counted as `same site as an earlier row`);
- the site was not tried because the run stopped early (see Limits).

The run fails only when no website at all could be read, and then it lists the reasons. Pages of a site that were not read (a contact page that does not exist, is disallowed, or leads away from the site) do not remove the site's row; they are counted in the log as `Pages not read`.

### How to run it

1. Open the **Input** tab. The prefilled example (nasa.gov, ubuntu.com, python.org and wikimediafoundation.org, four pages each) works as it is; replace the addresses with yours.
2. Press **Start**. A row appears in the **Output** tab as each website is finished.
3. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the Apify API.

Requests are made one at a time, at least a second apart, and the robots.txt of every site is read first. A typical site at the default of four pages takes about five to ten seconds, so 100 websites take roughly ten to fifteen minutes. The prefilled example took about 25 seconds. A site that asks for a longer delay in its robots.txt (`Crawl-delay`) is waited for, up to 30 seconds between two requests: such a site takes minutes at four pages (eff.org asks for 30 seconds, so its four pages took two minutes).

### How much does it cost?

**$3.00 per 1,000 websites** ($0.003 per website), plus Apify's standard start charge of $0.00005 per run. There is no subscription and no rental fee.

| Results | Cost |
|---|---|
| 100 | $0.30 |
| 1,000 | $3.00 |
| 10,000 | $30.00 |

You pay only for rows delivered (the `website` charge). Platform usage is included in that price, and a run stops at the spending limit you set. The Pricing tab always shows the current price.

### FAQ

**Does it give me email addresses or phone numbers?** No, on purpose. It tells you whether an email link or a phone link is shown (`hasEmailLink`, `hasPhoneLink`) and where the contact page and the form are. If you need addresses, this is the wrong tool; use the contact page it finds.

**Do I need an account, an API key or a proxy?** No. The Actor reads public pages only and needs nothing from you besides the input.

**Can I run it on a schedule?** Yes. Put it on an Apify schedule to see when a site gains or loses a contact form or a social profile.

**Why is a site I gave missing from the results?** It got no row because its home page could not be read: the log says why. A site whose robots.txt bars all automated clients cannot be read at all.

**Is it safe to give it any address?** The Actor only fetches public web addresses on the standard ports; private, local, internal, multicast and reserved addresses are refused, also when a redirect leads there. While the pages of a site are read, an address on another site is refused, redirects included. Every download has a size limit, every page a time limit, and pages are read with a one-pass HTML parser that stops once a tag or comment that never ends has held back more than 100 KB. Pages of 2 MB of hostile markup are read here in a few seconds.

**Something looks wrong?** Open the **Issues** tab on this page and include the input you used.

### Limits

- **No email addresses and no phone numbers.** That is what this Actor does not do, by design. Names of people, job titles, team pages and individual staff contact details are not collected either; no field holds them.
- **robots.txt is obeyed.** A page that the site's robots.txt disallows for this Actor is not read. A site that bars all bots therefore cannot be read at all, and a contact page that is disallowed is not listed. The Actor identifies itself honestly and does not imitate a browser, so it also cannot read sites that only serve browsers.
- **It never leaves the site.** Links to other hosts are not followed, and a contact page that redirects to another host is not read or listed. Other subdomains (`blog.example.com`) are other sites. A website whose home page redirects to another site is read where the redirect ends.
- **Pages are not rendered.** Only the HTML the server sends is read. Contact forms, links and social buttons that a script adds after the page loads, forms inside iframes, and contact details in images or PDFs are not found. `hasEmailLink` is also true for an address that is visible text on the page, but not for one that is hidden by a script or written out as "name at example dot com".
- **A heuristic, not a verdict.** Contact pages are recognised by words in the address and the link text; a page called something else (`/get-a-quote`, `/reach-out`) is missed, and a page whose address merely contains a word can be listed. `contactPages` holds only pages that were read, so a contact page behind a robots.txt rule, a login or an error is not listed.
- **Requests per site.** One `robots.txt` request for each host name the site uses (the bare name and `www.` count twice), the home page, and at most the page limit minus one further pages plus three failed ones: at the default of four pages, at most 2 + 6 requests, usually 5. A server error is asked again up to twice more.
- **One page budget per site.** At most the number of pages you set (1 to 10) are read per site, so a large site is looked at in part: a social profile or form that appears only on a page that was not read is not found. Contact pages are read in the order of their score, not all of them.
- **Redirects** are followed one step at a time, at most 5, and every step is checked against robots.txt and the address rules. The address a name resolves to is checked before each request and each redirect step; the connection itself resolves the name again, so a name that changes its answer between the two is not covered.
- **Server errors are retried.** The shared client makes up to three attempts, with pauses, when a site answers with a 5xx status. A bot-challenge page is never retried, whatever its status code, and counts as a refusal. A rate limit (HTTP 429) is waited out once; if it persists the site counts as refusing.
- **Time limits.** Each page gets at most 60 seconds (robots.txt, download and redirects together) and 20 more for reading its markup; no further page of a site is started after 400 seconds. A run stops early once sites and pages that gave no answer have together taken more than 15 minutes; the sites after that point are not tried, and the log says how many. Rows already delivered are kept.
- **Size limits.** A page larger than 3 MB is not read. At most 5,000 links, 20 forms and 60 form fields per page, and 3,000,000 characters of a page, are looked at.
- Uses ordinary web requests, one at a time and at least a second apart, and keeps no cookies. It does not log in, solve CAPTCHAs or work around blocks.
- Organisation-level data only. Page titles and site names are returned as the website publishes them; email addresses and phone numbers in them are replaced with `[email removed]` and `[phone removed]` before the text is cut, and a web address that contains an `@` or a phone-like number is not stored. A person's name written into a page title or a site name is not removed.
- Unofficial. Not affiliated with, endorsed by or sponsored by any of the sites it reads. Check each site's terms before using the data commercially.

# Actor input Schema

## `urls` (type: `array`):

Websites to look at, one per line, up to 1,000. A bare domain such as example.org gets https://. A site whose home page cannot be read (robots.txt disallows it, it refuses an automated request, it is not a public address, it is not HTML, it is too slow) gets no row and costs nothing; the run fails only when no site at all could be read.

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

The home page plus the most promising contact-type pages linked from it (contact, imprint, about, support, locations), at most this many pages in total, all on the same site and all allowed by its robots.txt. Every page costs about a second.

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

Stop after this many websites (one result is one website). Sites that could not be read give no result and are not charged.

## Actor input object example

```json
{
  "urls": [
    "https://www.nasa.gov/",
    "https://ubuntu.com/",
    "https://www.python.org/",
    "https://wikimediafoundation.org/"
  ],
  "maxPagesPerSite": 4,
  "maxResults": 100
}
```

# Actor output Schema

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

All result rows from the run's default dataset, as JSON.

# 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 = {
    "urls": [
        "https://www.nasa.gov/",
        "https://ubuntu.com/",
        "https://www.python.org/",
        "https://wikimediafoundation.org/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigdavidson/website-contact-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 = { "urls": [
        "https://www.nasa.gov/",
        "https://ubuntu.com/",
        "https://www.python.org/",
        "https://wikimediafoundation.org/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bigdavidson/website-contact-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 '{
  "urls": [
    "https://www.nasa.gov/",
    "https://ubuntu.com/",
    "https://www.python.org/",
    "https://wikimediafoundation.org/"
  ]
}' |
apify call bigdavidson/website-contact-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigdavidson/website-contact-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/lPa7xPBJpDWhrxetA/builds/3XtsgksB2L6AoVIEn/openapi.json
