Actually Tracking

AI crawlers and bots

See which AI crawlers and bots read your site, which pages they read, and whether they are who they say they are.

AI companies crawl the web to train models (GPTBot, ClaudeBot), to build AI search (OAI-SearchBot, PerplexityBot) and to answer a user's question on the spot (ChatGPT-User, Claude-User, Perplexity-User). The AI & bots page shows those visits next to search engines and other bots: how many, which crawlers, and the pages AI crawlers read most.

Why your server has to report them

Crawlers almost never run JavaScript, so the tracking script sees very few of them. Your server sees every request, so it reports the ones whose user agent looks like a crawler. Ordinary visitors are never sent.

Reporting needs your client secret, so it only ever runs on your server.

Express

The middleware reports crawlers on its own once it has the client secret:

import createActuallyTracking from '@actually-tracking/express';

app.use(
  createActuallyTracking({
    clientId: process.env.ACTUALLY_TRACKING_CLIENT_ID!,
    clientSecret: process.env.ACTUALLY_TRACKING_CLIENT_SECRET!,
  })
);

Turn it off with trackCrawlers: false.

Next.js

Add it to your middleware. It runs on the edge runtime and never delays the page:

// middleware.ts
import { NextResponse, type NextFetchEvent, type NextRequest } from 'next/server';
import { reportCrawler } from '@actually-tracking/nextjs/crawler';

export function middleware(request: NextRequest, event: NextFetchEvent) {
  event.waitUntil(
    reportCrawler(request, {
      clientId: process.env.ACTUALLY_TRACKING_CLIENT_ID!,
      clientSecret: process.env.ACTUALLY_TRACKING_CLIENT_SECRET!,
    })
  );
  return NextResponse.next();
}

Any other server

Use the Node SDK's crawl(), or send the request yourself:

op.crawl({ userAgent: req.headers['user-agent'], path: req.url, ip: clientIp });
curl -X POST https://api.actuallytracking.com/crawl \
  -H "actuallytracking-client-id: YOUR_CLIENT_ID" \
  -H "actuallytracking-client-secret: YOUR_CLIENT_SECRET" \
  -H "Content-Type: application/json" \
  -d '{ "userAgent": "Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)", "path": "/pricing", "ip": "132.196.86.12" }'

Send one visit, or up to 100 as { "hits": [ … ] }. Only user agents in our list of about 1,400 known crawlers and bots are kept; the rest are counted as ignored. Query strings are dropped from paths. The limit is 1,000 requests per 10 seconds per key.

Verified and spoofed visits

Anyone can put "GPTBot" in a user agent, so each visit is checked against the network of the crawler it claims to be:

ResultMeaning
VerifiedThe IP is in the ranges the crawler's company publishes, or passes its reverse DNS check
SpoofedIt claims a crawler's name but comes from somewhere else
UnverifiableThe crawler publishes no way to check (Anthropic's crawlers, for example), or no IP was sent

OpenAI, Perplexity, Google, Bing, Apple, DuckDuckGo, Common Crawl and Mistral are checked against their published IP ranges; Yandex, Baidu and Amazon by reverse DNS. The IP is used for the check and never stored.

Groups

GroupWhat it isExamples
AI trainingCollects pages to train modelsGPTBot, ClaudeBot, Google-CloudVertexBot
AI searchIndexes pages for an AI search engineOAI-SearchBot, PerplexityBot, Claude-SearchBot, Applebot
AI assistantsFetches a page because a user asked an assistantChatGPT-User, Claude-User, Perplexity-User
Search enginesClassic web searchGooglebot, BingBot, YandexBot
Other botsMonitors, feed readers, SEO tools and the restUptimeRobot, AhrefsBot

API and MCP

GET /insights/{projectId}/bots returns the same numbers as the page: totals, a daily series by group, each crawler with its verified and spoofed counts, and the pages AI crawlers read most. See Insights. With MCP, ask about it through the get_bot_traffic tool; in the CLI, run actually-tracking bots.

On this page