Website · Guide

How to get Website contacts

TL;DR
To get Website contacts, sign up for a free Captapi key, then send one GET request to /v1/website/contacts with your input. You get clean JSON back in seconds for 1 credit per call — no OAuth, scraping or platform SDKs. Business website → role emails, E.164 phones, social profiles. 1 credit when something is found, 0 when not.

How to get Website contacts (step by step)

  1. 1

    Get a free API key

    Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.

  2. 2

    Call the Website Contacts API

    Send an authenticated GET request to /v1/website/contacts with your input. No OAuth, no scraping setup.

  3. 3

    Read the JSON response

    Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.

Code example

curl "https://api.captapi.com/v1/website/contacts?url=https%3A%2F%2Fatxfamilydental.com" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

What the response looks like

{
  "success": true,
  "data": {
    "url": "https://atxfamilydental.com/",
    "domain": "atxfamilydental.com",
    "emails": [
      "info@atxfamilydental.com"
    ],
    "phones": [
      "+15125550100"
    ],
    "socials": {
      "facebook": "https://www.facebook.com/atxfamilydental",
      "instagram": null,
      "linkedin": null,
      "tiktok": null,
      "x": null,
      "youtube": null
    },
    "contactPageUrl": "https://atxfamilydental.com/contact",
    "pagesScanned": 2,
    "blockedByRobots": false
  }
}

Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.

Request parameters

NameTypeRequiredDescription
urlstring YesBusiness website or bare domain, for example https://atxfamilydental.com or atxfamilydental.com (https:// is added). Social profile URLs are not accepted here.
cachebooleanNoSet true to use the 24h cache (0 credits on hit). Default false.

Frequently asked questions

What does the Website Contacts API do?

The Website Contacts API lets you fetch full metadata and key stats from a public Website contacts using one GET request to /v1/website/contacts. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Website Contacts API cost?

A call that finds at least one email, phone or social profile costs 1 credit. An empty result costs 0, a robots.txt block (blockedByRobots: true) costs 0, and failures cost 0. cache=true hits are free; the default is cache=false (24h TTL when cache is on).

Do I need a Website API key or OAuth?

No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle access, rate limits, retries, and authentication for you.

Which email addresses are returned?

Role addresses such as info@, contact@, hello@, office@, sales@, support@, booking@ and appointments@. Addresses that carry a person's name (jane.doe@) are not returned. A webmail address (for example a gmail.com address) is returned only when the site shows it as its contact in a mailto: link or its structured data. Image file names (logo@2x.png) and sample addresses are filtered out.

Which pages are read?

Up to 3 pages of the same site: the home page, then contact or about pages linked from it (or /contact, /contact-us and /about when the home page links none). Pages are read as HTML without running JavaScript, so details that a script draws after load are not seen. Pages marked noindex or nofollow are skipped.

Does it respect robots.txt?

Yes. robots.txt is read first and followed for the CaptapiBot user agent and for *. When it disallows the site, the response is empty with blockedByRobots: true and costs 0 credits.

What format are phone numbers in?

E.164, for example +15125550100. The country comes from a + prefix on the page or from the site's country domain; a .com site is read as North American numbering. A number that cannot be normalized is left out rather than guessed.

Is the Website Contacts API suitable for production use?

Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.

Ready to get Website contacts?

Start free with 100 credits — no credit card required.

Get your free API key