# agentsvc.io IP Lookup

> agentsvc.io IP Lookup is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.0055/call, status unknown (last checked 2026-10-10).

Looks up geolocation, ISP, ASN, and organization data for a given IPv4 or IPv6 address

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/ip-lookup?utm_source=zero.xyz
- Price: $0.0055/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentsvc-io-ip-lookup-b41ab44d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8vHBh_kWcrb3FxGL9A7YJ

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 agentsvc-io-ip-lookup-b41ab44d -d '<json body>'
```

Example prompt: Can you look up the location and ISP details for the IP address 203.0.113.42 — I need the city, country, ASN, and organization name.

## When to prefer this

Choose this endpoint when your agent needs to enrich an IP address with geolocation, ISP, ASN, or organization data without setting up an account or API key — especially useful for pay-per-call agent workflows using x402/USDC on Base. Ideal for one-off lookups or low-volume enrichment where subscription-based IP intelligence services are overkill.

## Known failure modes

- Invalid IP address format returns an error
- Private or reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no geolocation data
- Payment failure via x402/USDC prevents the call from completing
- Unknown or unregistered IPs may return partial data with some fields null

## How this service works

86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.

## Output

Returns a JSON object containing the IP's geolocation (city, region, country, country_code, postal code, latitude, longitude), network details (ASN, ISP, organization name), and timezone. Example: city 'Ashburn', country 'United States', ASN 'AS15169', ISP 'Google LLC'.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ip": {
   "type": "string",
   "description": "IPv4 or IPv6 address to look up (e.g. '8.8.8.8' or '2001:4860:4860::8888')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "ip": "8.8.8.8",
   "asn": "AS15169",
   "isp": "Google LLC",
   "lat": 39.0438,
   "lon": -77.4874,
   "org": "Google Public DNS",
   "city": "Ashburn",
   "postal": "20149",
   "region": "Virginia",
   "country": "United States",
   "timezone": "America/New_York",
   "country_code": "US"
  },
  "success": true
 }
}
```

## More

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