Check live service health and documented failure responses before you integrate.
Web Data
Page weight and resource API
Find out what makes a page heavy. Load it in a real browser and get total bytes, requests by type, the largest files, third-party weight, render-blocking resources and load timings, with findings for common problems.
Used by people at these companies
Trust signals before you integrate
Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.
OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.
Authenticated endpoints use API keys with clear credit costs before you call them.
Start with 10,000 monthly credits and upgrade only when usage grows.
What this API helps you ship
Use this page as a production brief: endpoints, examples, response shape, and the workflow pieces needed to plug DomScan into your own product.
Embed domain checks, DNS intelligence, risk signals, or enrichment into onboarding, search, and internal tools.
Replace repeated manual lookups with scheduled jobs, alerting, and reproducible investigation steps.
Use predictable fields, documented status codes, and credit costs instead of scraping provider pages.
Feed agents, dashboards, SOAR playbooks, and CRMs through OpenAPI, SDK, Postman, or MCP.
Integration workflow
A simple path from first request to repeatable production usage.
Send your API key with the documented header and keep requests consistent across services.
Start from the curl and HTTP samples, then map the parameters into your application code.
Use status codes, credit costs, and response fields to build retries, logs, and alerts.
Developer kit
Jump from this page into machine-readable docs, request collections, SDKs, or agent tooling.
Generate clients or inspect every request and response shape.
Postman collectionImport ready-made requests for manual testing and team handoff.
SDKs and CLIUse maintained packages and command-line workflows instead of writing boilerplate.
MCP integrationExpose domain intelligence to AI agents and internal assistant workflows.
Parameters and response map
Scan the inputs, output fields, and status codes before wiring the endpoint into your client.
Parameter
Example response
HTTP status codes
Endpoints
/v1/page-weight
Trust signals before you integrate
Transparent docs, authenticated requests, and visible reliability details make it easier to evaluate DomScan before you ship.
OpenAPI, Swagger, Postman, CLI, SDK, and MCP links are one click away.
Authenticated endpoints use API keys with clear credit costs before you call them.
Start with 10,000 monthly credits and upgrade only when usage grows.
Start from the curl and HTTP samples, then map the parameters into your application code.
Key Features
Requests and bytes for documents, scripts, stylesheets, images, fonts and data requests.
The ten heaviest files with their type and size, so you know what to compress first.
Bytes and requests per third-party domain, and the share of the page they add.
Stylesheets and synchronous scripts that block the first render, plus time to first byte, first contentful paint and load time.
Example request
curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/page-weight?url=example.com"
Example response
{
"status": "ok",
"summary": { "requests": 86, "total_bytes": 3412887, "third_party_bytes": 1210554 },
"by_type": [
{ "type": "image", "requests": 31, "bytes": 1840221 },
{ "type": "script", "requests": 28, "bytes": 1120334 }
],
"timing": { "ttfb_ms": 180, "first_contentful_paint_ms": 1240, "load_ms": 3890 },
"findings": ["page_weight_over_3mb", "images_over_200kb", "render_blocking_resources"]
}
Frequently asked questions
No. It measures what the page downloads in one load. Use it together with lab and field speed data to plan fixes.
Loads stop after 8 MB, 200 requests or 20 seconds. The finding measurement_truncated tells you the page is heavier than measured.
Pages over 3 MB, over 100 requests, images over 200 KB, render-blocking resources and third parties over half of the bytes.
Six credits per page. Blocked or failed pages are refunded.
Related tools and resources
HTTP status codes
These are the HTTP status codes to handle, so you can tell apart successful responses, auth issues, credits, rate limits, missing data, and upstream failures.
Request successful
Invalid parameters
Missing or invalid API key/session.
Not enough credits to run this request.
Rate limit exceeded
Measure page weight

