Website Contacts Scraper
Reads a domain's public pages and returns the email addresses, phone numbers and social profile links they publish.
POST https://YOUR_API_HOST/v1/website-contacts-scraper
Credits and caching
- Success billing. 10 credits per domain with contacts found. You are charged only when the lookup finds something; a not-found result is free.
- Results are cached per account for 7 days. Repeating the same lookup in that window is free and returns
cache_hit: true. - Invalid input, rate limits and errors are never charged.
- Read the billing rules for the full picture.
Request
Send a JSON body with Authorization: Bearer <key>. The body can be up to 64 KB.
| Field | Type | Required | Notes |
|---|---|---|---|
url | string | no | Up to 2048 characters. |
domain | string | no | Up to 253 characters. |
max_pages | integer | no | Default 5. Minimum 1. Maximum 10. |
country | string | no | Pattern ^[A-Za-z]{2}$. |
Example request
curl -X POST https://YOUR_API_HOST/v1/website-contacts-scraper \
-H "Authorization: Bearer $LOOKVALID_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"python.org","max_pages":5}'
const response = await fetch("https://YOUR_API_HOST/v1/website-contacts-scraper", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.LOOKVALID_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"domain": "python.org",
"max_pages": 5
}),
});
const result = await response.json();
if (!response.ok) throw new Error(`${result.error.code}: ${result.error.fix}`);
console.log(result.found, result.data, result.credits_charged);
import os
import requests
response = requests.post(
"https://YOUR_API_HOST/v1/website-contacts-scraper",
headers={"Authorization": f"Bearer {os.environ['LOOKVALID_API_KEY']}"},
json={
"domain": "python.org",
"max_pages": 5,
},
timeout=30,
)
result = response.json()
if not response.ok:
raise RuntimeError(f"{result['error']['code']}: {result['error']['fix']}")
print(result["found"], result["data"], result["credits_charged"])
Response
The status is 200 whether or not anything was found. Check found. Every response also carries the X-Request-Id, X-Credits-Charged, X-Credits-Remaining and X-RateLimit-* headers.
Envelope
| Field | Type | Notes |
|---|---|---|
request_id | string | - |
product | "website-contacts-scraper" | - |
found | boolean | False means the lookup ran and found nothing; it is free. |
reason | string or null | Why nothing was found; null when found. |
sources | array of string | Where the data came from, including any attribution the licence requires. |
credits_charged | integer | 0 for a cache hit, a not-found result or an error. |
credits_remaining | integer | - |
cache_hit | boolean | True when the account already paid for this lookup within the cache window. |
cache | object | - |
The data object
Present when found is true, otherwise null.
| Field | Type | Notes |
|---|---|---|
emails | array of object | - |
emails[].email | string | - |
emails[].source_url | string | - |
phones | array of object | - |
phones[].e164 | string | - |
phones[].international | string | - |
phones[].country | string or null | - |
phones[].source_url | string | - |
social_profiles | array of object | - |
social_profiles[].platform | string | One of instagram, tiktok, youtube, x, facebook, linkedin, threads, reddit, pinterest, bluesky, twitch, snapchat, truthsocial. |
social_profiles[].handle | string | - |
social_profiles[].url | string | - |
pages_scanned | array of string | - |
scanned_at | string | - |
Captured example (2026-10-18)
A real run of this lookup on 2026-10-18, using the request above, which is a public input. The envelope fields are left out.
{
"product": "website-contacts-scraper",
"found": true,
"data": {
"emails": [],
"phones": [],
"social_profiles": [
{
"platform": "linkedin",
"handle": "company/python-software-foundation",
"url": "https://www.linkedin.com/company/python-software-foundation"
},
{
"platform": "x",
"handle": "ThePSF",
"url": "https://x.com/ThePSF"
}
],
"pages_scanned": [
"https://www.python.org/",
"https://www.python.org/about/",
"https://www.python.org/about/apps/",
"https://www.python.org/about/quotes/",
"https://www.python.org/about/gettingstarted/"
],
"scanned_at": "2026-10-18T02:06:05.039Z"
},
"sources": [
"https://www.python.org"
]
}
Errors
400invalid_input: The request input is invalid.401unauthorized: The API key is missing, malformed, revoked or unknown.402insufficient_credits: The account does not have enough credits for this lookup. Error code: insufficient_credits. During a trial whose allowance is used up the code is trial_allowance_exhausted: nothing is charged and the customer starts the plan from the billing page.405method_not_allowed: This endpoint does not accept that HTTP method.413payload_too_large: The request body is too large.429rate_limited: Too many requests for this API key.500internal_error: An unexpected error occurred.503provider_unavailable: The data source for this product is unavailable right now.