# Saylor Innovations ASN Prefix Lookup

> Saylor Innovations ASN Prefix Lookup is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

Returns announced IPv4 and IPv6 BGP prefixes, holder information, and registry block data for a given Autonomous System Number (ASN) via RIPEstat

## Facts

- Endpoint: GET https://saylorinnovations.com/api/net/asn-prefixes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-asn-prefix-lookup-2e7e0b57
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zCyHR5B35XWjhh8GmjxHk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-asn-prefix-lookup-2e7e0b57
```

Example prompt: What IPv4 and IPv6 prefixes is AS13335 currently announcing in BGP, and who holds that ASN?

## When to prefer this

Use this endpoint when you need authoritative BGP routing data — specifically the currently announced IP prefix ranges for a given ASN — sourced from RIPEstat/RIPE NCC. Prefer it over generic WHOIS tools when you need structured IPv4 and IPv6 prefix arrays with counts, not just holder text. It is ideal for network reconnaissance, threat intelligence enrichment, ISP footprint analysis, or validating whether an ASN is actively routing traffic in the global BGP table.

## Known failure modes

- Invalid or malformed ASN input returns an error
- ASN not found in RIPEstat database returns empty or null holder
- ASN exists but has no active BGP announcements — announced=false with empty prefix arrays
- Prefix list truncated when ASN announces an extremely large number of routes (truncated=true)
- Upstream RIPEstat API unavailability causes request failure

## How this service works

Autonomous system holder and announced IP prefixes by ASN from RIPEstat - IPv4 and IPv6 ranges currently routed in BGP and registry block information

## Output

A JSON object containing the ASN number, holder name (or null), whether the ASN is currently announced in BGP, arrays of IPv4 and IPv6 prefix strings currently routed, prefix counts broken down by IP version, the registry block string, the data source (RIPEstat), the BGP observation window, and a truncation flag indicating if the prefix list was cut short.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "asn"
     ],
     "properties": {
      "asn": {
       "type": "string",
       "description": "Autonomous system number, e.g. 3333 or AS3333"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "asn",
      "announced"
     ],
     "properties": {
      "asn": {
       "type": "number"
      },
      "holder": {
       "type": [
        "string",
        "null"
       ]
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "window": {
       "type": "object"
      },
      "announced": {
       "type": "boolean"
      },
      "truncated": {
       "type": "boolean",
       "description": "True when the list was cut at the limit"
      },
      "ipv4_prefixes": {
       "type": "array",
       "description": "Ipv4 prefixes"
      },
      "ipv6_prefixes": {
       "type": "array",
       "description": "Ipv6 prefixes"
      },
      "prefix_counts": {
       "type": "object",
       "description": "Prefix counts"
      },
      "registry_block": {
       "type": [
        "string",
        "null"
       ],
       "description": "Registry block"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-asn-prefix-lookup-2e7e0b57/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
