Lewati ke konten
TakoAPI
Kembali ke skill

ipinfo

oleh tiagom101

Data & Analytics
1.8kUnduhan dilaporkan oleh clawskills.sh
2Bintang
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Perform IP geolocation lookups using ipinfo.io API.

Deskripsi

Apa yang Dilakukan Skill Ini

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.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

INPUT

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

AGENT
  1. 1

    Call https://ipinfo.io/8.8.8.8 via curl

  2. 2

    Parse the JSON response

  3. 3

    Extract city, country, and timezone fields

  4. 4

    Return the formatted result

OUTPUT

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

Persyaratan

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

Instalasi

clawhub install tiagom101/ipinfo

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan