# IP Lookup – Geolocation, ASN, ISP & Proxy Status

> IP Lookup – Geolocation, ASN, ISP & Proxy Status is a paid API for AI agents from ipx402.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Resolves an IPv4 or IPv6 address to its geolocation, ASN, ISP, and proxy/VPN status

## Facts

- Endpoint: GET https://ipx402.com/v1/ip
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-lookup-geolocation-asn-isp-proxy-status-94597e53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0WTy_x-pHDn2pQstBw4BM

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-lookup-geolocation-asn-isp-proxy-status-94597e53
```

Example prompt: Can you look up the IP address 203.0.113.42 and tell me what country it's from, who the ISP is, and whether it's a known proxy or VPN?

## When to prefer this

Choose this endpoint when you need a single-call resolution of an IP address into geolocation plus network metadata (ASN, ISP) plus proxy/VPN detection in one response. It covers both IPv4 and IPv6 and returns structured JSON ready for downstream use. Prefer this over raw WHOIS lookups when you need city-level geo data and proxy flagging combined, or over pure geo APIs when ISP and ASN context also matter.

## Known failure modes

- Invalid or malformed IP address returns success: false with no geolocation data
- Private/reserved IP ranges (e.g. 192.168.x.x) may return valid: false or empty geolocation
- Unknown or unallocated IPs may return partial data with missing city/region fields
- Network timeout or upstream service unavailability returns a non-200 code field
- Payment failure (insufficient USDC balance) blocks the request before it reaches the lookup service

## How this service works

Geolocation, ASN, proxy and threat intelligence for any IP address.

## Output

Returns a JSON object with the IP's validity flag, city, region, country, ISO alpha-2 country code, latitude, longitude, zip code, timezone, ASN, ISP name, IP version, a boolean is_proxy flag, and when applicable a proxy sub-object with proxy type, domain, city, and country.

## 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",
       "minLength": 3,
       "description": "IPv4 or IPv6 address to look up, e.g. \"8.8.8.8\"."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "IP"
     ],
     "properties": {
      "IP": {
       "type": "object",
       "required": [
        "IP",
        "valid"
       ],
       "properties": {
        "IP": {
         "type": "string"
        },
        "asn": {
         "type": "string"
        },
        "isp": {
         "type": "string"
        },
        "city": {
         "type": "string"
        },
        "proxy": {
         "type": "object",
         "properties": {
          "isp": {
           "type": "string"
          },
          "type": {
           "type": "string"
          },
          "domain": {
           "type": "string"
          },
          "city_name": {
           "type": "string"
          },
          "country_name": {
           "type": "string"
          }
         },
         "description": "Present when the address is a known proxy."
        },
        "valid": {
         "type": "boolean"
        },
        "alpha2": {
         "type": "string",
         "description": "ISO country code."
        },
        "region": {
         "type": "string"
        },
        "country": {
         "type": "string"
        },
        "is_proxy": {
         "type": "boolean",
         "description": "True when the address is a known proxy or VPN."
        },
        "latitude": {
         "type": "number"
        },
        "zip_code": {
         "type": "string"
        },
        "longitude": {
         "type": "number"
        },
        "time_zone": {
         "type": "string"
        },
        "ip_version": {
         "type": "integer"
        }
       },
       "description": "Geolocation, ne
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "IP": {
   "IP": "8.8.8.8",
   "asn": "62240",
   "isp": "Clouvider Limited",
   "city": "Dallas",
   "valid": true,
   "country": "United States of America",
   "is_proxy": false
  },
  "code": 200,
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-lookup-geolocation-asn-isp-proxy-status-94597e53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ipx402.com](https://www.zero.xyz/host/ipx402.com/llms.txt)
