# Contact Info Scraper - Emails, Phones & Social Links (`lanternlab318/contact-info`) Actor

- **URL**: https://apify.com/lanternlab318/contact-info.md
- **Developed by:** [Lantern Lab](https://apify.com/lanternlab318) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 93.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 website with contacts

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 Info Scraper - Emails, Phones & Social Links

Give it a list of company websites and get **one row per domain**: the public email addresses, phone numbers and LinkedIn, Facebook, Instagram, X (Twitter), YouTube and TikTok profiles the site shows, and the page each one was found on. The Actor reads the home page, then the contact, imprint and about pages it links to - 5 pages per site by default, 20 at most. **$2.00 per 1,000 websites with contacts found; websites with nothing found, or that could not be read, are free.** See [Pricing](#pricing).

Typical use: you scraped businesses from a map or a directory, and now you want the contact details their own websites publish.

### What makes it different

- **Priced per website, not per page.** Reading 5 pages of a site costs the same as reading 1. A site where nothing was found costs nothing.
- **Failed is never "empty".** A site that blocked us, timed out or answered with an error gets `status: "blocked"`, `"network_error"` or `"http_error"` and `partial: true` - free, and never confused with a site that has no contact details. If one of the contact pages failed but others worked, the row keeps what was found and says `partialReason: "some_pages_failed"`.
- **Sources for every value.** `sources` lists each email, phone and profile with every page URL it appeared on, so you can check it in one click.
- **Clean values.** Emails are lower-cased and placeholder or asset names (`you@example.com`, `logo@2x.png`) are dropped; Cloudflare-protected addresses are decoded. Social links are reduced to the profile URL (an about or team page that links to people's own X or Instagram profiles adds those too; `sources` shows the page): share buttons, single posts and the platforms' own pages are left out. LinkedIn returns company, school and showcase pages; personal `/in/` profiles of staff are left out. Phone numbers come only from click-to-call (`tel:`) links and the site's structured data, never guessed from free text.
- **Finds contact pages in many languages.** Contact, Kontakt, Contacto, Contato, Fale conosco, Impressum, Mentions légales, Hubungi kami, Liên hệ, About, Quiénes somos, Sobre nós, Über uns and more.
- **No duplicates.** `example.com`, `www.example.com` and `https://example.com/about` are one website. Two inputs that redirect to the same site are read once; the second gets `status: "duplicate"` and is free.

### Input

```json
{
    "startUrls": ["https://apify.com", "basecamp.com", "https://www.nubank.com.br"],
    "maxPagesPerDomain": 5
}
```

| Field | What it does |
| --- | --- |
| `startUrls` | Websites, one per line: full URL or just the domain. Up to 5,000 per run. Repeats are read once. |
| `maxPagesPerDomain` | Pages read per website, start page included. Default 5, hard limit 20. Most sites show their contacts within 3-5 pages. |
| `maxConcurrency` | Websites read in parallel. Default 10. Pages of one site are read one after another. |
| `proxyConfiguration` | Default: Apify Proxy datacenter IPs. No proxy or your own proxy URLs also work. Residential Apify Proxy is not available in this Actor. |

### Output

One `domain` row per input website, then one `RUN_SUMMARY` row (also saved in the run's key-value store).

```json
{
    "recordType": "domain",
    "inputUrl": "nubank.com.br",
    "domain": "nubank.com.br",
    "startUrl": "https://nubank.com.br/",
    "loadedUrl": "https://nubank.com.br/",
    "siteTitle": "Somos incansáveis pra você não precisar ser | Nubank",
    "status": "ok",
    "httpStatus": 200,
    "hasContacts": true,
    "contactCount": 9,
    "emails": ["marketing@nubank.com.br"],
    "phones": ["0800 887 0463", "4020 0185", "0800 591 2117", "55 11 3090 2922"],
    "linkedIns": ["https://www.linkedin.com/company/nubank"],
    "facebooks": ["https://www.facebook.com/nubank"],
    "instagrams": ["https://www.instagram.com/nubank"],
    "twitters": ["https://x.com/nubank"],
    "youtubes": [],
    "tiktoks": [],
    "sources": [
        {
            "type": "phone",
            "value": "0800 887 0463",
            "pageUrls": ["https://nubank.com.br/", "https://nubank.com.br/contatos"]
        },
        {
            "type": "phone",
            "value": "4020 0185",
            "pageUrls": ["https://nubank.com.br/", "https://nubank.com.br/contatos"]
        }
    ],
    "pagesCrawled": 2,
    "pageUrls": ["https://nubank.com.br/", "https://nubank.com.br/contatos"],
    "failedPages": [],
    "pageLimitReached": false,
    "partial": false,
    "partialReason": null,
    "detail": null,
    "duplicateOf": null,
    "collectedAt": "2026-11-03T09:09:56.256Z"
}
```

(A real row from a test run on 2026-11-03; `sources` is shortened here, it has one entry per value.)

`status` values: `ok` (the start page was read), `blocked` (HTTP 401/403/407/429 or a bot-check page), `http_error`, `network_error` (timeout, DNS or connection failure after one retry), `not_html`, `invalid_input`, `duplicate`, `not_processed` (the run reached its maximum charge before this site). Every status other than `ok` is free.

`collectedAt` is when we read the site. Websites do not publish a date for their contact details, so there is no publish-time field.

### Pricing

Pay per event:

| Event | Price |
| --- | --- |
| Website with at least one email, phone number or social profile found | $2.00 per 1,000 |
| Website read, nothing found | free |
| Website blocked, failed, invalid, duplicate or not reached | free |

You also pay nothing for the number of pages read: `maxPagesPerDomain` changes how thorough the search is, not the price. A run stops cleanly at the maximum charge you set; websites it did not reach are written as `not_processed`.

### What it does not do

- **No email verification**, no guessing addresses (`info@...`), no third-party data enrichment.
- **No people search.** It does not look up names, job titles or personal profiles beyond what the website itself links to.
- **No JavaScript rendering.** Pages are read over plain HTTP, which covers almost all company sites. A site that only shows its contacts after JavaScript runs may come back with fewer results.
- **Only public pages.** Nothing behind a login, form or captcha.
- **Large brand sites behind a bot wall are often blocked** on datacenter IPs (in our test of 58 well-known retail, travel and bank sites, 12 answered 403/429). Those rows say `blocked` and are free. Small and mid-size business sites rarely block.

### Tips

- Keep `maxPagesPerDomain` at 3-5 for lead lists: the contact page is almost always linked from the home page.
- Feed it the `website` column of a Google Maps or directory export directly; bare domains work.
- Filter on `hasContacts` for the charged rows, and on `partial` for the sites that could not be fully read.

# Actor input Schema

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

One website per line: a full URL (https://www.example.com) or just the domain (example.com). Objects of the form {"url": "..."} are accepted too. Each website returns one row. The www and non-www, http and https spellings of one site are read once. An entry that is not a website returns a free invalid_input row.

## `maxPagesPerDomain` (type: `integer`):

How many pages of each website are read: the start page, then the same-site links most likely to hold contact details (Contact, Imprint/Impressum, About, Team; in English, Spanish, Portuguese, German, French, Italian, Indonesian, Vietnamese and more). Hard limit 20. The price is per website, not per page.

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

How many websites are read in parallel. Pages of one website are always read one after another.

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

Apify Proxy datacenter IPs by default. You can also use no proxy or your own proxy URLs. Residential proxies are not available in this Actor.

## Actor input object example

```json
{
  "startUrls": [
    "https://apify.com"
  ],
  "maxPagesPerDomain": 3,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "startUrls": [
        "https://apify.com"
    ],
    "maxPagesPerDomain": 3,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lanternlab318/contact-info").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": ["https://apify.com"],
    "maxPagesPerDomain": 3,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("lanternlab318/contact-info").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": [
    "https://apify.com"
  ],
  "maxPagesPerDomain": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call lanternlab318/contact-info --silent --output-dataset

```

## MCP server setup

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

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/ykFgSfEWCVTzvmYFb/builds/kEH6bhTKcsZdZflsk/openapi.json
