Last updated

Contact Details API for Emails and Phone Numbers by Domain

Send a domain and get back the emails, phone numbers and fax numbers that website publishes for itself, each with the page it appeared on and the dates it was first and last seen. Contacts that belong to someone else, like businesses in a directory listing, blog commenters or people on public-records sites, are filtered out before the response is built.

500 free credits on signup. No credit card.

See the contacts behind a domain
{
  "domain_name": "cloudflare.com",
  "page": 1,
  "total_pages": 1,
  "total_emails": 37,
  "total_phones": 4,
  "total_faxes": 0,
  "contacts": [
    {
      "type": "email",
      "value": "legal@cloudflare.com",
      "source_page": "https://www.cloudflare.com/fr-fr/enterpriseterms/",
      "first_seen": "2022-01-16",
      "last_seen": "2026-06-18"
    },
    {
      "type": "phone",
      "value": "+18554770748",
      "source_page": "https://www.cloudflare.com/en-gb/plans/enterprise/contact/",
      "first_seen": "2023-11-30",
      "last_seen": "2023-11-30"
    },
    {
      "type": "email",
      "value": "support@cloudflare.com",
      "source_page": "https://www.cloudflare.com/apps/list/get-more-customers",
      "first_seen": "2022-01-18",
      "last_seen": "2025-05-16"
    },
    {
      "type": "phone",
      "value": "+498926207202",
      "source_page": "https://www.cloudflare.com/pt-br/impressum-germany/",
      "first_seen": "2022-01-20",
      "last_seen": "2025-05-16"
    }
  ]
}
  • 41.7M+
    Websites With Contacts
  • 126.8M+
    Emails
  • 201M+
    Phone Numbers
  • 19.7M+
    Fax Numbers
  • 41.7M+
    Websites With Contacts
  • 126.8M+
    Emails
  • 201M+
    Phone Numbers
  • 19.7M+
    Fax Numbers

Release times, sizes and history for every dataset

Features

How the Contact Details API finds a website's own contacts

WhoisFreaks crawls web pages, extracts every email address, phone number and fax number on them, and keeps only the ones that belong to the site that published them. Each value is normalized, validated and stored under the exact hostname it came from, so a lookup returns that site's contacts and none of the third-party addresses a page scraper would pick up.

Owner contacts only

Owner contacts only

An email on the site's own domain is always kept. Addresses on other companies' domains are dropped. A free-mail address, such as Gmail, is kept only when it appears in a short contact block, not in a long list of other people's details.

Phone and fax numbers in E.164

Phone and fax numbers in E.164

Every number comes back in international E.164 format: a plus sign, the country code and the number, with no spaces or dashes. Local numbers take their country code from the website, and invalid, placeholder and fictional numbers are removed.

A source page for every value

A source page for every value

Each contact includes the URL of the page it was found on, so you can open it and see the address or number in context before you use it.

First seen and last seen dates

First seen and last seen dates

Every contact carries the date it first appeared in the crawl and the date it was last seen, so you can tell an address the site shows today from one that came down years ago.

Subdomains as separate records

Subdomains as separate records

shop.acme.com and acme.com are looked up separately, because a store, blog or regional site often lists different contacts. A leading www. is treated as the main site, and full URLs and internationalized domain names are accepted. Need the list of subdomains first? Pull it with the Subdomains Lookup API.

People-search sites and spam traps excluded

People-search sites and spam traps excluded

Sites that list private individuals, like people-search, reverse-phone, inmate and court-records sites, are excluded entirely. So are spam-trap pages that generate fake addresses and comment sections where visitors leave their own details.

Filter by contact type

Filter by contact type

Add type=email, type=phone or type=fax to get only that kind of contact. Leave it out and all three come back together, with a separate count for emails, phones and faxes.

Up to 100 contacts per page

Up to 100 contacts per page

Each request costs 2 credits and returns up to 100 contacts, with a total_pages field and a page parameter for the rest. If a domain has no contacts, you get a 404 and no credits are charged.

Quickstart

Make Your First Contact Details API Request

  1. Get Your API Key

    Sign up for 500 free credits, then copy your key from the billing dashboard.

  2. Send a Domain

    One GET request with domainName. Add type=email, type=phone or type=fax to get a single contact type.

  3. Read the Contacts

    Each contact comes back with its type, value, the page it was found on, and first and last seen dates.

curl -G "https://api.whoisfreaks.com/v1.0/contact-details" \
  --data-urlencode "apiKey=YOUR_API_KEY" \
  --data-urlencode "domainName=cloudflare.com" \
  --data-urlencode "type=email"
import requests

resp = requests.get(
    "https://api.whoisfreaks.com/v1.0/contact-details",
    params={
        "apiKey": "YOUR_API_KEY",
        "domainName": "cloudflare.com",
        "type": "email",  # optional: email, phone or fax
    },
    timeout=30,
)
data = resp.json()
for c in data["contacts"]:
    print(c["type"], c["value"], c["source_page"])
const url = new URL("https://api.whoisfreaks.com/v1.0/contact-details");
url.searchParams.set("apiKey", "YOUR_API_KEY");
url.searchParams.set("domainName", "cloudflare.com");
url.searchParams.set("type", "email");  // optional

const res = await fetch(url);
const data = await res.json();
for (const c of data.contacts) {
  console.log(c.type, c.value, c.source_page);
}
package main

import (
    "encoding/json"
    "fmt"
    "net/http"
    "net/url"
)

func main() {
    q := url.Values{}
    q.Set("apiKey", "YOUR_API_KEY")
    q.Set("domainName", "cloudflare.com")
    q.Set("type", "email") // optional
    resp, err := http.Get("https://api.whoisfreaks.com/v1.0/contact-details?" + q.Encode())
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    var data struct {
        Contacts []map[string]string `json:"contacts"`
    }
    json.NewDecoder(resp.Body).Decode(&data)
    for _, c := range data.Contacts {
        fmt.Println(c["type"], c["value"], c["source_page"])
    }
}
response 200 OK · 2 credits
{
  "domain_name": "cloudflare.com",
  "total_emails": 37, "total_phones": 4,
  "contacts": [{
    "type": "email", "value": "legal@cloudflare.com",
    "source_page": "https://www.cloudflare.com/fr-fr/enterpriseterms/",
    "first_seen": "2022-01-16", "last_seen": "2026-06-18"
  }, … 3 more contacts ]
}

Filtering

Fewer, Cleaner Contacts Than a Scraper Returns

An email extractor or contact scraper returns every address and number on a page, including the ones that belong to someone else. The Contact Details API applies these rules before anything reaches your response:

Hover over a rule to see which values on the example page it removes.

  1. Other companies' emails are dropped.

    An address on a different company's domain is that company's contact, not this site's.

    Caught on this page: info@partnerco.com

  2. Long lists are not contact blocks.

    Free-mail addresses, phone numbers and fax numbers found only on pages that list more than 10 contacts, such as directories, listings and member pages, are left out.

    Caught on this page: jane.miller@gmail.com

  3. Shared values are hidden.

    A free-mail address that appears on more than 5 websites, or a number that appears on more than 20, belongs to an agency, a platform or a template, not to this site.

    Caught on this page: webagency.design@gmail.com

  4. Private-person sites are excluded.

    People-search, reverse-phone, inmate and public-records sites are not included at all.

    Not triggered on this page: example.com is a company site.

  5. Fake and broken values are removed.

    Spam-trap addresses, invalid numbers, placeholder numbers like 555-01xx, and comment-section entries never reach the response.

    Caught on this page: mike84@hotmail.com, +11234567890

Found on example.com/contact7 found · 2 kept
  • sales@example.comKept · own domain
  • support@example.comKept · own domain
  • info@partnerco.comDropped · other company's domain
  • webagency.design@gmail.comHidden · found on 37 sites
  • jane.miller@gmail.comDropped · page lists 24 contacts
  • mike84@hotmail.comDropped · comment section
  • +11234567890Removed · placeholder number

The response holds the 2 contacts that belong to example.com.

Each kept contact comes back with the page it was found on and the dates it was first and last seen.

Comparison

Contact Details API vs. Email Extractors and Email Finders

Three kinds of tools answer the question "how do I contact this company?" They take different inputs and return different things.

Capability
Contact Details API
Email extractor or contact scraper
Name-based email finder
What you send
A domain
A page URL or a list of pages
A person's name and company domain
What you get back
The site's own emails, phone numbers and fax numbers
Every email, and sometimes phone number, on the pages scanned
A work email address for that one person
Third-party contacts on the page
Filtered out
Included
Not applicable
Source page and dates
Source page, first seen and last seen for every value
Only for the pages you scanned, at the moment you scan them
Depends on the vendor
Best for
Reaching or verifying the company behind a website
One-off extraction from pages you choose
Reaching a specific person at a company

If you need a named person's work email, use an email finder. If you need the contact details a company publishes for itself, with the page each one came from, use the Contact Details API.

Use Cases

Contact Details in Action

See how sales, risk, security and data teams use a website's own contact details to reach the right company and confirm who they are dealing with.

Lead Enrichment

Lead Enrichment

Start from a company domain and add its published email, phone number and the page each came from to the CRM record, without anyone opening the website.

Business Verification (KYB)

Business Verification (KYB)

Check whether the phone number and email an applicant gives you match the ones on their own website. A mismatch is a reason to look closer before you approve the account.

Abuse and Takedown Requests

Abuse and Takedown Requests

When the WHOIS record is privacy-protected or redacted, find the address the site itself publishes so you can report phishing, infringement or abuse to the right people.

Domain Acquisition Outreach

Domain Acquisition Outreach

Reach the owner of a domain you want to buy through the contacts their website lists, and use last_seen to skip addresses that have gone stale.

CRM Data Hygiene

CRM Data Hygiene

Compare the contacts in your CRM with what each website shows today. Values with an old last_seen date are the first ones to review and replace.

Partner and Vendor Research

Partner and Vendor Research

Pull contact details for a list of supplier or partner domains, one request per domain, instead of opening every site by hand.

Request demo background

Add the Contact Details API to your stack and turn any website domain into its own emails, phone numbers and fax numbers, ready for your CRM, verification flow or outreach.

Integrations

Add Contact Lookups to Any Workflow

The Contact Details API is a single REST endpoint that returns JSON, so it works with any language or tool that can send an HTTP GET request. Pass a domain and your API key, then read the contacts list.

It uses the same API key and request pattern as the WhoisFreaks WHOIS, DNS and Domain Reputation APIs. If you already call those, adding contact lookups is one new request.

In Zapier, Make or n8n, call it from an HTTP request step, for example to attach the contacts a website publishes to every new lead that arrives with a company domain.

Integration Workflow

Pair a website's contacts with the registration, ownership and risk data for the same domain.

WHOIS API

WHOIS API

Get the registrar, registration dates and registrant details on record for a domain, next to the contacts its website publishes.

WHOIS API
Reverse WHOIS API

Reverse WHOIS API

Take an email or company name you found and list every domain registered with it.

Reverse WHOIS API
Domain Reputation API

Domain Reputation API

Check a domain's risk verdict and trust score before you reach out to it or onboard it.

Domain Reputation API

Teams Running WhoisFreaks Data in Production

AutomatticConductorDeloitteElement SecurityiBossSoftnextKOIBMWNikkeiLRQAPraetorianeBrandLuxury PresenceChainalysisBlackstoneOne
BinanceCiscoHostingerHubSpotKasperskyOpenAIInfigoNTT docomo BusinessTV TokyoSinchwatchTowrTrustmiFlexOffersSkool

FAQs

FAQs about the Contact Details API: emails, phone numbers and data sources

What is a contact details API?

A contact details API takes a website domain and returns the contact information that website publishes. The WhoisFreaks Contact Details API returns the site's own email addresses, phone numbers and fax numbers, each with the page it was found on and the dates it was first and last seen.

How do I find email addresses by domain?

Send the domain to the Contact Details API with type=email. It returns the email addresses that website publishes for itself, each with the page it was found on and the dates it was first and last seen. Addresses on other companies' domains are excluded.

How do I find a company's phone number from its website?

Send the company's domain with type=phone. The API returns the phone numbers published on that website in E.164 format, with the page each number appeared on. Use type=fax for fax numbers.

Where does the contact data come from?

From web pages crawled by WhoisFreaks. Every email address, phone number and fax number found on a page is checked, and only the ones that belong to the site that published them are kept.

Does the API guess or generate email addresses?

No. Every value in the response was found on a page of the website, and the response shows that page. The API does not build addresses from name patterns.

How is this different from an email extractor or email finder?

An email extractor returns every address on the pages you give it, including addresses that belong to other people and companies. A name-based email finder looks for one person's work email. The Contact Details API takes a domain and returns only the contacts that website publishes for itself, with the source page and dates for each.

Does the API return personal contact details?

It returns what a website publishes as its own contact information. People-search, reverse-phone and public-records sites are excluded, and comment sections are skipped, so contacts of private individuals listed on other sites are not collected.

What format are phone and fax numbers in?

E.164, the international format: a plus sign, the country code and the number, with no spaces or dashes. Local numbers take their country from the website, and numbers that are not valid for that country are removed.

Are subdomains looked up separately?

Yes. shop.acme.com and acme.com are separate records. A leading www. is removed, so www.acme.com and acme.com return the same result. You can also pass a full URL or an internationalized domain name.

Can I get only emails or only phone numbers?

Yes. Add type=email, type=phone or type=fax. Without it, all three types are returned together, with a count for each.

How many contacts does one request return?

Up to 100 per page. Use the page parameter to get the next page. The total_pages field tells you how many pages there are.

How fresh is the data?

Each contact has first_seen and last_seen dates from the crawl, so you can see when it was last found on the site and decide whether it is still current. The crawler runs continuously, and new results are added to the dataset six times a day.

How many credits does a lookup cost?

2 credits per request. If no contacts are found for the domain, the API returns a 404 'Record Not Found' response and no credits are charged. See credit usage.

Can I look up a list of domains?

Each request takes one domain. To process a list, send one request per domain from your script, or loop over the list in an n8n, Make or Zapier workflow.

Start Finding Contacts by Domain

500 free credits on signup, no credit card. One request returns a website's own emails, phone numbers and fax numbers, with the source page and dates for each.

Need the registration record behind the domain too? Pair it with the WHOIS API.