Skip to content

Domain breakdown

GET
/api/v1/analytics/domains
curl --request GET \
--url https://dashboard.justcrawl.io/api/v1/analytics/domains \
--header 'Authorization: Bearer <token>'

Top domains by request volume over the window, plus per-domain success rate, latency, and cost. Org-scoped, cached read. Sorted by request count desc; capped at limit rows.

Cache coverage: the analytics service currently pre-populates only the (hours=24, limit=20) key (see services/analytics/src/cache-pusher.ts). Other (hours, limit) combinations return an empty array — deliberate caching budget decision, not a missing-data signal.

hours
integer

Lookback window in hours (default 24, max 720). Only hours=24 is cache-populated today.

limit
integer

Top-N cap (default 20, max 100). Only limit=20 (at hours=24) is cache-populated today.

Top-N domains by request volume.

Media type application/json
Array<object>
object
Example generated
[
{}
]

Missing or invalid authentication token

Media type application/json
object
error
string
Example
{
"error": "Missing or invalid authentication token"
}

Insufficient permissions for this operation

Media type application/json
object
error
string
Example
{
"error": "No organization. Complete onboarding first."
}

Unexpected server error. Logs and PostHog $exception capture

Media type application/json
object
error
string
Example
{
"error": "Something went wrong"
}