arrow_back All endpoints

IP Address Lookup

POST/api/v1/tools/ip-lookup1 credit per callipgeolocationasnispnetwork

Returns the approximate location, ASN, ISP and timezone behind an IP address. Commonly used to attribute traffic in logs or to spot that a request came from a hosting provider rather than a consumer connection.

receipt_long
Why 1 credit?

One cached lookup against a geolocation dataset. Repeat lookups of the same address inside the cache window cost us nothing extra.

Any HTTP client works. Replace the key with one from your dashboard.

bash
curl -X POST https://toolkitbackend-j69m.onrender.com/api/v1/tools/ip-lookup \
  -H "Authorization: Bearer tb_live_<your_api_key>" \
  -H "Content-Type: application/json" \
  -d '{
  "ip": "8.8.8.8"
}'

Input

FieldTypeRequiredDefaultDescription
ipstringrequired- IPv4 or IPv6 address to look up.

Output

FieldTypeDescription
ipstringThe address that was looked up.
countrystringCountry name.
citystringCity, when the dataset can resolve one.
asnstringAutonomous system number of the owning network.
ispstringNetwork operator.
timezonestringIANA timezone identifier.

Try it

Sends a real POST /api/v1/tools/ip-lookup from your browser and charges 1 credit to your account.

Sign in to run this endpoint. New accounts start with free credits.