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运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。