# VendSDK IP Geolocation Lookup

> VendSDK IP Geolocation Lookup is a paid API for AI agents from vendsdk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns country, city, organization, and ASN for a given IPv4 or IPv6 address for fraud detection and routing decisions

## Facts

- Endpoint: GET https://vendsdk.com/api/v/ip-lookup
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vendsdk-ip-geolocation-lookup-af7e7ea2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_66903SwHsMZadAJpyVXsY

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 vendsdk-ip-geolocation-lookup-af7e7ea2
```

Example prompt: Can you geolocate 203.0.113.42 for me — I need the country, city, org, and ASN to check if it looks legit before processing the transaction?

## When to prefer this

Choose this endpoint when you need real-time IP geolocation enriched with organization and ASN data in a single lightweight call, especially for fraud screening or routing agents that need sub-second responses. Prefer it over batch geolocation services when processing one IP at a time inline with a transaction or request flow, and when you want a pay-per-call model rather than a subscription.

## Known failure modes

- Invalid or malformed IP address returns an error or ok:false
- Private/reserved IP ranges may return no geolocation data
- Rate limiting or payment failure returns HTTP 402
- Upstream geolocation database may have stale or missing entries for rare IP blocks
- IPv6 coverage may be less precise than IPv4

## How this service works

Live IP geolocation: country, city, org, and ASN for fraud and routing agents

## Output

Returns a JSON object containing the queried IP address, a boolean ok field indicating success, the organization name (org), country code, and a service identifier. Useful for quickly determining geographic origin and network ownership of any IPv4 or IPv6 address.

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

## More

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