# GetApi IP Lookup

> GetApi IP Lookup is a paid API for AI agents from api.getapi.nl, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Looks up geolocation, ISP, ASN, and hosting status for a given IP address

## Facts

- Endpoint: GET https://api.getapi.nl/api/v1/lookup/ip
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/getapi-ip-lookup-de43094f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y770iuVUCRwsRB9sBov3X

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 getapi-ip-lookup-de43094f
```

Example prompt: Can you look up the location and ISP for the IP address 8.8.8.8 and tell me what city, country, and organization it belongs to, and whether it's a hosting provider?

## When to prefer this

Choose this endpoint when you need a quick, affordable ($0.01/call) IP geolocation lookup that also includes ISP, ASN, organization, and hosting-provider detection in a single call. It is well-suited for fraud detection, content personalization, and network auditing workflows where knowing whether an IP is a hosting/datacenter IP matters.

## Known failure modes

- IP address not found or unrecognized — returns found: false
- Invalid IP address format — likely returns an error response
- Private/reserved IP ranges may not return meaningful geolocation data
- Payment failure via x402 protocol results in 402 response before data is returned

## How this service works

Ontdek, test en integreer krachtige API&#039;s voor web scraping, e-mailvalidatie, geolocatie
    en meer. Gratis starten.

## Output

Returns a JSON object with the IP's city, region, country, country code, ZIP code, latitude, longitude, ISP name, AS number, organization name, a boolean indicating whether the IP belongs to a hosting provider, and a 'found' flag indicating whether the lookup succeeded.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "ip": "1.1.1.1"
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {
     "as": "AS15169 Google LLC",
     "ip": "8.8.8.8",
     "isp": "Google LLC",
     "lat": 37.4056,
     "lon": -122.0775,
     "org": "Google Public DNS",
     "zip": "94043",
     "city": "Mountain View",
     "found": true,
     "region": "California",
     "country": "United States",
     "is_hosting": false,
     "country_code": "US"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as": "AS15169 Google LLC",
  "ip": "8.8.8.8",
  "isp": "Google LLC",
  "lat": 37.4056,
  "lon": -122.0775,
  "org": "Google Public DNS",
  "zip": "94043",
  "city": "Mountain View",
  "found": true,
  "region": "California",
  "country": "United States",
  "is_hosting": false,
  "country_code": "US"
 }
}
```

## More

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