# NetIntel IP Geolocation

> NetIntel IP Geolocation is a paid API for AI agents from netintel.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Geolocates an IPv4 or IPv6 address, returning city, region, country, coordinates, timezone, ISP, ASN, and a risk grade/score.

## Facts

- Endpoint: GET https://netintel.dev/ip-geo/locate
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-ip-geolocation-f7f569aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AfRO8awJIOnqJPX2DLfyL

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 netintel-ip-geolocation-f7f569aa
```

Example prompt: Can you geolocate the IP address 203.0.113.47 and tell me the city, country, ISP, and risk grade for it?

## When to prefer this

Use this endpoint when you need both geolocation (city, country, coordinates, timezone) and network identity (ISP, ASN, organization) plus a risk/reputation score in a single call. Prefer it over free IP-geo APIs when you also need the risk grade and findings, or when operating in an automated agent workflow that supports x402 micropayments on Base.

## Known failure modes

- Missing or invalid 'ip' query parameter returns an error
- Private/reserved IP ranges (10.x.x.x, 192.168.x.x) may return no geolocation data
- Malformed IP string (not valid IPv4 or IPv6) returns a validation error
- Payment failure or insufficient USDC balance returns HTTP 402
- Newly allocated IPs may have incomplete or stale geolocation data

## How this service works

IP geolocation lookup (geoip / IP location API) — geolocate any IPv4 or IPv6 address to city, region, country, latitude/longitude, timezone, and ISP/ASN as structured JSON so agents can localize content and enrich user records without a paid geolocation subscription. For proxy/VPN/anonymizer or hosting/datacenter detection, use /ip-risk/score or /ip-reputation/analyze.

## Output

A JSON object containing the queried IP, its ASN, ISP, organization, ZIP code, city, region, region name, country, country code, latitude, longitude, timezone, a letter risk grade (e.g. 'A'), a numeric risk score (0-100), and an array of risk findings.

## 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 to geolocate (e.g. 8.8.8.8)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ip": {
       "type": "string"
      },
      "asn": {
       "type": [
        "string",
        "null"
       ]
      },
      "isp": {
       "type": [
        "string",
        "null"
       ]
      },
      "zip": {
       "type": [
        "string",
        "null"
       ]
      },
      "city": {
       "type": [
        "string",
        "null"
       ]
      },
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "region": {
       "type": [
        "string",
        "null"
       ]
      },
      "country": {
       "type": [
        "string",
        "null"
       ]
      },
      "findings": {
       "type": "array",
       "description": "Geo fields are null (score 40) when all upstream geo providers decline — retry later rather than treating as a hard failure"
      },
      "latitude": {
       "type": [
        "number",
        "null"
       ]
      },
      "timezone": {
       "type": [
        "string",
        "null"
       ]
      },
      "longitude": {
       "type": [
        "number",
        "null"
       ]
      },
      "region_name": {
       "type": [
        "string",
        "null"
       ]
      },
      "country_code": {
       "type": [
        "string",
        "null"
       ]
      },
      "organization": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "8.8.8.8",
  "asn": "AS15169",
  "isp": "Google LLC",
  "zip": "20149",
  "city": "Ashburn",
  "grade": "A",
  "score": 100,
  "region": "VA",
  "country": "United States",
  "findings": [],
  "latitude": 39.0438,
  "timezone": "America/New_York",
  "longitude": -77.4874,
  "region_name": "Virginia",
  "country_code": "US",
  "organization": "Google LLC"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-ip-geolocation-f7f569aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
