POST /v1/enrich
B2B website enrichment. Given a domain, SuperScraper reads the homepage plus /about, /about-us, /team, /our-team, /contact and /contact-us (seven pages at most) and extracts:
- Email addresses and phone numbers
- Social media profiles (LinkedIn, Twitter/X, Facebook, Instagram, YouTube)
- Technology stack detected from page source
- Team members (from JSON-LD Person schema and
<h3>heading patterns) - Homepage metadata (title, description, hero image)
POST /v1/enrich/website is an alias of the same endpoint and accepts the same body.
All fields are optional. The API returns what it finds and reports a _completeness score (0–1): the share of expected fields that were populated.
Request
POST /v1/enrich
Content-Type: application/json
x-api-key: YOUR_KEYBody
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
domain | string | Yes | Domain or full URL to enrich (e.g. "northside-roasters.example" or "https://northside-roasters.example") | |
maxPages | number | No | 10 | Max pages to read, homepage included. Only the homepage and the six paths above are read, so values above 7 read seven pages. Hard cap: 20. |
includeEmails | boolean | No | true | Extract email addresses |
includeTech | boolean | No | true | Detect technology stack |
includeTeam | boolean | No | true | Extract team members |
includeBrand | boolean | No | false | Also return the brand kit (logo, colors, fonts, favicon) from the homepage. See Brand. |
Example request
curl -X POST https://api.superscraper.dev/v1/enrich \
-H "x-api-key: ss_live_xxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"domain": "northside-roasters.example",
"maxPages": 10,
"includeEmails": true,
"includeTech": true,
"includeTeam": true
}'Response
| Field | Type | Description |
|---|---|---|
domain | string | Normalized domain (without protocol) |
emails | string[] | Deduplicated email addresses found across all crawled pages |
phones | string[] | Phone numbers in original format |
social.linkedin | string | LinkedIn company page URL |
social.twitter | string | Twitter/X profile URL |
social.facebook | string | Facebook page URL |
social.instagram | string | Instagram profile URL |
social.youtube | string | YouTube channel URL |
tech_stack | object[] | Detected technologies (see below) |
team | object[] | Team members found (see below) |
pages_crawled | number | Number of pages fetched |
homepage.title | string | Page <title> or og:title |
homepage.description | string | Meta description or og:description |
homepage.hero_image | string | og:image URL or hero image URL |
brand | object | undefined | Present only with includeBrand: true: { logo?, colors[], fonts[], faviconUrl? } |
brand_meta | object | undefined | Present with brand: { partial, reasons[] }, which caps cut the brand analysis short (see Brand) |
tech_meta | object | undefined | How complete the tech scan was (see below). Absent with includeTech: false |
_completeness | number | 0–1 score based on how many of 8 signal types were found |
_latency_ms | number | Total enrichment time in milliseconds |
tech_stack item
| Field | Type | Description |
|---|---|---|
name | string | Technology name (e.g. "WordPress") |
category | string | Category (e.g. "CMS", "Analytics", "Payment") |
confidence | number | Detection confidence (0–1) |
version | string | undefined |
tech_stack lists every technology detected across the crawled pages, highest confidence first, then by category and name. Detection reads the HTML, response headers, cookie names, script URLs, meta tags and variables set by inline scripts. Scripts a page loads only after it runs in a browser are not seen. On a page larger than 512 KB, HTML patterns are checked against the first 384 KB and the last 128 KB, and script tags are read from the first 4 MB. A technology inferred from another one (for example PHP from WordPress) carries a lower confidence than one seen directly.
tech_meta
Every cap or time limit that cut the tech scan short is listed, so you can tell a site that runs few technologies from a scan that stopped early.
| Field | Type | Description |
|---|---|---|
partial | boolean | true when any reason is listed: tech_stack may be missing technologies |
reasons | string[] | Which caps applied, across all crawled pages (below). Empty when every page was read in full |
scanned_bytes | number | HTML bytes the HTML patterns read, summed over pages |
duration_ms | number | Time spent on detection, summed over pages |
| Reason | Meaning |
|---|---|
time_budget | The per-page time limit (150 ms) ran out before every pattern was tried |
html_cap | The page is larger than 512 KB; HTML patterns saw the first 384 KB and the last 128 KB |
tag_scan_cap | The page is larger than 4 MB; script and meta tags past that were not read |
value_cap | A header, meta tag, script URL, cookie or URL was longer than 2,000 characters and was cut |
item_cap | More than 500 script URLs, meta tags, cookies, variables or headers, or more than 2,000 tags of one kind; the rest were not read |
inline_script_cap | Inline script text past 64 KB per block or 512 KB per page was not read |
worker_terminated | A pattern ran into the hard time limit and the scan was stopped |
queue_timeout | No scanner was free before the time limit |
worker_error | The scanner failed; what it found before that is returned |
request_budget | The time budget for the whole request (400 ms) was spent, so later pages were not scanned |
tenant_cooldown | Scans for your account kept running into the hard time limit, so detection is skipped for a cool-down (by default 10 minutes, after 5 such scans in 10 minutes, counted per API server) |
team member item
| Field | Type | Description |
|---|---|---|
name | string | Person's full name |
role | string | undefined | Job title or role |
email | string | undefined | Email address (from JSON-LD only) |
Example response
{
"domain": "northside-roasters.example",
"emails": [
"hello@northside-roasters.example",
"wholesale@northside-roasters.example"
],
"phones": [
"(503) 555-0142",
"(503) 555-0167"
],
"social": {
"linkedin": "https://linkedin.com/company/northside-roasters",
"facebook": "https://facebook.com/northsideroasters",
"instagram": "https://instagram.com/northsideroasters"
},
"tech_stack": [
{ "name": "WordPress", "category": "CMS", "confidence": 0.85 },
{ "name": "Google Analytics", "category": "Analytics", "confidence": 0.85 },
{ "name": "Stripe", "category": "Payment", "confidence": 0.85 }
],
"team": [
{ "name": "Marcus Rivera", "role": "Owner & Head Roaster" },
{ "name": "Denise Tran", "role": "Wholesale Manager" }
],
"pages_crawled": 7,
"homepage": {
"title": "Northside Coffee Roasters | Small-Batch Coffee in Portland",
"description": "Small-batch coffee roasted in Portland, OR. Shop beans online or visit our cafes. Call (503) 555-0142.",
"hero_image": "https://northside-roasters.example/wp-content/uploads/hero-roastery.jpg"
},
"_completeness": 0.875,
"_latency_ms": 3420
}Tech lookup
POST /v1/enrich/tech answers one question about one URL, without the rest of enrichment: what does this site run, or does it run a given technology. Three tiers:
checkruns only the technologies you name.profile(default) runs every fingerprint against the HTML and headers the server sends, the same scan as/v1/enrich.- Every tier also reads the domain's public DNS records, which name tools no page shows: the mail provider (MX), the services allowed to send mail as the domain (SPF includes), the SaaS tools the company verified the domain with (TXT records such as Atlassian, DocuSign or Canva verifications) and who receives its DMARC reports. Three small lookups, at most 1.5 seconds, run while the page loads.
deeploads the page in a real browser. Besides the HTML and headers it matches what the page does after it runs: the network requests it makes, the scripts it loads and the globals and cookies it leaves. That finds tags a tag manager injects (the Meta, LinkedIn and TikTok pixels, GA4), form, chat and consent widgets, and A/B testing tools that a static scan cannot see. It then visits more pages of the same site, up topagesin all (4 by default): the pricing page first, then contact, demo and signup pages, then other links from the homepage. On those pages, unlike the homepage, a technology counts only when the page loads or runs it (a script, request, cookie or header): a partners or integrations page that merely names or links a vendor adds nothing. Withsubdomains: trueit also scans the site's main subdomains. A deep scan has a total time budget (15 seconds for 4 pages) and loads at most 300 requests per page. It runs no JavaScript of yours.
| Field | Type | Description |
|---|---|---|
domain | string | Domain or URL (url is an alias) |
tech | "check" | "profile" | "deep" | The tier (see above). Default profile |
technologies | string[] | Required with check: up to 10 technology names, case-insensitive. Unknown names are rejected with a 400 that lists them. Optional with deep, where the answer covers only these names |
maxAge | number | Return a result of the same lookup that is at most this many milliseconds old, without fetching the page. Default 0: always scan fresh. Clamped to 30 days |
pages | number | deep only. Pages to render in all, from 1 to 20, the homepage and subdomain pages included. Default 4 |
subdomains | boolean | deep only. Also scan up to 5 of the site's subdomains, 1 or 2 pages each, inside pages. Default false |
async | boolean | deep only. Run the scan as a job and get a job id back at once (see below). Default false |
curl -X POST https://api.superscraper.dev/v1/enrich/tech \
-H "x-api-key: ss_live_xxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{ "domain": "docs.superscraper.dev", "tech": "check", "technologies": ["Next.js", "WordPress"], "maxAge": 86400000 }'{
"domain": "docs.superscraper.dev",
"url": "https://docs.superscraper.dev",
"tier": "check",
"tech_stack": [
{ "name": "Next.js", "category": "JavaScript Framework", "confidence": 0.6 },
{ "name": "React", "category": "JavaScript Framework", "confidence": 0.336 }
],
"checked": { "Next.js": true, "WordPress": false },
"tech_meta": { "partial": false, "reasons": [], "scanned_bytes": 111439, "duration_ms": 28 },
"cached": false,
"_freshness": "2026-10-19T04:20:32.005Z"
}A deep scan also returns pages (each page rendered, homepage first, with ok) and tech_meta.sources, the evidence it read: html, runtime (globals and cookies), network (requests) and dns (DNS records). A check or profile answer carries tech_meta.sources when DNS records were read. tech_meta.reasons can include dns_unavailable (the DNS records could not be read in time, so technologies seen only there may be missing; never cached), and for a deep scan deep_budget (the time budget ran out before every page was done), request_cap (a page made more than 300 requests), dom_budget (a page was too large to test every page-structure fingerprint in time) and render_failed (the page did not render, so only the plain fetch was matched).
checked (with check, or deep with technologies) names every technology you asked about and whether it was found. A technology another one implies (PHP from WordPress) is reported only when a technology you named implies it. cached: true means the result came from an earlier lookup within maxAge; _cached_age_ms says how old it is. Results cut short by load (time_budget, worker_terminated and the like in tech_meta.reasons) are never cached.
Subdomains. With subdomains: true a deep scan looks for the site's subdomains in the links on the pages it scanned and among common names (www, blog, docs, app, shop, store, help, support, community), and keeps only those that resolve to a public address. Only direct subdomains of the host you asked for count (blog.example.com for example.com), never another site and never an IP address. example.com and www.example.com count as one site, not a subdomain. A homepage that redirects to another site is scanned, but no subdomains are then. It scans at most 5 subdomains: the homepage of each after your pricing, contact, demo and signup pages, and a second page of each last, all inside pages (so raise pages to make room for them). The answer then also has hosts: for each host, its pages and the technologies found there. tech_stack is still the merged list.
Price per lookup. check and profile cost 1 credit; a result served from cache within maxAge costs 0. deep costs 5 credits for up to 4 pages, plus 1 credit for each further page that renders (subdomain pages included). A page that does not render is not charged. From cache a deep result costs half its live price, rounded down: 2 for up to 4 pages, 5 for 10 pages, 10 for 20. A deep scan whose page did not render but whose plain fetch worked is charged as a profile (1 credit) and says render_failed. A page that cannot be fetched (422) and a lookup skipped for a cool-down are not charged. The same prices are listed by GET /v1/pricing.
If the deep scan is not switched on for the API you are calling, tech: "deep" is refused with a 400 tier_not_available before any work, and is not charged.
Deep scans as jobs
A deep scan's time budget grows with the pages it may visit: 15 seconds covers the homepage and 3 more pages, each further page adds 3.5 seconds, and the limit is 90 seconds. A scan whose budget is over 25 seconds (more than 6 pages) does not fit in one request, so it runs as a job. You can also ask for a job with async: true. The answer is then a 202:
{
"jobId": "4f0c2a7e-2a51-4b8e-9d0f-6b1f3c1e9a10",
"status": "queued",
"tier": "deep",
"domain": "northside-roasters.example",
"url": "https://northside-roasters.example",
"pages_planned": 4,
"budget_ms": 15000,
"max_credits": 5,
"message": "Deep scan queued. Poll GET /v1/jobs/:id for the result."
}Poll GET /v1/jobs/{jobId}. While the scan runs, status is queued or running, and progress (0 to 100) moves as pages finish. When it is completed, result is the same body a synchronous deep scan returns, plus credits (the price of what was scanned) and credits_charged (what your balance was debited: 0 where billing is off, null while the debit is not confirmed). max_credits is held when the job is queued and settled to what was actually scanned when it ends: the deep price for the pages that rendered, or the profile price when only the plain fetch worked. The rest is given back. A scan that could not load the page at all ends as failed with an error (tech_deep_timeout or fetch_failed) and costs nothing. A page that loads but shows no known technology is a normal result with an empty tech_stack, priced like any other. Results are kept for up to an hour.
You can have 2 deep jobs queued or running at a time. Another one is refused with a 429 deep_jobs_busy and a Retry-After header, and is not charged. A cached result (within maxAge) is returned directly, even with async: true.
A synchronous deep scan that runs out of its budget before anything loads answers 504 tech_deep_timeout and is not charged.
Notes
noreply@andno-reply@addresses are filtered from email results- Generic shared-platform domains (e.g.
@wix.com,@sentry.io) are excluded - Phone extraction targets US format numbers (
(555) 555-5555,555-555-5555,+1 555 555 5555) - Team extraction works best when the site uses JSON-LD
Personschema or standard<h3>heading patterns on team pages - Credits: 1 per call, charged only when the call returns data.