Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

apipick-ip-geolocation

bởi javainthinking

Coding Agents & IDEs
337Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Look up geographic location and network information for any IPv4 or IPv6 address using the apipick IP Geolocation.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: what country and ISP does 8.8.8.8 belong to?

AGENT
  1. 1

    Read APIPICK_API_KEY from environment

  2. 2

    Send GET request to https://www.apipick.com/api/ip-geolocation?ip=8.8.8.8 with x-api-key header

  3. 3

    Parse the response data object

  4. 4

    Format and present country_name, isp, and asn fields to the user

ĐẦU RA

8.8.8.8 is located in United States, operated by Google LLC (ASN 15169).

Yêu cầu

  • APIPICK_API_KEY environment variable — free key at https://www.apipick.com/dashboard/api-keys

Cài đặt

clawhub install javainthinking/apipick-ip-geolocation

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết