Domain & IP Lookup API
WHOIS/RDAP, domain availability, DNS records, SSL certificates, subdomain finder, IP geolocation with ASN & abuse contacts, ASN lookup.
Get a free API key on RapidAPI Try it in the playgroundDomain & IP Lookup API
A domain and network intelligence toolkit in one API.
🌐 Domains
WHOIS / RDAP: registrar with abuse contact, creation and expiry dates, days until expiry, status, nameservers and DNSSEC. Plus a domain availability check.
🔎 DNS
All records at once (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA), or chosen types, plus SPF and DMARC.
🔒 SSL & Subdomains
Current TLS certificates (issuer, SANs, days left) and a subdomain finder using Certificate Transparency logs.
📍 IP & ASN
IP geolocation (country, city, coordinates), ASN and owner, prefix, abuse contacts and reverse DNS, for IPv4 and IPv6. Plus ASN lookups with announced prefixes.
Use cases: security and recon tools · domain investing · brand protection · SEO · fraud checks · expiry monitoring
Keywords: whois api, rdap api, domain availability api, dns lookup api, ssl certificate api, subdomain finder api, ip geolocation api, asn lookup, ip lookup api
Endpoints (7)
| Endpoint | What it returns |
|---|---|
GET/whois | WHOIS / RDAP lookup Registrar (with abuse contact), registrant (when public), creation, update and expiry dates, days until expiry, status codes, nameservers and DNSSEC. |
GET/availability | Domain availability Is the domain registered or available? |
GET/dns | DNS records A, AAAA, MX, NS, TXT, CNAME, SOA, CAA (all at once) or chosen types, plus SPF and DMARC. |
GET/ssl | SSL certificates Current and recent valid TLS certificates: issuer, names (SANs), validity dates, days left - from Certificate Transparency. |
GET/subdomains | Subdomain finder Subdomains discovered from valid certificates in Certificate Transparency logs. |
GET/ip | IP lookup & geolocation Country, city and coordinates, ASN and network owner, prefix, abuse contacts and reverse DNS for any IPv4/IPv6. |
GET/asn | ASN lookup Autonomous system name, registry block and announced IPv4/IPv6 prefixes. |
Quick start
Subscribe on RapidAPI (free plan available), copy your key, and call GET /whois:
curl --request GET \
--url 'https://domain-ip-lookup-api.p.rapidapi.com/whois?domain=google.com' \
--header 'x-rapidapi-host: domain-ip-lookup-api.p.rapidapi.com' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'import requests
url = "https://domain-ip-lookup-api.p.rapidapi.com/whois?domain=google.com"
headers = {
"x-rapidapi-host": "domain-ip-lookup-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
}
resp = requests.get(url, headers=headers)
print(resp.json())const res = await fetch("https://domain-ip-lookup-api.p.rapidapi.com/whois?domain=google.com", {
method: "GET",
headers: {
"x-rapidapi-host": "domain-ip-lookup-api.p.rapidapi.com",
"x-rapidapi-key": "YOUR_RAPIDAPI_KEY"
}
});
console.log(await res.json());
Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.
Subscribe on RapidAPIRelated APIs
Fake Data Generator API - Mock & Test Data
Generate realistic fake data for testing: persons, addresses, companies, products, cards & IBANs, internet data, lorem ipsum, custom schemas, CSV.
ToolsPackage Registry API - npm, PyPI, crates, gems
One API for npm, PyPI, crates.io & RubyGems: package details, versions, dependencies, download stats, search, comparison and security advisories.
ToolsPassword Security API - Breach & Strength
Check if a password was leaked in data breaches (900M+ pwned passwords), score its strength, generate secure passwords & passphrases, hash text.
ToolsQR Code & Barcode Generator API
Generate QR codes (URL, Wi-Fi, vCard, email, SMS, event…) and 30 barcode types (Code128, EAN-13, UPC, DataMatrix, PDF417…) as PNG or SVG.
ToolsURL Shortener & Link Analytics API
Short links with custom aliases, expiry & click limits, full click analytics (countries, referrers, devices), bulk shortening, link expander and malware screeni
ToolsWorld Time & Timezone API
Current time in any timezone or city, timezone conversion, DST transitions, time difference, meeting planner and business-day calculator.