कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

ipinfo

tiagom101 द्वारा

Data & Analytics
1.8kclawskills.sh द्वारा बताए गए डाउनलोड
2स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Perform IP geolocation lookups using ipinfo.io API.

विवरण

यह स्किल क्या करती है

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.

इसे कब इस्तेमाल करें

  • 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

उदाहरण वर्कफ़्लो

इनपुट

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

एजेंट
  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

आउटपुट

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

आवश्यकताएँ

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

इंस्टॉलेशन

clawhub install tiagom101/ipinfo

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक