---
title: "Contact Details API: Emails & Phone Numbers by Domain"
slug: "/products/contact-details-api"
description: "Send a domain, get the emails, phone and fax numbers that website publishes for itself, with the source page and first and last seen dates for each."
---

New

[How to Tell if a Website Is Legit or a ScamRead Now](https://whoisfreaks.com/resources/blog/how-to-tell-if-a-website-is-legit)

[Domain Reputation API](https://whoisfreaks.com/products/domain-reputation-api)[Contact Sales](https://whoisfreaks.com/calendar)

![](https://whoisfreaks.com/images/hero/api-hero-wave-left.svg)![](https://whoisfreaks.com/images/hero/api-hero-wave-right.svg)

Last updated Dec 4, 2026

# 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.

[Contact sales](https://whoisfreaks.com/contact)[Get API Key](https://billing.whoisfreaks.com/)

- 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
- 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
- 41.7M+: Websites With Contacts
- 126.8M+: Emails
- 201M+: Phone Numbers
- 19.7M+: Fax Numbers

[Release times, sizes and history for every dataset](https://whoisfreaks.com/data-stats)

## 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.

[Request a Quote](https://whoisfreaks.com/calendar)[Talk to sales](https://whoisfreaks.com/contact)

### 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

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

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

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

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](https://whoisfreaks.com/products/subdomains-api).

### 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

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

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.

## 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.
    

```bash
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"
```

```python
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"])
```

```javascript
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);
}
```

```go
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

```json
{
  "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 ]
}
```

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

1.  RULE 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.  RULE 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.  RULE 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.  RULE 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.  RULE 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
*   1info@partnerco.comDropped · other company's domain
*   3webagency.design@gmail.comHidden · found on 37 sites
*   2jane.miller@gmail.comDropped · page lists 24 contacts
*   5mike84@hotmail.comDropped · comment section
*   5+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.

## 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.

[See Pricing](https://whoisfreaks.com/pricing/api-plans)[Talk to sales](https://whoisfreaks.com/contact)

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.

## 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

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)

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

When the [WHOIS record](https://whoisfreaks.com/products/whois-api) 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

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

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

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

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.

[Request Demo](https://whoisfreaks.com/calendar)

## Related Domain Data Products

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

### WHOIS API

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

[WHOIS API](https://whoisfreaks.com/products/whois-api)

### Reverse WHOIS API

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

[Reverse WHOIS API](https://whoisfreaks.com/products/reverse-whois-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](https://whoisfreaks.com/products/domain-reputation-api)

## FAQs

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

<details>
<summary><strong>What is a contact details API?</strong></summary>

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.
</details>

<details>
<summary><strong>How do I find email addresses by domain?</strong></summary>

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.
</details>

<details>
<summary><strong>How do I find a company's phone number from its website?</strong></summary>

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.
</details>

<details>
<summary><strong>Where does the contact data come from?</strong></summary>

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.
</details>

<details>
<summary><strong>Does the API guess or generate email addresses?</strong></summary>

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.
</details>

<details>
<summary><strong>How is this different from an email extractor or email finder?</strong></summary>

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.
</details>

<details>
<summary><strong>Does the API return personal contact details?</strong></summary>

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.
</details>

<details>
<summary><strong>What format are phone and fax numbers in?</strong></summary>

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.
</details>

<details>
<summary><strong>Are subdomains looked up separately?</strong></summary>

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.
</details>

<details>
<summary><strong>Can I get only emails or only phone numbers?</strong></summary>

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

<details>
<summary><strong>How many contacts does one request return?</strong></summary>

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.
</details>

<details>
<summary><strong>How fresh is the data?</strong></summary>

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.
</details>

<details>
<summary><strong>How many credits does a lookup cost?</strong></summary>

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](https://whoisfreaks.com/documentation/credit-usage#contact-details-api).
</details>

<details>
<summary><strong>Can I look up a list of domains?</strong></summary>

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](https://whoisfreaks.com/integrations/third-party/n8n), [Make](https://whoisfreaks.com/integrations/third-party/make) or Zapier workflow.
</details>

## 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.

[Get your free API key](https://billing.whoisfreaks.com/signup)[Read the Contact Details API docs](https://whoisfreaks.com/documentation/contact-details-api)

Need the registration record behind the domain too? Pair it with the [WHOIS API](https://whoisfreaks.com/products/whois-api).
