LaunchKit · 2026
Back to Skills

ipinfo

Perform IP geolocation lookups using ipinfo.io API.

2
1.8k downloads
by @tiagom101

Setup & Installation

openclaw skills install @tiagom101/ipinfo

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install ipinfo

What This Skill Does

Looks up geographic data for any IP address using the ipinfo.io API. Returns city, region, country, postal code, timezone, coordinates, and ASN/org info. Works without an API key for up to 50,000 requests per month.

Requires no signup or API key for basic use, unlike most geolocation APIs that gate access behind registration.

When to use it

  • Geolocating IPs from web server access logs
  • Enriching a CSV of IP addresses with country and city fields
  • Detecting a visitor's timezone from their IP address
  • Filtering log entries to requests from a specific country
  • Calculating geographic distance between two IPs using coordinates

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What city, country, and timezone is 8.8.8.8 located in?

AGENT
  1. 1Call https://ipinfo.io/8.8.8.8 via curl
  2. 2Parse the JSON response
  3. 3Extract city, country, and timezone fields
  4. 4Return the formatted result
OUTPUT

8.8.8.8 is in Mountain View, US (timezone: America/Los_Angeles)

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

IPINFO_TOKEN environment variable (optional, required only for rate limits beyond the 50k/month free tier — obtain from ipinfo.io)