App

Changelog · — A new IP page with IP history, Monocle Health Alerts, AI traffic in Explorer, and edge access tokens.

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. 1

    Download the feed

    Files are gzip-compressed, newline-delimited JSON, one IP address per line. Authenticate with the Token header and follow redirects, because downloads are served from Spur's storage CDN.

    Download the latest AI feed
    curl "https://feeds.spur.us/v2/ai/latest.json.gz" \
    -H "Token: $SPUR_TOKEN" -L \
    -o ai-latest.json.gz

    The same data is available as an MMDB file for IP lookups in tools that read MaxMind databases:

    Download the MMDB
    curl "https://feeds.spur.us/v2/ai/latest.mmdb" \
    -H "Token: $SPUR_TOKEN" -L \
    -o ai-latest.mmdb

    The feed is rebuilt every day, typically by 0500 UTC. To get an earlier day, replace latest.json.gz with <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. 2

    Read a record

    Each record lists its bots in one of two fields, never both:

    FieldWhen it's used
    webbotsThe address belongs to the bot's operator and is used only by its bots, such as a crawler range the operator publishes.
    client.webbotsSpur 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 as OPENAI_GPTBOT), a display name, the operator that runs it, a type and one or more categories.

    typeWho the bot acts for
    CRAWLERIts operator, on its own
    AGENTICA person directing it live
    PLATFORMWhoever 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. 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_SEARCH or AI_ASSISTANT. Some bots do more than one job: Googlebot, for example, has both SEARCH_ENGINE and AI_SEARCH.

    This keeps only the records with at least one AI bot, from either field:

    Filter to AI bots
    gzcat ai-latest.json.gz | jq -c '
    select([.webbots[]?, .client.webbots[]?]
    | any(.categories[] | IN("AI_TRAINING", "AI_SEARCH", "AI_ASSISTANT")))
    ' > ai-bots.ndjson

    To see which operators those addresses belong to:

    Count AI bot operators
    jq -r '[.webbots[]?, .client.webbots[]?] | .[].operator' ai-bots.ndjson \
    | sort | uniq -c | sort -rn | head

    On Linux, use zcat instead of gzcat.

  4. 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 log
    jq -r '.ip' ai-bots.ndjson > ai-bot-ips.txt
    awk 'NR==FNR {ai[$1]; next} ($1 in ai)' ai-bot-ips.txt access.log

    The match is on the whole address, so 1.2.3.4 doesn't also match 1.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 same webbots and client fields as the JSON record.

    Bots on shared addresses

    An address in client.webbots also 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. 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.webbots can appear in both. The Context API reports AI operators with its ai object, not these bot fields.

    Questions about the feed? Email support@spur.us.

Related FAQs & guides

FAQSpur Platform & Data

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.

FAQSpur Platform & Data

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.

FAQSpur Platform & Data

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.

FAQSpur Platform & Data

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.

FAQSpur Platform & Data

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.

FAQSpur Platform & Data

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.