Skip to content

API playground

Send real requests from your browser and see the response right away. Two kinds of credentials work here: a site key such as dt_site_… reads and writes data for one website, and an account token such as dt_pat_… works across your websites with the scopes you chose. Create a site key in a website’s Settings → Developer, or an account token in your account.

API playground

GET

List visitors · Jump to docs →

Accepts a site key, an account token or an OAuth access token with the analytics:read scope. Your key stays in this tab and is only sent with your request. Auth and scopes

Parameters
Website id or domain, e.g. example.com
1 to 200
Up to 512 characters
One of: last_seen, first_seen, revenue, sessions
1–200 characters
Pattern: ^[a-z0-9][a-z0-9_:-]{0,63}$
One of: direct, organic_search, paid_search, organic_social, paid_social, referral, email, newsletter, ai_assistants, affiliate, display
Up to 512 characters
1–200 characters
Pattern: ^[A-Z]{2}$
1–200 characters
1–200 characters
One of: desktop, mobile, tablet, other
1–200 characters
1–200 characters
1–200 characters
1–200 characters
Up to 512 characters
1–200 characters
1–200 characters
1–200 characters
1–200 characters
1–200 characters
1–200 characters
1 to 100000
Pattern: ^\d{4}-\d{2}-\d{2}$
Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Send a request to see the response here.