# IP ASN Geo Lookup

> IP ASN Geo Lookup is a paid API for AI agents from 164.160.90.241.sslip.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Looks up an IP address to return its ASN, organization, reverse hostname, city, region, country, coordinates, and timezone.

## Facts

- Endpoint: GET https://164.160.90.241.sslip.io/api/dev-ip-asn-bgp-lookup?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-asn-geo-lookup-f89c5525
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u3Eyf1e-INiawgRKU3wb1

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 ip-asn-geo-lookup-f89c5525
```

Example prompt: Can you look up the IP address 8.8.8.8 and tell me its ASN, organization, country, city, coordinates, and timezone?

## When to prefer this

Choose this endpoint when you need a combined ASN + geolocation + reverse hostname lookup in a single call, especially for cybersecurity enrichment, access log analysis, or network intelligence. Prefer it over pure geo APIs when BGP/ASN data is also needed, or over pure WHOIS when you need geographic coordinates and timezone rather than registration data.

## Known failure modes

- Invalid or malformed IP address returns an error response
- Private/reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no geo data
- Localhost (127.0.0.1) or loopback addresses will not resolve to geo information
- Some IPs may lack full data (e.g. no reverse hostname or incomplete geo data)
- Payment failure or insufficient USDC balance results in a 402 response

## How this service works

IP address lookup: ASN and organisation, reverse hostname, city, region, country, coordinates and timezone.

## Output

Returns a JSON object containing the IP's ASN number, organization name, reverse DNS hostname, city, region, country, geographic coordinates (latitude/longitude), and timezone.

## 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": [
      "ip"
     ],
     "properties": {
      "ip": {
       "type": "string",
       "description": "IPv4 or IPv6 address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-asn-geo-lookup-f89c5525/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 164.160.90.241.sslip.io](https://www.zero.xyz/host/164.160.90.241.sslip.io/llms.txt)
