Dataloom Docs

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 lookupBatch analysis
EndpointGET /website-insights/v2/all-insightsPOST /website-insights/v2/insights + polling
Items per call1 domain1 – 1,000 domains
Latencyfinal 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
Billing1 credit per call1 credit per unique valid domain, charged once at submission
Good fit forInteractive features, single lookups, one-off checksBulk 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_date is the data month, labeled with its first day: 2026-10-01 means "the October 2026 monthly bucket". New months land between the 1st and 15th as the provider rolls data over.
  • insight_level is honest about coverage: complete, zero_traffic, insufficient_data, or crawler_blocked. Body status mirrors it - success only when data is actually present.
  • Shares are fractions of 1 everywhere (0.4714 = 47.14%).
  • null means "no data"; 0 is a measured zero.
  • website echoes the normalized registered domain (lowercase, no www.), 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"
  }
}
FieldDescription
codeStable identifier - branch on this, never on message text.
messageHuman-readable reason for this specific failure.
targetWhich input failed - always "url" on this API.
rejected_valueThe input as received (whitespace included).
timestampUTC when the error was produced, YYYY-MM-DDTHH:MM:SSZ.

The full status table:

StatusCodeMeaningWhat to do
400MISSING_PARAMETERThe url query parameter is absent or empty.Add ?url=domain.
400INVALID_URLThe 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.
400INVALID_DOMAINThe 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.
502RELAY_SERVICE_ERRORThe egress-relay path failed transiently.Retry; back off if it repeats.
503CONNECTION_ERRORCould not connect to the upstream service.Retry; the failure may be transient.
504TIMEOUT_ERRORThe upstream fetch timed out.Retry with a longer client timeout.
500INTERNAL_SERVER_ERRORUnexpected 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

LimitValue
Domains per batch submission1,000
Results per page500
Batch long-poll (wait)up to 30 s
Results retrievable after completion7 days
Batch record kept after that30 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.

Next steps

On this page