Get Started with the AI Data Feed
Download Spur's AI data feed, read what each record tells you about the web bots on an IP address, pick out the AI bots, and match them against your own logs.
Difficulty
Beginner
No prior Spur experience needed
Time estimate
15 minutes
Typical time to complete
Prerequisites
- An AI data feed subscription. To add it, contact your account manager.
- A Spur API token with access to the AI data feed
- curl and jq, or any tool that reads newline-delimited JSON
What you'll achieve
- Download the latest AI data feed as JSON or MMDB
- Read a record and tell an operator's own address from a bot seen on a shared one
- Filter the feed down to AI bots
- Find AI bot traffic in your own logs
- Keep your copy current
Overview
The AI data feed lists every IP address where Spur has identified a web bot: AI crawlers and assistants, plus other automated clients such as search engine crawlers, SEO tools and feed readers. Each record names the bots on that address, with the usual IP context such as ASN, organization, location and infrastructure.
Steps
- 1
Download the feed
Files are gzip-compressed, newline-delimited JSON, one IP address per line. Authenticate with the
Tokenheader and follow redirects, because downloads are served from Spur's storage CDN.Download the latest AI feedcurl "https://feeds.spur.us/v2/ai/latest.json.gz" \-H "Token: $SPUR_TOKEN" -L \-o ai-latest.json.gzThe same data is available as an MMDB file for IP lookups in tools that read MaxMind databases:
Download the MMDBcurl "https://feeds.spur.us/v2/ai/latest.mmdb" \-H "Token: $SPUR_TOKEN" -L \-o ai-latest.mmdbThe feed is rebuilt every day, typically by 0500 UTC. To get an earlier day, replace
latest.json.gzwith<YYYYMMDD>/feed.json.gz. You can also download both files from the Data Feeds page in the Spur app. Endpoint details are in the Feed Types documentation. - 2
Read a record
Each record lists its bots in one of two fields, never both:
Field When it's used webbots The address belongs to the bot's operator and is used only by its bots, such as a crawler range the operator publishes. client.webbots Spur saw a named bot behind a shared address, such as a cloud host or a proxy, that also carries other traffic. Only bots identified as verified or hidden in the last three days are listed. Each bot has a
tag(a stable ID such asOPENAI_GPTBOT), a displayname, theoperatorthat runs it, atypeand one or morecategories.type Who the bot acts for CRAWLER Its operator, on its own AGENTIC A person directing it live PLATFORM Whoever rents it, such as a rented cloud browser. A PLATFORM bot is never an AI bot. Here is a record from the feed for an address OpenAI uses for GPTBot:
One AI feed record{"ip": "132.196.86.0","webbots": [{"tag": "OPENAI_GPTBOT","name": "GPTBot","operator": "OPENAI","type": "CRAWLER","categories": ["AI_TRAINING"]}],"organization": "Microsoft Limited","as": {"number": 8075,"organization": "Microsoft Corporation"},"client": {"count": 1,"types": ["DESKTOP"]},"infrastructure": "DATACENTER","location": {"city": "Des Moines","state": "Iowa","country": "US"}} - 3
Pick out the AI bots
There's no separate AI flag. A bot is an AI bot when its categories include
AI_TRAINING,AI_SEARCHorAI_ASSISTANT. Some bots do more than one job: Googlebot, for example, has bothSEARCH_ENGINEandAI_SEARCH.This keeps only the records with at least one AI bot, from either field:
Filter to AI botsgzcat ai-latest.json.gz | jq -c 'select([.webbots[]?, .client.webbots[]?]| any(.categories[] | IN("AI_TRAINING", "AI_SEARCH", "AI_ASSISTANT")))' > ai-bots.ndjsonTo see which operators those addresses belong to:
Count AI bot operatorsjq -r '[.webbots[]?, .client.webbots[]?] | .[].operator' ai-bots.ndjson \| sort | uniq -c | sort -rn | headOn Linux, use
zcatinstead ofgzcat. - 4
Match it against your logs
Turn the filtered records into a list of IP addresses, then look for those addresses in your logs. This example assumes the client IP is the first field of each log line, as in the common web server log formats:
Find AI bot requests in an access logjq -r '.ip' ai-bots.ndjson > ai-bot-ips.txtawk 'NR==FNR {ai[$1]; next} ($1 in ai)' ai-bot-ips.txt access.logThe match is on the whole address, so
1.2.3.4doesn't also match1.2.3.45. For lookups inside an application, SIEM or CDN, load the MMDB with a MaxMind-compatible reader and look up each request's IP: the result has the samewebbotsandclientfields as the JSON record.Bots on shared addressesAn address in
client.webbotsalso carries other traffic, such as other customers of the same cloud host or proxy. Use it to label or score requests rather than to block the whole address. - 5
Keep your copy current
Download the feed once a day, after 0500 UTC, and replace your previous copy rather than adding to it. Addresses drop out when Spur stops seeing a bot on them, so an old list keeps addresses that are no longer in use.
Operator-only addresses aren't in the Anonymous or Anonymous +Residential feeds. Shared addresses in
client.webbotscan appear in both. The Context API reports AI operators with itsaiobject, not these bot fields.Questions about the feed? Email support@spur.us.
Related FAQs & guides
When should I use the Exports API?
The Exports API is designed for environments where pre-processing isn't possible — for example, direct integration into a SIEM, IPS, or firewall. If you need full feed data, download the entire feed and perform your own transformation locally.
Why did a feed file change size or filename?
Feed files can change in size or filename when Spur makes a planned change to a feed's publication — for example, an updated data source or schema version. If an automated ingestion process depends on a specific filename, use the documented stable download mechanism rather than relying on a fixed filename pattern. If a change looks unexpected, contact support with the feed name, version, and the date you noticed the difference.
How can I download data on all IPv4 and IPv6 addresses?
IP location, routing, and ownership information is produced at the network level and presented into netblocks. Other data such as client fields or service attributions are produced on an individual IP address basis. For our API customer this coverage is automatically merged to produce full IPv4 and IPv6 coverage. For on-prem services, a combination of these two granularities must be used to cover all IP space.
How can I download all IP addresses for a certain VPN or proxy provider?
This functionality is reserved for our on-prem data customers. Our API access only allows for individual IP Address lookups.
Why doesn't Spur's IP location match other geolocation sources?
Many geolocation providers fall back to registration data, which is the address on an IP's WHOIS or regional registry record. That address shows where the network was registered, not where the IP is actually used. Spur geolocates IPs from active network measurement and from location data that network operators publish for their own ranges. So when the two disagree, Spur reports where the IP measures, not where it's registered. Anycast IPs, which are served from many locations at once, are labeled as anycast rather than assigned a single location.
What are the exact boundary semantics of the Anonymous +Residential Realtime feed's 5-minute window?
The window is inclusive of the start time and exclusive of the end time. For example, the file at /v2/anonymous-residential/realtime/<YYYYMMDD>/1300.json.gz covers detections from 12:55:00 up to and including 12:59:59 UTC — 13:00:00 is not included and appears in the next file (1305.json.gz) instead. When consuming consecutive 5-minute files, each detection belongs to exactly one file, so there's no gap or double-processing at the boundary between files.