Bot signals · Web crawler

What is Ghost Inspector?

Ghost Inspector test runners

Requests from Ghost Inspector test runners are known automated traffic from a search engine, SEO tool, archive or other web service that crawls or fetches web pages.

risk.is_crawler

Check an IP

Is this IP really Ghost Inspector?

Free. The same answer as risk.is_crawler in the lookup API.

01 · Profile

Ghost Inspector at a glance.

What to look for in your logs, and what the lookup API returns for its traffic.

Type
Web crawler
API flag
risk.is_crawler

Anyone can put Ghost Inspector in a user agent. Check the risk flags, not the user agent, to tell the real crawler from an imitation.

02 · In the response

What a match looks like.

A lookup of a Ghost Inspector address sets risk.is_crawler. The flags come with geolocation and network data in the same response, for API keys on every paid plan.

The response says which kind of bot the traffic is, not which operator. A request that claims to be Ghost Inspector while risk.is_crawler is false should not be trusted as Ghost Inspector.

GET /api/lookup/{ip}?key=YOUR_API_KEY
{
  // … location and network fields …
  "risk": {
    "is_ai": false,
    "is_crawler": true,
    "is_scanner": false
  }
}

03 · Control

Allow or block Ghost Inspector.

Your options

  • robots.txt works only for crawlers that choose to follow it. Check the operator’s documentation for the token it reads.
  • Firewall, WAF or CDN. Many offer bot rules you can allow or deny by category. Use them to enforce what robots.txt only asks for.
  • In your app. Look up the client address and allow or deny on risk.is_crawler, alongside the user agent.
  • Never on the user agent alone. Blocking the name stops only honest clients; allowing it lets in anyone who borrows it.

04 · Questions

About Ghost Inspector.

What is Ghost Inspector?

Requests from Ghost Inspector test runners are known automated traffic from a search engine, SEO tool, archive or other web service that crawls or fetches web pages.

How do I block Ghost Inspector?

Deny it at your firewall, WAF or CDN, or look up each client IP with the lookup API and deny requests where risk.is_crawler is true.

Can I trust a request that says it is Ghost Inspector?

Anyone can put a bot’s name in a user agent. Check the risk flags, not the user agent, to tell the real Ghost Inspector from an imitation. The free bot checker and the lookup API both give the answer.

Which risk flag does Ghost Inspector set?

Its traffic is flagged as risk.is_crawler in the lookup response. The risk flags come with every paid plan.

Recognise Ghost Inspector on every request.

is_ai, is_crawler and is_scanner in every lookup, on every paid plan, from 9,00 € a month (plus VAT where applicable).