apipick-ip-geolocation
بواسطة javainthinking
Coding Agents & IDEsموجز
Look up geographic location and network information for any IPv4 or IPv6 address using the apipick IP Geolocation.
الوصف
ما الذي تفعله هذه المهارة
Looks up geographic and network information for any public IPv4 or IPv6 address via the apipick API. Returns country, city, coordinates, timezone, currency, ISP, and ASN. Omitting the IP parameter geolocates the caller's own address.
Returns country, city, timezone, currency, ISP, and ASN in a single request rather than requiring multiple lookups across different services.
متى تستخدمها
- Finding the country and city for a suspicious login IP
- Checking which ISP or ASN owns a particular IP address
- Looking up timezone and currency for an IP to set defaults in an app
- Verifying your own public IP location
- Batch-checking IPs from server access logs
مثال على سير العمل
User asks: what country and ISP does 8.8.8.8 belong to?
- 1
Read APIPICK_API_KEY from environment
- 2
Send GET request to https://www.apipick.com/api/ip-geolocation?ip=8.8.8.8 with x-api-key header
- 3
Parse the response data object
- 4
Format and present country_name, isp, and asn fields to the user
8.8.8.8 is located in United States, operated by Google LLC (ASN 15169).
المتطلبات
- APIPICK_API_KEY environment variable — free key at https://www.apipick.com/dashboard/api-keys
التثبيت
clawhub install javainthinking/apipick-ip-geolocationشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.