Skip to main content
Returns basic metadata for every domain your account can access — both domains you own and domains shared with you. Use it to discover each domain’s domainId, which you can then pass to Export Analytics to pull a single domain’s data.
Always call this endpoint from a server-side environment (backend API, serverless function, build script, etc.). Never include your API key in client-side code — it will be visible to anyone inspecting your frontend.
Programmatic (API key) access requires the Pro plan and above — requests from Starter accounts return 403 plan_upgrade_required.

Request

Headers

Body Parameters

None. The endpoint always returns every domain your account can access.

Example Request

Response

Success (200)

Fields

Domains are sorted alphabetically by hostname. When a domain is both owned and shared with you, it appears once with the owner role.

Error Responses

When you receive a 429, the usage and limit fields tell you where you stand against your monthly quota. Per-minute limits (60 req/min) reset automatically after 60 seconds. See Authentication for plan limits.

Examples

JavaScript / Node.js

Enumerate domains, then export each one individually: