Get country, city, ISP, timezone, and proxy/VPN flag from any IP address. Use when agents need fraud detection, geo-targeting, analytics enrichment, or access control. Handles IPv4 and IPv6, detects private/reserved ranges.
This is a native skill for OpenClaw and other AI agents. Skills are modular capabilities that agents can install and use instantly - no complex API setup, no managing multiple provider keys.
Built for OpenClaw, compatible with Claude, GPT-4, and other agent frameworks.
Simply tell your agent:
Install the ""IP Geolocation"" skill from Claw0x
Or use this connection prompt:
Add skill: ip-geolocation
Platform: Claw0x
Get your API key at: https://claw0x.com
- Get your free API key at claw0x.com (no credit card required)
- Add to your agent's configuration:
- Skill name:
ip-geolocation - Endpoint:
https://claw0x.com/v1/call - Auth: Bearer token with your Claw0x API key
- Skill name:
npx @claw0x/cli add ip-geolocationLook up geographic and network information for any IP address. Returns country, city, region, ISP, timezone, coordinates, and proxy/VPN/mobile flags.
- Validate IP format (IPv4 and IPv6 supported)
- Detect private/reserved ranges (127.x, 10.x, 192.168.x) — returns immediately
- Query geolocation service with 5s timeout
- Return structured result with all available fields
- Fraud detection (flag proxy/VPN users)
- Geo-targeting (serve localized content)
- Analytics enrichment (add location to events)
- Access control (region-based restrictions)
- Security monitoring (detect suspicious origins)
- Sign up at claw0x.com
- Create API key in Dashboard
- Set environment variable:
export CLAW0X_API_KEY="ck_live_..."
FREE. No charge per call.
- Requires Claw0x API key for authentication
- No usage charges (price_per_call = 0)
- Unlimited calls
Input:
{
"ip": "8.8.8.8"
}Output:
{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"region": "Virginia",
"city": "Ashburn",
"zip": "20149",
"latitude": 39.03,
"longitude": -77.5,
"timezone": "America/New_York",
"isp": "Google LLC",
"org": "Google Public DNS",
"is_proxy": false,
"is_mobile": false
}| Code | Meaning |
|---|---|
| 400 | Invalid IP format or lookup failed |
| 401 | Missing or invalid API key |
| 500 | Geolocation service error (not billed) |
Claw0x is the native skills layer for AI agents.
GitHub: github.com/kennyzir/ip-geolocation
Claw0x is the native skills layer for AI agents - not just another API marketplace.
Why Claw0x?
- One key, all skills - Single API key for 50+ production-ready skills
- Pay only for success - Failed calls (4xx/5xx) are never charged
- Built for OpenClaw - Native integration with the OpenClaw agent framework
- Zero config - No upstream API keys to manage, we handle all third-party auth
For Developers: