# SignalDesk AI IP Routing Lookup

> SignalDesk AI IP Routing Lookup is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns BGP routing information (ASN, prefix, and source metadata) for a given IPv4 or IPv6 address via RIPEstat data.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/security/ip-routing?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-ip-routing-lookup-20cccd62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xSOLn-pUmFF8GsO4NltNp

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 signaldesk-ai-ip-routing-lookup-20cccd62
```

Example prompt: What ASN and BGP prefix is the IP address 8.8.8.8 routed through? I need the routing details for a security investigation.

## When to prefer this

Prefer this endpoint when you need BGP-level routing intelligence (ASN and prefix) for a specific IP address, sourced from authoritative RIPEstat data, and you are operating in an x402 micropayment-enabled agent workflow. At $0.002 per call it is cost-effective for per-IP enrichment. Choose it over free alternatives when you need verified, timestamped, cacheable routing data with provenance metadata included in the response.

## Known failure modes

- Invalid IP format returns a 400 or validation error — IP must match IPv4 or IPv6 pattern
- IP address not found in RIPEstat data returns empty or null ASN/prefix fields
- Payment not provided or insufficient — returns 402 Payment Required
- Stale or expired cached data may be returned if RIPEstat feed is delayed
- Cloudflare Worker timeout if upstream RIPEstat API is slow or unavailable

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

A JSON object containing the queried IP address, a list of ASN numbers (e.g. ['15169']), the BGP routing prefix (e.g. '8.8.8.0/24'), and a source object with the data provider name (RIPEstat), the source URL, when the data was fetched, when it expires, and a flag indicating the data was transformed.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "ip"
     ],
     "properties": {
      "ip": {
       "type": "string",
       "pattern": "^[0-9A-Fa-f:.]+$",
       "maxLength": 45,
       "minLength": 3,
       "description": "IPv4/IPv6 address."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "8.8.8.8",
  "asns": [
   "15169"
  ],
  "prefix": "8.8.8.0/24",
  "source": {
   "provider": "RIPEstat",
   "expires_at": "2026-10-02T10:44:48.582Z",
   "fetched_at": "2026-10-02T09:44:48.582Z",
   "source_url": "https://stat.ripe.net/data/network-info/data.json?resource=8.8.8.8",
   "transformed": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-ip-routing-lookup-20cccd62/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
