# ASN Lookup

> ASN Lookup is a paid API for AI agents from flat-rate-llm.kikoribera03.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns authoritative public data about an Autonomous System Number: RDAP registry record, AS name/country/RIR from Team Cymru, and currently announced IPv4/IPv6 prefixes from RIPEstat.

## Facts

- Endpoint: POST https://flat-rate-llm.kikoribera03.workers.dev/v1/red/asn
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/asn-lookup-3742704a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wFTwIT-Ib1b--FfZEcI1A

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 asn-lookup-3742704a -d '<json body>'
```

Example prompt: What do authoritative sources say about ASN 15169 — who holds it, what country and RIR it's registered under, when it was allocated, the abuse contact, and which IPv4 and IPv6 prefixes it's currently announcing in the global routing table?

## When to prefer this

Use this endpoint when you have an ASN (typically obtained from an IP lookup) and need comprehensive, authoritative data about it in a single call — combining registry ownership data, routing metadata, and live BGP prefix announcements without needing separate API keys or accounts. It is the natural follow-up to an IP intelligence lookup that returns an origin ASN.

## Known failure modes

- Invalid or non-existent ASN returns an error or empty result
- ASN not yet allocated returns no RDAP record
- RIPEstat may report no active prefix announcements if the AS is not currently routing
- Team Cymru DNS lookup may return incomplete data for very new or obscure ASNs
- Upstream public sources (RDAP, RIPEstat) may be temporarily unavailable causing partial results

## How this service works

60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.

## Output

Returns a structured object combining: (1) RDAP registry record from the authoritative RIR (holder/organization, status, allocation/registration dates, abuse contact); (2) AS name, country code, and RIR from Team Cymru DNS; (3) currently announced IPv4 and IPv6 prefixes from RIPEstat, split by address family with a sample of each.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "asn"
 ],
 "properties": {
  "asn": {
   "type": "string",
   "description": "The AS number, with or without the AS prefix: 15169 or AS15169."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asn": {
   "type": "number"
  },
  "name": {
   "type": "string"
  },
  "country": {
   "type": "string"
  },
  "prefixes": {
   "type": "object"
  },
  "registry": {
   "type": "string"
  },
  "allocated": {
   "type": "string"
  },
  "announced": {
   "type": "boolean"
  },
  "registry_record": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/asn-lookup-3742704a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flat-rate-llm.kikoribera03.workers.dev](https://www.zero.xyz/host/flat-rate-llm.kikoribera03.workers.dev/llms.txt)
