# Crawler verification

> How Reveata checks that a visit from Googlebot, GPTBot or ClaudeBot really comes from Google, OpenAI or Anthropic, and what verified, spoofed and unverifiable mean.

Anyone can send a request that says it is `Googlebot` or `GPTBot`: the user agent is just text. Scrapers copy well-known crawler names so that sites let them through. Reveata checks every crawler request against the IP addresses the crawler's operator publishes, so your [bot traffic](https://reveata.com/docs/bot-traffic) report shows which visits are genuine.

## How it works

1. **The lists.** Many operators publish the IP ranges their crawlers use, on their own website (for example Google's `common-crawlers.json` or OpenAI's `gptbot.json`). Reveata downloads each list once a day from the operator's own domain. If a download fails, the last good copy stays in use.
2. **The claim.** When a request's user agent names a crawler that has a published list, Reveata takes the request's IP address: the address the tracker request came from, or, through a [self-hosted proxy](https://reveata.com/docs/self-hosted-proxy) with a valid proxy secret, the visitor address your proxy forwards.
3. **The check.** The address is compared in memory with that crawler's ranges, IPv4 and IPv6. The result is stored with the bot hit. The IP address itself is never stored.

Requests [forwarded from your server](https://reveata.com/docs/forward-crawler-requests) are checked the same way when your forwarder includes the client's `ip`. Without it, they are unverifiable.

## What the three results mean

| Result           | Meaning                                                                                                                                                                                                  |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Verified**     | The user agent names a crawler and the IP address is inside the ranges its operator publishes. The visit really comes from that operator.                                                                 |
| **Spoofed**      | The user agent names a crawler, but the IP address is outside every range its operator publishes. Something is pretending to be that crawler, usually a scraper.                                          |
| **Unverifiable** | Reveata cannot tell: the operator publishes no IP ranges, no usable IP address was available, or the operator's list has not been downloaded yet. Unverifiable is never counted as verified or spoofed. |

On the **Bot traffic** page, each crawler shows its verified, spoofed and unverifiable requests, and the **Spoofed crawlers** tile counts the crawler names that were faked in the period. A spoofed request is still stored as a bot hit: it never counts as a visitor.

Hits recorded before verification was available show as unverifiable.

## Which crawlers can be verified

These operators publish IP ranges, and Reveata checks every crawler listed against them. The [crawler directory](https://reveata.com/crawlers) marks them **Verified by IP** and shows when each list was last downloaded.

| Operator     | Crawlers                                                                                                                                                                         | Published lists                                                                                                                  |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Google       | `Googlebot`, `Googlebot-Image`, `Googlebot-Video`, `Storebot-Google`, `Google-InspectionTool`, `GoogleOther`, `GoogleOther-Image`, `GoogleOther-Video`, `Google-CloudVertexBot` | `common-crawlers.json`                                                                                                           |
| Google       | `AdsBot-Google`, `Mediapartners-Google`, `APIs-Google`, `Google-Safety`                                                                                                          | `special-crawlers.json`                                                                                                          |
| Google       | `FeedFetcher-Google`, `Google-Read-Aloud`, `Google-Site-Verification`, `GoogleMessages`, `Google-Pinpoint`, `GoogleProducer`, `Google-CWS`, `Google-GeminiNotebook`             | `user-triggered-fetchers.json` and `user-triggered-fetchers-google.json`                                                         |
| Google       | `Google-Agent`                                                                                                                                                                   | `user-triggered-agents.json`                                                                                                     |
| Microsoft    | `Bingbot`                                                                                                                                                                        | [bingbot.json](https://www.bing.com/toolbox/bingbot.json)                                                                        |
| OpenAI       | `GPTBot`, `OAI-SearchBot`, `ChatGPT-User`, `OAI-AdsBot`                                                                                                                          | one list each, from [OpenAI's crawler page](https://developers.openai.com/api/docs/bots)                                         |
| Anthropic    | `ClaudeBot`, `Claude-SearchBot`, `Claude-User`                                                                                                                                   | [bots.json](https://claude.com/crawling/bots.json)                                                                               |
| Perplexity   | `PerplexityBot`, `Perplexity-User`                                                                                                                                               | one list each, from [Perplexity's crawler page](https://docs.perplexity.ai/docs/resources/perplexity-crawlers)                   |
| Apple        | `Applebot`                                                                                                                                                                       | [applebot.json](https://search.developer.apple.com/applebot.json)                                                                |
| DuckDuckGo   | `DuckDuckBot`, `DuckAssistBot`                                                                                                                                                   | `duckduckbot.json`, `duckassistbot.json`                                                                                         |
| Amazon       | `Amazonbot`, `Amzn-SearchBot`, `Amzn-User`                                                                                                                                       | one page each, from [Amazon's crawler page](https://developer.amazon.com/amazonbot)                                              |
| Common Crawl | `CCBot`                                                                                                                                                                          | [ccbot.json](https://index.commoncrawl.org/ccbot.json)                                                                           |
| Mistral AI   | `MistralAI-User`                                                                                                                                                                 | [mistralai-user-ips.json](https://mistral.ai/mistralai-user-ips.json)                                                            |
| Seznam.cz    | `SeznamBot`                                                                                                                                                                      | [seznambot.json](https://search.seznam.cz/ipranges/seznambot.json)                                                               |
| Qwant        | `Qwantbot`                                                                                                                                                                       | [qwantbot.json](https://help.qwant.com/qwantbot.json)                                                                            |
| Mojeek       | `MojeekBot`                                                                                                                                                                      | [mojeekbot.json](https://www.mojeek.com/mojeekbot.json)                                                                          |
| Naver        | `Yeti`                                                                                                                                                                           | [naverbot.json](https://searchadvisor.naver.com/doc/naverbot.json)                                                               |
| Ahrefs       | `AhrefsBot`, `AhrefsSiteAudit`                                                                                                                                                   | [crawler-ip-ranges](https://api.ahrefs.com/v3/public/crawler-ip-ranges)                                                          |
| Babbar       | `Barkrowler`                                                                                                                                                                     | [barkrowler-ip-ranges.json](https://www.babbar.tech/barkrowler-ip-ranges.json)                                                   |
| Serpstat     | `serpstatbot`                                                                                                                                                                    | [serpstatbot-ip.txt](https://serpstatbot.com/serpstatbot-ip.txt)                                                                 |
| SE Ranking   | `SERankingBacklinksBot`                                                                                                                                                          | [backlinks-bot-ips](https://api.seranking.com/backlinks-bot-ips)                                                                 |
| Iframely     | `Iframely`                                                                                                                                                                       | [ips-v4](https://iframely.com/ips-v4) and [ips-v6](https://iframely.com/ips-v6)                                                  |
| UptimeRobot  | `UptimeRobot`                                                                                                                                                                    | [IPv4andIPv6.txt](https://cdn.uptimerobot.com/api/IPv4andIPv6.txt)                                                               |
| Better Stack | `Better Uptime Bot`                                                                                                                                                              | [ips.txt](https://incidents.betterstack.com/ips.txt)                                                                             |
| Checkly      | `Checkly`                                                                                                                                                                        | [static-ips](https://api.checklyhq.com/v1/static-ips) and [static-ipv6s](https://api.checklyhq.com/v1/static-ipv6s)              |

Google's lists are all published under `developers.google.com/static/crawling/ipranges/`, as described on [Google's verification page](https://developers.google.com/crawling/docs/crawlers-fetchers/verify-google-requests). Bing publishes `bingbot.json` for Bingbot only, so Bing's other agents (for example `AdIdxBot`) stay unverifiable.

Every other crawler in the directory is unverifiable, because its operator publishes no IP ranges. Some of them document reverse DNS host names instead (for example Yandex and Baidu), which the directory lists so you can check a request by hand.

## Behind a proxy or CDN

Reveata verifies the address that reached it. That address is the crawler's own when:

- the request comes straight to Reveata, or through Reveata's [managed proxy](https://reveata.com/docs/managed-proxy);
- your own proxy passes the request with a valid [proxy secret](https://reveata.com/docs/self-hosted-proxy) and the visitor's address.

If your own proxy forwards `/api/collect` **without** the proxy secret, Reveata only sees your proxy's address, so real crawlers would look spoofed. Set up the proxy secret, or forward crawler requests from your server with their `ip`. When a request carries a proxy secret that Reveata cannot use, the hit is stored as unverifiable rather than spoofed.

When you forward crawler requests yourself, only send an address your platform guarantees, such as `cf-connecting-ip` on Cloudflare. Never read a header the client can set itself: a forged address would let a fake crawler pass as verified. With `@reveata/next`, pass it through the `clientIp` option:

```ts
const forward = forwardBots({
  host: 'https://reveata.com',
  token: process.env.REVEATA_BOT_TOKEN,
  clientIp: (request) => request.headers.get('cf-connecting-ip'),
});
```
