Apple

Operator

Published IP ranges

Verification

Applebot

robots.txt token

Yes

Honours robots.txt

What Applebot is

Apple search and Siri indexing.

Its robots.txt token is Applebot , and it is listed as honouring robots.txt. Operator documentation: Apple .

Verifying it yourself

Apple publishes the ranges Applebot crawls from. Fetch them and test the source address:

# 1. fetch the published ranges
curl -s -o ranges.json \
  https://search.developer.apple.com/applebot.json

# 2. check an address against them
python3 - 203.0.113.42 <<'PY'
import json, sys, ipaddress
ip = ipaddress.ip_address(sys.argv[1])
data = json.load(open('ranges.json'))
hit = any(ip in ipaddress.ip_network(p.get('ipv4Prefix') or p['ipv6Prefix'])
          for p in data['prefixes'])
print('verified' if hit else 'NOT VERIFIED')
PY

Swap in the address you are checking. Never trust the User-Agent on its own: it is a header the client picks for itself.

Blocking it

If you want the real crawler to stay away, robots.txt is the polite way to ask:

User-agent: Applebot
Disallow: /

robots.txt only works on a client willing to obey it, which rules out every request that was already lying about who it is. Stopping those takes enforcement at the network or application layer, keyed on something the client cannot simply retype. That is the problem WebDecoy exists to solve.

Frequently Asked Questions

What is Applebot? +

Applebot is a search engine crawler operated by Apple. Apple search and Siri indexing.

How do I verify Applebot? +

Apple publishes the IP ranges Applebot uses at https://search.developer.apple.com/applebot.json. Check whether the request's source address falls inside one of those prefixes, and reject it if it does not. Never match on the User-Agent alone, because that is the part a client chooses for itself.

How do I block Applebot? +

Add a robots.txt rule for the token Applebot. That stops the real crawler, but not clients that only borrow its name, so pair it with verification and enforcement at your edge.

See which Applebot requests are real

WebDecoy verifies declared crawlers against what their operators publish and identifies the ones that fail, as persistent actors rather than disposable IPs.

Start Free Trial