Reverse DNS Lookup API

GET

Identify the hostnames behind any IPv4 or IPv6 address.

Reverse DNS Lookup resolves IPv4 and IPv6 addresses into their associated hostnames via PTR records. Pass any IP address to check if reverse records exist and receive all matching hostnames.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/reversednslookup?ip=8.8.8.8
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "ip": "8.8.8.8",
    "hostname": "dns.google",
    "ptr": [
      "dns.google"
    ],
    "found": true
  }
}

About the Reverse DNS Lookup API

Reverse DNS Lookup works by querying the PTR record for an IP address to find its associated hostname. This is useful for identifying servers, verifying email sender authenticity, and network troubleshooting.

What people use it for

Email Verification
Verify email sender authenticity by checking if the sending IP has a valid reverse DNS entry matching the sender domain
Server Identification
Identify what server or service is running on an IP address by looking up its hostname
Network Troubleshooting
Diagnose network issues by verifying that IP addresses resolve to expected hostnames
Security Analysis
Investigate suspicious IPs by discovering their associated hostnames and infrastructure

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Reverse DNS Lookup

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Reverse DNS Lookup API.

Read the docs →
Does the lookup work for both IPv4 and IPv6 addresses?
Yes. You can pass standard IPv4 addresses or IPv6 addresses. Reverse DNS Lookup queries the PTR record for either format and returns the resolved hostnames.
What happens if an IP address does not have a PTR record?
The API sets the found field to false and provides a explanation in the message field. Your request completes cleanly without unhandled DNS timeouts, allowing your application to handle missing reverse records predictably.
Can an IP address return more than one hostname?
Yes. The primary match appears in the hostname field, and all resolved PTR records are returned in the ptr array so you can inspect every configured domain name.
How fresh are the reverse DNS records returned?
Every query resolves in real time directly from DNS. You receive current PTR records rather than stale cached data, which is essential when validating email senders or investigating live security alerts.
What would checking 10,000 IP addresses a month cost me?
That volume uses 100,000 credits, which fits well within the Starter plan allowance of 200,000 credits. At 10 credits per call, lookups work out to about $1.50 per 1,000 calls on Starter. The Free plan includes 20 calls per month for testing.
Can I use resolved hostnames inside my commercial security tool?
Yes, commercial use is fully permitted on any paid plan. You can use resolved hostnames inside your application for fraud detection, log enrichment, or server identification, provided you do not resell or redistribute the raw data as-is.

Ready to build with Reverse DNS Lookup? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs