Skip to main content
Glama
fairquery-contact-enricher

fairquery-contact-enricher

Official

Website Contact & Company Enricher

Turns company domains into one row each (public business emails, phones, social profiles, company name and address) for $3 per 1,000 domains. You pay $0.003 per domain that returns a result row, and unreachable, blocked or invalid domains are free. Example: enriching 500 domains costs at most 500 × $0.003 = $1.50, plus Apify's $0.00005 Actor-start fee.

Fairquery Apify Actor that turns a list of domains into one clean row per company: business emails (validated for MX, disposable domains and typos), phone numbers (E.164), social profiles, company name, description and postal address, taken from the homepage and its contact / about / imprint pages. Plain HTTP, no browser, robots.txt respected, one request at a time per site.

When to use this Actor (LLM / tool selection)

Use it when an agent or sales-ops workflow needs to:

  • Add a contact email, phone and LinkedIn company page to a list of company websites (CRM enrichment, lead lists, vendor onboarding)

  • Find the generic inbox (info@, sales@, support@, press@) of a company and check that its domain actually receives mail

  • Get the legal company name and address from structured data or the imprint page (EU sites)

  • Collect a company's official social accounts

Do not use it to find personal emails of individuals or to scrape people's profiles. By default it returns role / generic mailboxes only (emailScope: "role"); personal LinkedIn profiles (/in/…) are never returned.

Related MCP server: Brand Intelligence MCP

How it works

  1. Normalises each input (https://www.Acme.com/contact, jane@acme.com, acme.com → acme.com) and removes duplicates.

  2. Reads robots.txt (RFC 9309: missing = allowed, 5xx = disallowed) and honours Disallow rules and Crawl-delay for user agent FairqueryBot.

  3. Fetches the homepage, then the best-scoring same-site pages (contact, Kontakt, contacto, about, imprint/Impressum, legal notice, team…) up to maxPagesPerDomain, waiting requestDelayMs between requests to the same site.

  4. Extracts: JSON-LD Organization/LocalBusiness (name, legalName, telephone, email, address, sameAs), mailto: and tel: links, Cloudflare-protected emails, name [at] domain [dot] com obfuscation, og:site_name, <address> blocks, social links.

  5. Validates emails with the same code as Fairquery Email Validator: syntax, DNS-over-HTTPS MX/null-MX, disposable list, free-provider and typo checks (no SMTP probing).

Input

Field

Type

Default

Description

domains

string[]

(required)

Domains, URLs or emails

maxPagesPerDomain

int

5

1–15, homepage included

emailScope

role | business | all

role

business adds named addresses on the company's own domain

validateEmails

bool

true

MX / disposable / typo

checkSpfDmarc

bool

false

SPF/DMARC for the company mail domain

defaultPhoneCountry

string

–

e.g. US; also parse national-format numbers in page text

domainConcurrency

int

5

Sites in parallel

requestDelayMs

int

1000

Delay between requests to one site

requestTimeoutSecs

int

15

Per request

domainTimeoutSecs

int

40

Hard limit per domain (all pages + DNS). At the limit you get the data collected so far (partial: true), or an uncharged DOMAIN_TIMEOUT error row if the homepage never loaded

maxDomains

int

1000

Safety cap

{ "domains": ["apify.com", "stripe.com", "https://basecamp.com/"], "maxPagesPerDomain": 4 }

Output

{
  "schema_version": "1.0.0", "type": "domain", "input": "apify.com", "domain": "apify.com", "final_url": "https://apify.com/",
  "company_name": "Apify Technologies s.r.o.",
  "description": "Cloud platform for web scraping, browser automation, AI agents, and data for AI…",
  "emails": [
    { "email": "hello@apify.com", "source_url": "https://apify.com/contact", "is_role_account": true, "on_company_domain": true,
      "is_free_provider": false, "is_disposable": false, "verdict": "valid", "reasons": ["ROLE_ACCOUNT"], "has_mx": true, "mail_provider": "Google Workspace / Gmail" }
  ],
  "primary_email": "hello@apify.com",
  "phones": [{ "e164": "+18889262289", "raw": "+1 888 926 2289", "source_url": "https://stripe.com/contact/sales", "source": "tel" }],
  "social_links": { "linkedin": ["https://linkedin.com/company/apify"], "twitter": ["https://x.com/apify"], "github": ["https://github.com/apify"] },
  "address": "Na Příkopě 959/27, 11000, Prague, CZ",
  "mail_domain": { "has_mx": true, "null_mx": false, "mail_provider": "Google Workspace / Gmail", "has_spf": null, "has_dmarc": null, "dmarc_policy": null },
  "pages_crawled": ["https://apify.com/", "https://apify.com/contact"], "pages_blocked_by_robots": 0, "robots_txt": "ok", "email_scope": "role"
}

Error rows (type: "error", never charged): INPUT_EMPTY, INVALID_DOMAIN, MAX_DOMAINS_EXCEEDED, SITE_UNREACHABLE, BLOCKED_BY_ROBOTS, ENRICH_FAILED, DOMAIN_TIMEOUT, RUN_TIMEOUT_NEAR.

RUN_SUMMARY (key-value store): pages fetched, pages blocked by robots.txt, emails found vs. excluded by scope, DNS requests, charged events.

Pricing

Event

Price

When

domain-enriched

$0.003

Each domain that returns a result row

apify-actor-start

$0.00005

Once per run, per GB of memory (Apify default event)

Error rows (SITE_UNREACHABLE, BLOCKED_BY_ROBOTS, INVALID_DOMAIN, ENRICH_FAILED, …) are never charged. A domain is charged once, however many pages are crawled (up to maxPagesPerDomain).

Worked example: 1,000 domains from a Google Maps export, of which 120 are unreachable or blocked: 880 × $0.003 = $2.64, plus $0.00005.

To cap spend, set a maximum cost per run in the run options; the Actor stops cleanly at the limit. maxDomains caps how many domains one run processes. Prices are from the Store pricing tab (October 2026).

Memory / runtime

Default 256 MB, no browser, no proxy. With the default politeness settings a domain takes about 3–8 s (homepage + 4 pages, 1 s apart), and 5 domains run in parallel, so 100 domains finish in roughly 1–3 minutes. Sites that block datacenter IPs or need JavaScript to render contact details will return fewer fields. Memory is capped at 512 MB (more does not help: the Actor is network-bound). Each domain has a hard 40 s time limit (domainTimeoutSecs), so one slow or tarpitting site can't hang the run, and every finished domain is saved and charged immediately. The default run timeout is 15 minutes (about 500–1,000 domains); shortly before the timeout the Actor stops starting new domains and adds an uncharged RUN_TIMEOUT_NEAR row listing how many were skipped, so split very large lists or raise the timeout.

MCP / Apify tools

Call from agents via Apify MCP with Actor fairquery/website-contact-company-enricher:

{ "actor": "fairquery/website-contact-company-enricher", "input": { "domains": ["acme.com"] } }

Local stdio MCP server

The mcp/ folder is a stdio MCP server (TypeScript, @modelcontextprotocol/sdk) with three tools, all with annotations and output schemas:

Tool

What it does

Cost

enrich_domains

Runs this Actor and returns the rows. With waitForFinish: false it starts the run and returns the run ID at once (for large batches)

Needs APIFY_TOKEN, billed per domain (same price either way)

get_enrichment_results

Status and paged rows of a run started with waitForFinish: false, including partial rows while it runs

Free, needs APIFY_TOKEN (reads your own run)

normalize_domains

Cleans URLs/emails into unique domains, lists invalid ones, and shows billable_count and estimated_max_cost_usd (an upper bound) before you run

Free, local, no token

cd mcp && npm install && npm run build
node scripts/smoke-test.mjs                          # initialize + tools/list + free tool, no token
APIFY_TOKEN=... node scripts/smoke-test.mjs --call   # real call
{ "mcpServers": { "fairquery-contact-enricher": { "command": "node", "args": ["/path/to/website-contact-company-enricher/mcp/dist/index.js"], "env": { "APIFY_TOKEN": "<your Apify token>" } } } }

Docker: the root Dockerfile builds the MCP server image (docker build -t fairquery-contact-enricher-mcp .); it is also the Dockerfile for Glama. The Actor image is .actor/Dockerfile. glama.json lists fairquery as maintainer.

Works well after

Troubleshooting

Symptom

Cause and fix

Run is rejected because domains is required

The input had no domains. The three sample domains in the Console form are prefill only and are not sent with API calls.

BLOCKED_BY_ROBOTS or few pages crawled

The site's robots.txt disallows FairqueryBot for those paths, and the Actor honours it. These rows are free.

SITE_UNREACHABLE / no emails on a JavaScript-heavy site

The site blocks datacenter IPs or renders contact details with JavaScript. The Actor uses plain HTTP with no proxy or browser, so such sites return fewer fields.

Named people's emails missing

By default emailScope is role (info@, sales@ …). Use business to include named addresses on the company's own domain, but only if you have a lawful basis to process them.

Run slower than expected

Politeness settings: requestDelayMs (default 1,000 ms between requests to one site) and domainConcurrency (default 5). Raise concurrency rather than lowering the delay.

FAQ

Where does the data come from?

Only from pages the company publishes on its own domain: homepage, contact, about, imprint and team pages, plus JSON-LD structured data. No third-party databases.

Does it return personal emails or LinkedIn profiles of people?

By default it returns role and generic mailboxes only, and personal LinkedIn profiles (/in/…) are never returned.

Are emails verified?

They are checked for syntax, MX/null-MX, disposable domains and typos (the same code as the Fairquery Email Validator). There is no SMTP probing, so a mailbox is never confirmed.

How much does it cost?

$0.003 per enriched domain ($3 per 1,000), plus a $0.00005 start fee. Unreachable, blocked and invalid domains are free.

How do I limit spend?

Set a maximum cost per run in the run options and/or lower maxDomains.

Is this GDPR-compliant?

The Actor only reads what businesses publish, but business contact data can still be personal data. You need a lawful basis, must honour opt-outs and must follow anti-spam law. See the disclaimer.

Fairquery family

Other Fairquery tools on the Apify Store. Each one returns structured rows with machine-readable error codes, and error rows are never charged:

All Fairquery Actors: https://apify.com/fairquery

Kits & templates

Optional guides from Fairquery for wiring this Actor into agents and automations (the Actor works fine without them):

Disclaimer

Returns only information that companies publish on their own websites. You are responsible for how you use it: business contact data can still be personal data under GDPR/UK GDPR, so have a lawful basis, honour opt-outs, and follow anti-spam law (CAN-SPAM, ePrivacy/PECR) when you contact anyone. DNS checks cannot prove a mailbox exists.

Development

Local development, tests and deployment notes are in DEVELOPMENT.md. The Apify Store README is .actor/README.md.

Available Tools

3 tools
enrich_domainsEnrich domains with public business contactsA
Read-onlyIdempotent
Inspect

WHAT: For each company domain, crawl the homepage plus up to N contact/about/imprint pages (plain HTTP, robots.txt respected, polite per-site delay) and return one row with company_name, description, business/role emails (MX, disposable and typo validated), phones (E.164), social profiles (LinkedIn company, X, Facebook, Instagram, YouTube, GitHub...), postal address and mail-domain info. WHEN TO USE: enriching a lead/CRM list of company websites with public contact data; finding the official contact email or address of a business. WHEN NOT TO USE: to clean/dedupe a messy list first or preview what will be billed, call normalize_domains (free). Not for finding personal emails of individuals, LinkedIn people search, or JavaScript-only sites that need a browser. COST: paid. Runs Apify Actor fairquery/website-contact-company-enricher with your APIFY_TOKEN; pay-per-event "domain-enriched": $0.003 per domain that returns a result row. Unreachable, blocked or invalid domains are free. 100 domains ~ $0.30. ~2-10 s per domain. RETURNS: one type="domain" row per enriched domain (fields are null or empty when not published on the crawled pages) or free type="error" rows (code, message, retryable); with waitForFinish=false, items is empty and run holds run_id for get_enrichment_results. PARAMETERS: domains: entries are split on commas, semicolons and newlines, then each is reduced to its hostname (scheme, path, port and a leading "www." removed; for an email the part after @ is used; other subdomains are kept, so "shop.acme.com" and "acme.com" are separate) and deduplicated, so you pay once per unique enriched domain; unparseable entries give free INVALID_DOMAIN rows (max 1000 domains per run; extras get a free MAX_DOMAINS_EXCEEDED row). Run normalize_domains first to preview exactly what will be billed (billable_count, estimated_max_cost_usd). waitForFinish=false returns at once with run.run_id and the run keeps going in your Apify account (same price); use it for lists over ~100 domains, which may not finish within this call's 280 s wait, then poll get_enrichment_results. maxPagesPerDomain changes run time and coverage, never the price; 1 = homepage only, 3-5 usually finds the contact/imprint page. emailScope only filters which found addresses are returned: "role" keeps generic mailboxes (info@, sales@, support@...) on any domain, "business" adds named addresses on the company's own domain, "all" also keeps third-party/personal addresses - choose the narrowest scope your lawful basis allows. validateEmails=false skips only the DNS part: disposable/typo checks still run locally, has_mx and mail_domain become null and clean addresses get verdict "unknown" instead of "valid"; checkSpfDmarc adds SPF/DMARC for the company mail domain and has no effect when validateEmails=false. defaultPhoneCountry widens phone extraction to national-format numbers in page text (e.g. "030 1234567" with "DE"); without it only tel: links, JSON-LD and +international numbers are parsed, all returned as E.164. EXAMPLE: {"domains":["stripe.com","https://basecamp.com/about"],"maxPagesPerDomain":3} -> 2 domain rows.

Inputs: domains (required), emailScope, checkSpfDmarc, waitForFinish, +3 more. Returns: run, count, items

get_enrichment_resultsGet results of a background enrichment run (free)A
Read-onlyIdempotent
Inspect

WHAT: Read the status and result rows of an enrich_domains run started with waitForFinish=false, one page at a time. WHEN TO USE: after enrich_domains returned run.run_id, to poll until finished is true and page through the rows; rows already written are returned while the run is still RUNNING. WHEN NOT TO USE: to start an enrichment (enrich_domains) or to preview cost (normalize_domains). Cannot read runs of other Actors. BEHAVIOR: GET requests to the Apify API only (actor, run, dataset); never starts, aborts or re-bills a run. Typically <1 s. Poll every 10-30 s; a run works on 5 domains at a time, ~2-10 s each. COST: free; needs the APIFY_TOKEN that started the run. Reading charges no Actor event (the run was billed per enriched domain when it ran). RETURNS: run (run_id, status, finished) plus one page of the same rows enrich_domains returns; Errors: APIFY_TOKEN_MISSING, RUN_NOT_FOUND, RUN_NOT_FOR_THIS_ACTOR, APIFY_TOKEN_INVALID, APIFY_RUN_LOOKUP_FAILED / APIFY_DATASET_READ_FAILED (retryable). PARAMETERS: runId is run.run_id from enrich_domains (also in the Apify console URL). status is READY | RUNNING | SUCCEEDED | FAILED | ABORTED | TIMED-OUT; finished=true for the last four, after which total no longer changes. A FAILED or TIMED-OUT run still returns the rows it wrote. offset/limit page the rows in write order; total counts all rows written so far, so keep calling with nextOffset until it is null and finished is true. EXAMPLE: {"runId":"a1B2c3D4e5F6g7H8i"} -> {"run":{"status":"SUCCEEDED","finished":true},"count":1,"total":1,"items":[{"type":"domain","domain":"apify.com",...}]}

Inputs: runId (required), limit, offset. Returns: run, count, items, total, +1 more

normalize_domainsNormalize and dedupe domains (free)A
Read-onlyIdempotent
Inspect

WHAT: Turn URLs, email addresses and messy strings into bare registrable hostnames (lowercase, no scheme/path/www), remove duplicates and list entries that are not valid domains. WHEN TO USE: before enrich_domains, to clean an input list and see exactly which domains would be billed. WHEN NOT TO USE: to get contacts, company names or check that a site is reachable - use enrich_domains. Does no DNS lookup. COST: free; local, no network, no APIFY_TOKEN. RETURNS: domains is exactly the list enrich_domains would bill; billable_count and estimated_max_cost_usd preview that bill; invalid entries would only get free error rows there. PARAMETERS: inputs: each element may hold one value or a newline/comma/semicolon-separated list; pieces are trimmed and empty ones dropped. Each piece is lowercased and reduced to its hostname (scheme, path, query, port and a leading "www." removed; for a bare email the part after @ is used); other subdomains are kept, so "blog.acme.com" and "acme.com" stay separate. A piece is invalid unless the host has a dot and a 2+ letter TLD (punycode xn-- hosts accepted). domains keeps first-seen order and duplicates_removed counts repeats after normalization. This is exactly the normalization enrich_domains applies: billable_count = min(domains.length, 1000 per run) and estimated_max_cost_usd = billable_count x $0.003 + the $0.00005 start fee, the most passing the same inputs to enrich_domains can cost (unreachable domains lower it). An empty array is accepted and returns empty lists. EXAMPLE: {"inputs":["https://www.Stripe.com/pricing","info@stripe.com","not a domain"]} -> {"domains":["stripe.com"],"invalid":["not a domain"],"duplicates_removed":1,"billable_count":1,"estimated_max_cost_usd":0.00305}

Inputs: inputs (required). Returns: domains, invalid, billable_count, duplicates_removed, +1 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.9/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: normalize_domains cleans/previews input for free, enrich_domains performs the paid enrichment, and get_enrichment_results polls async runs. The descriptions explicitly state WHEN NOT TO USE, cross-referencing the other tools, so there is no realistic chance of misselection.

    Naming Consistency5/5

    All three names follow a consistent snake_case verb_noun pattern: normalize_domains, enrich_domains, get_enrichment_results. The convention is predictable and readable throughout.

    Tool Count5/5

    Three tools map exactly onto the natural workflow stages (preview, enrich, retrieve async results), with each tool earning its place and no redundancy. This is well-scoped for a narrow contact-enrichment purpose.

    Completeness4/5

    The surface covers the full lifecycle: free normalization/preview, paid enrichment, and async result retrieval including paging. Minor gaps exist (no run cancellation/abort or free-domain validation separate from enrichment), but agents can work around them.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      Provides domain and brand intelligence for AI agents, including company enrichment, tech stack detection, and brand research from free public sources with an on-demand cache.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables enriching company domains into structured firmographics including employee band, industry, HQ, founded year, revenue estimate, logo, and description, with source provenance and data completeness scoring.
      1
      80 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Domain and company intelligence for AI agents. Enables vetting companies, qualifying leads, and mapping targets from free public data without API keys.
      6
      1
      MIT