# Contact Extractor API

> Contact Extractor scrapes public email addresses, phone numbers, and physical addresses from any web page URL. It tallies the findings and returns unique records found on the page.

**Endpoint:** `POST https://api.apiverve.com/v1/contactextractor`  
**Category:** Data Scraping  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/contactextractor

## Overview

Contact Extractor works by extracting contact data from a website URL using web scraping techniques. It returns the contact emails, phone numbers, and places found on the website.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl -X POST "https://api.apiverve.com/v1/contactextractor" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://en.wikipedia.org/wiki/Email_address","limit":-1}'
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | Yes | The URL of the web page to extract contact data from (a full URL or a bare domain such as example.com; https:// is assumed when no scheme is given) |
| `limit` | number | No | Limits the number of found contact details found on the page. Set -1 for unlimited. default 5. Premium field |

## Response fields

- `url` — string · The web page URL that was scraped, echoed back from the request
- `emails` — array · Unique email addresses found on the page, in order of appearance and capped at `limit`; package version strings such as name@1.2.3 are excluded
- `phones` — array · Unique phone numbers found on the page as written, capped at `limit`: US-format numbers first, then international (+country code), national and tel: link numbers
- `places` — array · Unique street addresses and places found on the page, capped at `limit`: structured addresses (schema.org PostalAddress, <address> blocks, US City, ST ZIP lines) first, then place names
- `emailCount` — number · Number of email addresses included in the `emails` array
- `phoneCount` — number · Number of phone numbers included in the `phones` array
- `placeCount` — number · Number of places included in the `places` array
- `uniqueDomains` — array · Unique domains extracted from the returned `emails` (e.g., example.com, company.org) · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "url": "https://en.wikipedia.org/wiki/Email_address",
    "emails": [
      "john.smith@example.com",
      "jsmith@example.com",
      "john.smith@example.org",
      "John..Doe@example.com",
      "johns@example.com",
      "JohnS@example.com",
      "tag@example.com",
      "joeuser@example.com",
      "simple@example.com",
      "very.common@example.com",
      "FirstName.LastName@EasierReading.org",
      "x@example.com",
      "long.email-address-with-hyphens@and.subdomains.example.com",
      "sorting@example.com",
      "user.name@example.com",
      "surname@example.com",
      "example@s.example",
      "username@example.org",
      "example.com@example.org",
      "user@example.com",
      "user-@example.org",
      "CHOCOLATE@example.com",
      "c@example.com",
      "l@example.com",
      "right@example.com",
      "allowed@example.com",
      "onore@example.com",
      "extension@pobox.com"
    ],
    "phones": [],
    "places": [
      "China",
      "Japan",
      "Russia",
      "Rajasthan",
      "India"
    ],
    "emailCount": 27,
    "phoneCount": 0,
    "placeCount": 5,
    "uniqueDomains": [
      "example.com",
      "example.org",
      "s.example",
      "EasierReading.org",
      "pobox.com"
    ]
  }
}
```

## Use cases

- **Sales Prospecting Enrichment** — Sales reps scan company contact pages to extract direct support emails and phone numbers before launching targeted outbound calling campaigns.
- **Local Directory Aggregation** — When curating regional merchant directories, indexing bots scrape storefront websites to verify physical street addresses and telephone lines.
- **Vendor Onboarding Verification** — Before approving newly registered suppliers, procurement portals check listed corporate websites to confirm published business locations and operational telephone numbers.
- **Talent Sourcing Workflows** — To build candidate pipelines, recruiting platforms scrape agency team pages to discover public email addresses for key department heads.

## SDKs

- **npm** — `npm install @apiverve/contactextractor` (https://www.npmjs.com/package/@apiverve/contactextractor)
- **PyPI** — `pip install apiverve-contactextractor` (https://pypi.org/project/apiverve-contactextractor/)
- **NuGet** — `dotnet add package APIVerve.API.ContactExtractor` (https://www.nuget.org/packages/APIVerve.API.ContactExtractor)
- **Source** — https://github.com/apiverve/contactextractor-api

## More

- Full reference: https://docs.apiverve.com/ref/contactextractor
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
