IP and network info
Look up an IP address's network, its reverse DNS name and the registry that allocated it.
GET /v1/ip
- Price
- Costs 1 credit per call; cached answers cost the same. Calls that fail upstream (502) are free.
- Cache
- Answers are cached per account for up to 1 hour; send fresh=true to ask the source again.
- MCP tool
- lookup_ip
Query parameters
| Name | Type | Description |
|---|---|---|
| address (required) | string | A public IPv4 or IPv6 address. |
| fresh | boolean | Skip the cache and ask the source again; costs the same. |
Response
| Name | Type | Description |
|---|---|---|
| tool (required) | string | |
| target (required) | string | |
| status (required) | "ok" | "partial" | "error" | |
| fetched_at | string | |
| cached | boolean | |
| credits_used | integer | Credits this call took from your balance. 0 for free tools, for a replay of an earlier call, and for a free check run on the website without signing in |
| summary (required) | string | |
| score | integer or null | |
| findings | array of object | |
| credits_remaining (required) | integer | Your balance after this call. It can be below zero after a refund; free tools still work then |
| data (required) | object | This tool's result |
| data.address (required) | string | |
| data.version (required) | integer | |
| data.scope (required) | string | |
| data.ptr (required) | object | |
| data.ptr.name (required) | string or null | |
| data.ptr.forward_confirmed (required) | boolean or null | |
| data.ptr.status (required) | "found" | "missing" | "failed" | |
| data.registry (required) | "arin" | "ripe" | "apnic" | "lacnic" | "afrinic" or null | |
| data.rdap (required) | object or null | |
| data.rdap_checked (required) | boolean | |
| data.route (required) | object or null | |
| data.allocation (required) | object or null | |
| data.routing_checked (required) | boolean | |
| data.table (required) | object or null |
Errors
- 400 Invalid domain, URL or parameter, a TLD this tool can't check, or an X-Request-Id already used for another call (`invalid_domain`, `invalid_url`, `invalid_request`, `unsupported_tld`)
- 401 Missing, unknown or revoked API key, or one whose creator is no longer a member of the account (`unauthorized`)
- 402 Balance below the call's price (`insufficient_credits`)
- 403 Account suspended, the key's creator is over the plan's seats, or an anonymous check without a valid proof-of-work or for a tool that needs an account, or bulk checks before a first purchase (`account_suspended`, `plan_limit`, `challenge_required`, `sign_in_required`, `bulk_locked`)
- 429 Too many requests, today's free checks are used up, or too many website scans at once; wait for the number of seconds in the Retry-After header (`rate_limited`, `free_limit_reached`, `too_many_jobs`). Not charged
- 500 Unexpected error (`internal_error`)
- 502 Every upstream source failed; not charged (`source_unavailable`). A Retry-After header says how long to wait when the source asked us to
Example
curl
curl "https://api.dnssuper.com/v1/ip?address=192.0.2.1" \
-H "Authorization: Bearer $DNSSUPER_API_KEY"Python
import os
import httpx
client = httpx.Client(
base_url="https://api.dnssuper.com",
headers={"Authorization": f"Bearer {os.environ['DNSSUPER_API_KEY']}"},
timeout=60,
)
response = client.get("/v1/ip", params={
"address": "192.0.2.1",
})
response.raise_for_status()
result = response.json()
print(result["summary"], result["credits_used"])TypeScript
const response = await fetch(`https://api.dnssuper.com/v1/ip?${new URLSearchParams({"address":"192.0.2.1"})}`, {
headers: { Authorization: `Bearer ${process.env.DNSSUPER_API_KEY}` },
});
if (!response.ok) throw new Error((await response.json()).error.message);
const result = await response.json();
console.log(result.summary, result.credits_used);Example response
{
"tool": "ip-lookup",
"target": "192.0.2.25",
"status": "ok",
"fetched_at": "2026-11-14T10:00:00Z",
"cached": false,
"credits_used": 1,
"summary": "192.0.2.25 is announced by AS64496 (EXAMPLE-NET, NL) in 192.0.2.0/24. It reverses to mail.example.com, which points back to it.",
"findings": [],
"data": {
"address": "192.0.2.25",
"version": 4,
"scope": "documentation",
"ptr": {
"name": "mail.example.com",
"forward_confirmed": true,
"status": "found"
},
"registry": "arin",
"rdap_checked": false,
"route": {
"prefix": "192.0.2.0/24",
"origins": [
{
"number": 64496,
"name": "EXAMPLE-NET",
"description": "Example Network Ltd",
"country": "NL",
"reserved": false
}
],
"moas": false,
"peers": 300,
"covering": []
},
"allocation": {
"registry": "arin",
"country": "US",
"date": "2004-03-01",
"status": "allocated",
"block": "192.0.2.0/24"
},
"routing_checked": true,
"table": {
"built_at": "2026-11-14T04:40:00Z",
"age_hours": 5
}
},
"credits_remaining": 498
}MCP
{
"tool": "lookup_ip",
"arguments": {
"address": "192.0.2.1"
}
}192.0.2.25 is announced by AS64496 (EXAMPLE-NET, NL) in 192.0.2.0/24. It reverses to mail.example.com, which points back to it.
Network: AS64496 EXAMPLE-NET (NL), prefix 192.0.2.0/24
Allocated: ARIN, 2004-03-01
Reverse DNS: mail.example.com (points back to the address)
Registry: ARIN
No issues found.
Credits: 1 credit used, 498 remaining | fresh | checked 2026-11-14 10:00 UTC
Data sources
Routing data: RIPE NCC RIS. AS names: RIPE NCC. Allocations: ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC statistics.