Recall
  • Product
  • Markets
  • Benchmarks
  • Pricing
  • Docs
Book a pilot
IntroductionQuick Start
OverviewProvidersRegistration & LoginBrand SetupPrompt WizardDashboard OverviewVisibility TrackingBusiness impact and attributionCrawler visitsCitation AnalysisSettingsPublishingReports
View as Markdown
Recall

Product

  • Features
  • Pricing
  • Documentation

Markets

  • Venture capital
  • Deep tech
  • Coworking
  • Private education

Resources

  • AEO guides
  • Free tools
  • llms.txt
  • AEO glossary
  • Changelog

Company

  • Vision
  • Brand assets
  • Compare tools
  • Contact
AI shortlist intelligence© 2026 Recall · v0.2.17

Crawler visits

First-party records of which AI and search crawlers requested which pages of your site, and whether each request came from the operator it names.

The site audit shows whether AI crawlers can read a site. Crawler visits shows whether they do: which crawler requested which page, what status your site returned, and whether the request really came from the operator it names. In Recall's evidence labels this is first-party data.

Crawler visits is an add-on. It is off by default, and an administrator switches it on per brand under Admin → Brands. Once it is on, the brand gets a Crawler visits page and Settings → Crawler visits.

Set up

Create an ingest token under Settings → Crawler visits. The token is shown once and only its hash is stored; Rotate replaces it and the previous token stops working immediately. The Worker and Logpush both send it as Authorization: Bearer rcv_….

There are three ways to get requests in. Use the Worker if the site is on Cloudflare.

Cloudflare Worker

The Worker runs in front of your site. It returns every response unchanged, reads no request bodies, and sends Recall only requests whose user agent names a known crawler, whose network belongs to an AI operator, or whose address is in a crawler range an operator publishes. It batches requests for five seconds (or 200 requests) and sends them after the response, so a slow or unreachable Recall never delays a page.

  1. In Cloudflare, create a Worker and replace its code with the code below. The settings page shows the same code with your Recall address filled in.
  2. Add a secret named RECALL_INGEST_TOKEN with your ingest token, under Settings → Variables and Secrets or with wrangler secret put RECALL_INGEST_TOKEN.
  3. Add a route for your site, for example example.com/*. If a Worker already runs on that route, merge this code into it instead; a route runs one Worker.
// Recall crawler visits: forwards AI and search crawler requests to Recall.
// Request bodies are never read, and the response is returned unchanged
// whether or not Recall is reachable. Set the RECALL_INGEST_TOKEN secret.
const RECALL_ENDPOINT = "https://YOUR-RECALL-URL/api/ingest/crawler-visits";
const BOT_USER_AGENT = /\bGPTBot\b|\bOAI-SearchBot\b|\bChatGPT-User\b|\bClaudeBot\b|\bClaude-SearchBot\b|\bClaude-User\b|\banthropic-ai\b|\bPerplexityBot\b|\bPerplexity-User\b|\bGooglebot(?:-[A-Za-z]+)?\b|\bGoogleOther\b|\bGoogle-CloudVertexBot\b|\bGoogle-Agent\b|\bbingbot\b|\bApplebot\b|\bCCBot\b|\bBytespider\b|\bmeta-externalagent\b|\bmeta-externalfetcher\b|\bmeta-webindexer\b|\bAmazonbot\b|\bAmzn-SearchBot\b|\bAmzn-User\b|\bDuckAssistBot\b|\bDuckDuckBot\b|\bMistralAI-User\b|\bMistralAI-Index\b/i;
const OPERATOR_ASNS = new Set([32934,138699,396986,399358,401518]);
const FLUSH_AFTER_MS = 5000;
const MAX_BATCH = 200;
const RANGES_TTL_MS = 6 * 60 * 60 * 1000;

let buffer = [];
let flushScheduled = false;
let ranges = null;
let rangesFetchedAt = 0;
let rangesLoading = false;

export default {
  async fetch(request, env, ctx) {
    // If this Worker ever throws, Cloudflare serves the site as if it were not there.
    ctx.passThroughOnException();
    const response = await fetch(request);
    try {
      observe(request, response, env, ctx);
    } catch (error) {
      // Recording a visit must never break the site.
    }
    return response;
  },
};

function observe(request, response, env, ctx) {
  const token = env.RECALL_INGEST_TOKEN;
  if (!token) return;
  refreshRanges(token, ctx);
  const userAgent = request.headers.get("user-agent") || "";
  const ip = request.headers.get("cf-connecting-ip") || "";
  const asn = request.cf && request.cf.asn ? request.cf.asn : 0;
  if (!BOT_USER_AGENT.test(userAgent) && !OPERATOR_ASNS.has(asn) && !inRanges(ip)) return;

  const url = new URL(request.url);
  buffer.push({
    ts: Date.now(),
    ip,
    ua: userAgent.slice(0, 512),
    host: url.hostname,
    path: url.pathname.slice(0, 2048),
    status: response.status,
    asn: asn || undefined,
    cache: response.headers.get("cf-cache-status") || undefined,
  });

  if (buffer.length >= MAX_BATCH) {
    ctx.waitUntil(flush(token));
  } else if (!flushScheduled) {
    flushScheduled = true;
    ctx.waitUntil(
      new Promise((resolve) => setTimeout(resolve, FLUSH_AFTER_MS)).then(() => {
        flushScheduled = false;
        return flush(token);
      }),
    );
  }
}

async function flush(token) {
  if (buffer.length === 0) return;
  const hits = buffer;
  buffer = [];
  try {
    await fetch(RECALL_ENDPOINT, {
      method: "POST",
      headers: { authorization: "Bearer " + token, "content-type": "application/json" },
      body: JSON.stringify({ v: 1, hits }),
    });
  } catch (error) {
    // Fire and forget: a lost batch is preferable to a slower site.
  }
}

function refreshRanges(token, ctx) {
  if (rangesLoading || Date.now() - rangesFetchedAt < RANGES_TTL_MS) return;
  rangesLoading = true;
  ctx.waitUntil(
    fetch(RECALL_ENDPOINT + "/ranges", { headers: { authorization: "Bearer " + token } })
      .then((response) => (response.ok ? response.json() : null))
      .then((body) => {
        if (body && Array.isArray(body.prefixes)) ranges = compileRanges(body.prefixes);
        rangesFetchedAt = Date.now();
      })
      .catch(() => {
        rangesFetchedAt = Date.now() - RANGES_TTL_MS + 10 * 60 * 1000;
      })
      .finally(() => {
        rangesLoading = false;
      }),
  );
}

function compileRanges(prefixes) {
  const compiled = { 4: new Map(), 6: new Map() };
  for (const prefix of prefixes) {
    const [address, bitsText] = String(prefix).split("/");
    const parsed = parseAddress(address);
    const bits = Number(bitsText);
    if (!parsed || !Number.isInteger(bits)) continue;
    const width = parsed.family === 4 ? 32n : 128n;
    if (bits < 0 || BigInt(bits) > width) continue;
    const networks = compiled[parsed.family].get(bits) || new Set();
    networks.add(parsed.value >> (width - BigInt(bits)));
    compiled[parsed.family].set(bits, networks);
  }
  return compiled;
}

function inRanges(ip) {
  if (!ranges || !ip) return false;
  const parsed = parseAddress(ip);
  if (!parsed) return false;
  const width = parsed.family === 4 ? 32n : 128n;
  for (const [bits, networks] of ranges[parsed.family]) {
    if (networks.has(parsed.value >> (width - BigInt(bits)))) return true;
  }
  return false;
}

function parseAddress(address) {
  if (/^\d{1,3}(\.\d{1,3}){3}$/.test(address)) {
    const parts = address.split(".").map(Number);
    if (parts.some((part) => part > 255)) return null;
    return { family: 4, value: parts.reduce((total, part) => (total << 8n) | BigInt(part), 0n) };
  }
  if (!address.includes(":") || address.includes(".")) return null;
  const halves = address.toLowerCase().split("::");
  if (halves.length > 2) return null;
  const left = halves[0] ? halves[0].split(":") : [];
  const right = halves.length === 2 && halves[1] ? halves[1].split(":") : [];
  const missing = 8 - left.length - right.length;
  if (missing < 0 || (halves.length === 1 && missing !== 0)) return null;
  const groups = [...left, ...new Array(missing).fill("0"), ...right];
  if (groups.some((group) => !/^[0-9a-f]{1,4}$/.test(group))) return null;
  return { family: 6, value: groups.reduce((total, group) => (total << 16n) | BigInt(parseInt(group, 16)), 0n) };
}

Workers run before Cloudflare's cache, so the Worker also sees requests answered from Cloudflare's cache. The exception is a Worker with Workers Cache turned on, which checks the cache first.

Cloudflare Logpush

On zones with the HTTP requests Logpush dataset, a Logpush job can send request logs to Recall instead. Create it with POST /zones/<zone_id>/logpush/jobs:

{
  "name": "recall-crawler-visits",
  "dataset": "http_requests",
  "destination_conf": "https://YOUR-RECALL-URL/api/ingest/crawler-visits?header_Authorization=Bearer%20<YOUR_INGEST_TOKEN>",
  "output_options": {
    "field_names": [
      "ClientIP",
      "ClientASN",
      "ClientRequestHost",
      "ClientRequestPath",
      "ClientRequestUserAgent",
      "EdgeResponseStatus",
      "EdgeStartTimestamp",
      "CacheCacheStatus"
    ],
    "timestamp_format": "rfc3339"
  },
  "filter": "{\"where\":{\"or\":[{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"Bot\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"bot\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"-User\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"anthropic-ai\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"GoogleOther\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"Google-Agent\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"Bytespider\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"meta-\"},{\"key\":\"ClientRequestUserAgent\",\"operator\":\"contains\",\"value\":\"MistralAI\"},{\"key\":\"ClientASN\",\"operator\":\"in\",\"value\":[32934,138699,396986,399358,401518]}]}}",
  "max_upload_bytes": 5000000,
  "max_upload_records": 10000,
  "enabled": true
}
  • Logpush turns header_* parameters in the destination into request headers, so the token travels as an Authorization header. URL-encode it as shown.
  • Recall acknowledges the gzipped {"content":"tests"} file Logpush sends to validate a new destination.
  • The filter keeps only requests whose user agent looks like a crawler, or that come from an AI operator's network, so other visitors' requests stay at Cloudflare. A Logpush filter cannot express IP ranges, though. To also catch crawlers that use a browser user agent from inside a published range, remove the filter; Recall then receives every request and drops all that are not crawler traffic on receipt, without storing them.
  • Recall accepts up to 10 MB per request (64 MB once decompressed) and 100,000 records.

Upload access logs

For a one-off analysis, choose a file under Upload access logs. Supported formats are nginx and Apache combined, Apache vhost_combined, and Cloudflare JSON (Logpush or Logpull output), plain or gzipped.

The file is read in your browser. Only lines from known crawlers, or from AI operators' published ranges, are sent to Recall; the rest of the log never leaves your machine. Query strings are removed before sending. Recall remembers recent uploads, so the same file is not counted twice unless you choose to upload it again, and Delete uploads removes uploaded data without touching live collection. Lines older than the brand's retention are skipped.

If your web server sits behind a proxy or load balancer, configure it to log the client address (nginx real_ip, Apache mod_remoteip); otherwise every request carries the proxy's address and nothing can be verified.

Verification

Each request is checked against what its operator publishes:

ResultMeaning
VerifiedThe address is in a range the operator publishes, is on a network registered to the operator, or passes the operator's reverse-DNS check.
UnverifiedThe user agent names a crawler, but the address is not the operator's. Almost always another client using a crawler's name.
UndeclaredA browser user agent from an AI operator's published range or registered network.
UnverifiableThe user agent names a crawler whose operator publishes nothing to check it against, or whose list Recall has not loaded yet.

Recall fetches the published lists daily through the same hardened fetcher as the site audit, and keeps the last good copy when a fetch fails. When a request fails the range check but its operator documents reverse DNS, Recall looks the address up, requires the name to end in the operator's domain, and resolves the name forward to the same address before counting it as verified.

OperatorCrawlersPurposeVerified against
OpenAIGPTBot, OAI-SearchBot, ChatGPT-UserTraining, search index, user-triggered fetchgptbot.json, searchbot.json, chatgpt-user.json; network AS401518
AnthropicClaudeBot, Claude-SearchBot, Claude-User, anthropic-aiTraining, search index, user-triggered fetchbots.json, one list for all of them; network AS399358
PerplexityPerplexityBot, Perplexity-UserSearch index, user-triggered fetchperplexitybot.json, perplexity-user.json
GoogleGooglebot, GoogleOther, Google-CloudVertexBot, Google-AgentSearch index, training, user-triggered fetchGoogle's crawler IP lists; reverse DNS googlebot.com
MicrosoftbingbotSearch indexbingbot.json; reverse DNS search.msn.com
AppleApplebotSearch indexapplebot.json; reverse DNS applebot.apple.com
Common CrawlCCBotTrainingccbot.json; reverse DNS crawl.commoncrawl.org
DuckDuckGoDuckAssistBot, DuckDuckBotUser-triggered fetch, search indexduckassistbot.json
MistralMistralAI-User, MistralAI-IndexUser-triggered fetch, search indexmistralai-user-ips.json, mistralai-index-ips.json
ByteDanceBytespiderTrainingNo published list or documentation. Networks AS396986 and AS138699 only.
Metameta-externalagent, meta-externalfetcher, meta-webindexerTraining, user-triggered fetch, search indexNo published list. Network AS32934 only.
AmazonAmazonbot, Amzn-SearchBot, Amzn-UserTraining, search index, user-triggered fetchNone. Amazon publishes its addresses as web pages in inconsistent formats, not as a list Recall can read.

Network numbers come from the collection point: the Worker and Logpush report them, server logs do not. A crawler verified only by network is therefore unverifiable in an uploaded nginx or Apache log. Operators' crawlers mostly run on AWS, Azure and Google Cloud, so the registered networks above carry little crawler traffic; they mainly identify undeclared traffic, such as an operator's agents that present as a browser.

Google-Extended and Applebot-Extended are robots.txt tokens only. Google and Apple crawl under Googlebot and Applebot and apply those tokens afterwards, so they never appear in a log.

The report

The Crawler visits page shows, for the selected period:

  • requests per day by crawler purpose, and per crawler with its verified share;
  • 403, 429 and 5xx responses served to crawlers, with the pages they hit — usually a firewall, bot-management or rate-limit rule catching a crawler you want;
  • Crawled and cited: for each answer-engine operator, the pages its crawlers fetched beside the answers from its engines that cited them, for example OAI-SearchBot fetching /pricing 40 times while ChatGPT cited /pricing in 3 of 60 answers. A page can be cited without a recorded crawl when the engine used its index or a cache in front of the collection point;
  • the most-crawled pages, and the networks behind unverified and undeclared requests.

Unverified requests count toward totals but are not listed per page: they are mostly scanners probing nonexistent paths.

Data processing

Recall stores crawler requests only, aggregated per hour by host, path, crawler, operator, status, verification result and network number. Every other request is dropped on receipt and never stored, in any form. Full IP addresses and user agents are not stored. To show where unverified and undeclared requests came from, Recall keeps the network prefix (/24 for IPv4, /48 for IPv6) and network number, per day. Query strings are removed before anything is stored.

Data is kept for 13 months by default. The retention can be set from 1 to 25 months under Settings → Crawler visits, and a shorter setting applies immediately. Delete data removes stored visits without stopping collection. Turning the add-on off stops ingest; stored data stays until retention or deletion removes it.

Limitations

  • Caching. A response served by a cache in front of the collection point never reaches it. Origin logs miss everything a CDN answered, and the Worker misses anything cached by a CDN or proxy in front of Cloudflare.
  • Spoofing both user agent and address. A client that sends a crawler's user agent from inside that crawler's published range is indistinguishable from the crawler. A browser user agent from an address that is not in any published range or operator network is indistinguishable from a visitor.
  • Undeclared agents. An AI agent that presents as a browser is only detected when it comes from an operator's published range or registered network. Agents that sign requests with Web Bot Auth, such as ChatGPT agent, are not yet verified by signature.
  • Unpublished operators. Bytespider, Meta's crawlers and Amazon's crawlers cannot be range-verified.
  • Best effort. The Worker drops a batch rather than delay a site, and its in-memory batch is lost if Cloudflare recycles the Worker before it sends.

Was this page helpful?

On this page

Set upCloudflare WorkerCloudflare LogpushUpload access logsVerificationThe reportData processingLimitations