Skip to main content

AI traffic

tpc ai-traffic reports AI bot visits to a product’s website: totals over time, the most active bots, the most crawled pages, per-path breakdowns, and recent crawl activity. Every command is read-only. Pass --scope <org-slug>/<product-slug> to select the product.
For share of voice and citations in AI answers, see Analytics.

Date windows

Every command except activity takes a date window:
  • --period 7d, 30d, 90d, 180d, or 365d for a window ending today (UTC).
  • --start and --end with ISO dates (2026-01-01) for a fixed range. Pass both, and don’t combine them with --period.
With no date flags, commands cover the last 30 days.

Filter by AI provider

summary, trends, top-pages, paths, breakdown, and activity take --provider. Pass a comma-separated list or repeat the flag; values are case-insensitive. Any other value must match a provider name exactly as top-bots prints it. On activity, --provider keeps rows whose provider names contain the value.

Summary

Prints visits, unique IPs, and unique pages per --granularity bucket (day, the default, week, or month). --category keeps one traffic category: inference, pre-training, crawlers, virtual-browser, or unknown. --compare replaces the table with the total for the window, the total for the previous window of the same length, and the change.
Prints visits per bucket and provider. --compare wow or --compare mom adds the value from a week or a month earlier and the change.

Top bots and top pages

top-bots ranks providers by visits, with each one’s category. --bot keeps providers whose name contains the text. --page and --page-size paginate (up to 100 per page). top-pages ranks pages by visits, with each page’s title, domain, and number of distinct bot providers. --sort recency orders by the latest visit instead, --path keeps pages under a path prefix, and --page and --page-size paginate (up to 1,000 per page). With --provider, --path, or --sort recency, the CLI works from the 1,000 most-visited pages.

Paths

Prints one row per page path and provider, most visits first. --path /blog keeps /blog and every page under it. End the prefix with * to merge those pages into one row per provider.

Breakdown

Prints visits and share of total for each provider (--by provider, the default) or each page category (--by category). Categories are the first path segment, such as /blog, unless you pass --categories; then each page goes to the first matching prefix and the rest go to other.

Recent activity

Prints the most recently crawled paths with their visit counts, the providers seen on each, and the last visit time. --limit (default 50, up to 1,000) and --offset page through the results. --since (1h, 6h, 12h, 24h, 7d, 30d, or 90d), --provider, and --path filter the rows on the page you fetched, so a filtered page can hold fewer than --limit rows. On summary, trends, and breakdown --by provider, --path keeps the days on which a matching page appears in the sampled top paths. The visit counts still cover every page on those days. For per-page counts, use top-pages, paths, or breakdown --by category.

Output formats

Every ai-traffic command accepts --format text (the default), --format json, or --format csv. JSON and CSV rows include the product slug and, except on activity, the date window.