Bot traffic
AI crawler hits for a period: per crawler (with operator and category: training, search or user) and over time per crawler, filtered by verified hits, category, operator or crawler. Crawlers the site hides in its bot settings are left out unless includeHidden is true. Also what the collector refused as bots, by reason. Needs Analytics: read.
Authorizations
An API key that starts with cs_sk_, created under API and MCP, API keys. A key covers every site of its workspace or a chosen list, and carries permissions per resource (Analytics, Revenue and payments, Goals and events, Funnels, Sites, Notes, Alerts) and extras (Visitor details, Raw events export, Team members, Workspace name, See API keys, Manage API keys). A change acts for the key's creator, with their current role. A request outside them answers 403 naming the missing permission.
Query Parameters
Preset period: today (today), yesterday (yesterday), 24h (last 24 hours), 7d (last 7 days), 30d (last 30 days), 90d (last 90 days), wtd (week to date), mtd (month to date), last_month (last month), ytd (year to date), 12m (last 12 months), all (all time). Defaults to 30d. Use either this or from and to.
today, yesterday, 24h, 7d, 30d, 90d, wtd, mtd, last_month, ytd, 12m, all Start of a custom period: a day, YYYY-MM-DD, inclusive, in the timezone; or an exact ISO-8601 timestamp with its offset, such as 2026-12-01T09:30:00Z. Requires to.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$End of a custom period: a day, YYYY-MM-DD, inclusive, in the timezone; or an exact ISO-8601 timestamp with its offset (exclusive). Requires from.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$First day of a custom comparison, YYYY-MM-DD, inclusive, in the site's timezone. Only with compare "custom"; requires compareTo.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Last day of a custom comparison, YYYY-MM-DD, inclusive, in the site's timezone. Only with compare "custom"; requires compareFrom.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Narrow the data. Repeat the parameter to add filters; all must match. Format: dimension:op:value, for example country:is:DE. Dimensions: page, entry_page, exit_page, hostname, channel, source, referrer, utm_source, utm_medium, utm_campaign, utm_term, utm_content, country, region, city, browser, os, device, language, event, ai_assistant. Operators: is, is_not, contains.
true: also count the crawlers this site hides in its bot settings. Defaults to false, as on the dashboard.
Only this crawler, such as GPTBot.
GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, Google-Extended, GoogleOther, Applebot-Extended, Amazonbot, Bytespider, CCBot, Meta-ExternalAgent, Meta-ExternalFetcher, MistralAI-User, DuckAssistBot, cohere-ai, YouBot Response
Done.
Bot traffic.