WhoisXML API · Enrichment
Geolocation, ISP and ASN for an IP with the WhoisXML API
Location (country, region, city, coordinates, timezone), ISP, ASN and connection type for one public IPv4 or IPv6 address. You call it with one looot token, no WhoisXML account needed. It takes ip as required input. Each call costs $0.00049 per call. Over the last 30 days looot ran it 16 times: 100% finished without an error, median answer 877 ms.
- Price
- $0.00049 per call
- Success rate, 30 days
- 100%
- Runs, 30 days
- 16
- Access
- looot token only
Geolocation, ISP and ASN for an IP: call it from code
One POST to /v1/runs with your looot token, the endpoint id whoisxml-ip-geolocation and an input. Values come from the stored input schema; a value in <angle brackets> is a placeholder the schema gives no example for.
| Input | Type | Value shown |
|---|---|---|
| ip | string | placeholder |
POST /v1/runs
curl -X POST 'https://api.looot.ai/v1/runs?wait=true' \
-H 'Authorization: Bearer YOUR_LOOOT_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"endpointId":"whoisxml-ip-geolocation","input":{"ip":"<string>"},"idempotencyKey":"<unique-idempotency-key>"}'import uuid
import requests
response = requests.post(
"https://api.looot.ai/v1/runs?wait=true",
headers={"Authorization": "Bearer YOUR_LOOOT_TOKEN"},
json={
"endpointId": "whoisxml-ip-geolocation",
"input": {
"ip": "<string>",
},
"idempotencyKey": str(uuid.uuid4()),
},
)
print(response.json())const response = await fetch("https://api.looot.ai/v1/runs?wait=true", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_LOOOT_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
endpointId: "whoisxml-ip-geolocation",
input: {
"ip": "<string>"
},
idempotencyKey: crypto.randomUUID(),
}),
});
console.log(await response.json());Price and reliability
- Price formula
- $0.00049 per call
- Most one run can cost
- $0.00049
- Success rate, 30 days
- 100%
- Runs, 30 days
- 16
- Median answer time
- 877 ms
- Last success
- Nov 22, 2026
Run numbers are looot's own runs of each endpoint over the last 30 days: the share that completed without an error, and the median time to answer. An endpoint with fewer than 10 runs in that window shows "not enough runs to rank" and is never ranked. Prices are what looot charges per call or per result, fee included, read from the live catalog; you prepay credit and each call is charged when it runs.
Other providers for this job
| Endpoint | Price | Success rate, 30 days |
|---|---|---|
| Returns information about the provided IP.IPinfo | $0.0005 per call | 99.9% of 982 runs |
| Returns lightweight IP information about the provided IP.IPinfo | free | 99.9% of 976 runs |
More WhoisXML endpoints
- WHOIS record for a domain, IP or email
$0.025 per call
100% of 42 runs
- DNS records for a domain
$0.007 per call
not enough runs to rank
- Domains hosted on an IP
$0.095 per call
not enough runs to rank
- IP range owner for an IP
$0.0069 per call
not enough runs to rank
- Is a domain available to register
$0.019 per call
not enough runs to rank
Questions about the WhoisXML API on looot
Give your agent every data provider, one key.
Everyone gets $2 in free credits once after sign-in and workspace selection. Then pay only for what you use.