Website Insights
Traffic, rankings, SEO, and AI referrals for any website - one call per domain, or up to 1,000 in a single batch submission.
The Website Insights API profiles any website in one call: monthly visit history, engagement, global and country rankings, traffic sources, top keywords, and how much traffic AI assistants send it - clean JSON with a stable flattened schema, no scraping on your side.
Every all-insights profile includes:
- Profile - page title, description, category, and favicon/screenshot URLs.
- Rankings - global rank, top country rank, and category rank.
- Traffic - 12 months of visit history, engagement metrics, and the ten-channel traffic-sources breakdown.
- SEO - top keywords with search volume and CPC.
- AI referrals - total AI-assistant visits and the per-platform share (ChatGPT, Gemini, Claude, …) with monthly history.
Two ways to call it
| Single-URL lookup | Batch analysis | |
|---|---|---|
| Endpoint | GET /website-insights/v2/all-insights | POST /website-insights/v2/insights + polling |
| Items per call | 1 domain | 1 – 1,000 domains |
| Latency | final response in one call (a cold domain needs a live upstream fetch - allow long HTTP timeouts) | 202 in milliseconds, results stream in while you poll |
| Billing | 1 credit per call | 1 credit per unique valid domain, charged once at submission |
| Good fit for | Interactive features, single lookups, one-off checks | Bulk enrichment, monitoring sweeps, feed imports |
There is also a focused companion endpoint,
GET /website-insights/v2/similar-sites, which returns just the similar-site
list. Lookups are not always instant: a cold domain requires a live fetch
against the data source, so plan generous HTTP timeouts on the single-URL
endpoints. The batch API exists precisely to escape this - it accepts your
whole list immediately and processes it in the background.
The single-URL endpoints
curl "https://api.dataloom.dev/website-insights/v2/all-insights" \
-G -d url=github.com \
-H "Authorization: Bearer $DATALOOM_API_KEY"The response is one flattened body - the status fields sit at the top
level, not in a nested meta block (excerpt):
{
"status": "success",
"website": "github.com",
"snapshot_date": "2026-10-01",
"insight_level": "complete",
"profile": {
"title": "GitHub: Let's build from here",
"description": "GitHub is where people build software.",
"category": "Computers Electronics and Technology/Programming and Developer Software"
},
"rankings": { "global": 50 },
"traffic": {
"history": [
{ "month": "2026-08-01", "visits": 649321442 },
{ "month": "2026-09-01", "visits": 641102994 }
],
"engagement": { "pages_per_visit": 5.768, "avg_duration_seconds": 384.664, "bounce_rate": 0.367 },
"sources_share": { "direct": 0.526, "organic_search": 0.2454, "referrals": 0.0956, "generative_ai": 0.0234 }
},
"ai_referrals": {
"total_visits": 13892123,
"platforms": [
{ "name": "chatgpt.com", "share": 0.715487, "history": [{ "month": "2026-09-01", "share": 0.70412 }] }
]
}
}How to read it:
snapshot_dateis the data month, labeled with its first day:2026-10-01means "the October 2026 monthly bucket". New months land between the 1st and 15th as the provider rolls data over.insight_levelis honest about coverage:complete,zero_traffic,insufficient_data, orcrawler_blocked. Bodystatusmirrors it -successonly when data is actually present.- Shares are fractions of 1 everywhere (
0.4714= 47.14%). nullmeans "no data";0is a measured zero.websiteechoes the normalized registered domain (lowercase, nowww.), whatever spelling you sent.
similar-sites takes the same url parameter plus an optional
raw_resp=true that returns the upstream payload as-is:
curl "https://api.dataloom.dev/website-insights/v2/similar-sites" \
-G -d url=github.com \
-H "Authorization: Bearer $DATALOOM_API_KEY"{
"status": "success",
"website": "github.com",
"insight_level": "complete",
"similar_sites": [
{ "domain": "gitlab.com", "similarity": 0.87, "category": "Programming and Developer Software" }
]
}Errors on the single-URL endpoints
Failed validation is always a 400 with the V2 error envelope:
{
"status": "error",
"error": {
"code": "INVALID_URL",
"message": "The provided url string cannot be parsed into a valid domain.",
"target": "url",
"rejected_value": "not_a_domain!",
"timestamp": "2026-11-19T12:00:00Z"
}
}| Field | Description |
|---|---|
code | Stable identifier - branch on this, never on message text. |
message | Human-readable reason for this specific failure. |
target | Which input failed - always "url" on this API. |
rejected_value | The input as received (whitespace included). |
timestamp | UTC when the error was produced, YYYY-MM-DDTHH:MM:SSZ. |
The full status table:
| Status | Code | Meaning | What to do |
|---|---|---|---|
400 | MISSING_PARAMETER | The url query parameter is absent or empty. | Add ?url=domain. |
400 | INVALID_URL | The submitted string cannot be parsed into a domain at all (bad characters, no TLD, over 2,048 characters). | Fix the input - this is a request problem, not a data problem. |
400 | INVALID_DOMAIN | The string parsed fine as a domain, but the data provider rejected it (for example a domain that does not exist). | Treat as "no data for this domain"; check spelling. |
502 | RELAY_SERVICE_ERROR | The egress-relay path failed transiently. | Retry; back off if it repeats. |
503 | CONNECTION_ERROR | Could not connect to the upstream service. | Retry; the failure may be transient. |
504 | TIMEOUT_ERROR | The upstream fetch timed out. | Retry with a longer client timeout. |
500 | INTERNAL_SERVER_ERROR | Unexpected failure during the fetch. | Retry; the failure may be transient. |
INVALID_URL vs INVALID_DOMAIN
As of 2026-11-19 the two 400 codes have distinct meanings:
INVALID_URL = your input string was unparseable; INVALID_DOMAIN = the
input parsed but the provider rejected the domain. Responses emitted
before that date used INVALID_DOMAIN for both cases - update any
branch that treats them as one code.
A domain that parses and exists but has no usable data is not an
error: the endpoint returns 200 with status: "insufficient_data" (or
a null-filled body), so treat the body's insight_level, not the HTTP
code, as the coverage signal. The platform-wide contract - gateway
rejections (401, 402, 429) and general retry guidance - is
documented in errors.
Billing
- Single-URL lookups cost 1 credit per call.
- Batches cost 1 credit per unique valid domain, charged once at submission. Duplicate items, invalid items, and every poll, results page, download, and cancel cost 0 credits.
Like all Dataloom APIs, only successful work is charged - see billing & credits for the monthly grant and the ledger.
Limits
| Limit | Value |
|---|---|
| Domains per batch submission | 1,000 |
| Results per page | 500 |
Batch long-poll (wait) | up to 30 s |
| Results retrievable after completion | 7 days |
| Batch record kept after that | 30 days, then 410 BATCH_EXPIRED |
Authoritative paths
The paths above are the v2 surface served at https://api.dataloom.dev.
The API's reference page always shows the
live endpoint list with exact paths, parameters, and per-call costs.
Dataloom Docs