What it does
Two HTTPS GET endpoints over the same passive DNS index that powers this site:
/reverse-ip-lookup?ip=…returns the domains hosted on an IPv4 or IPv6 address./subdomain-lookup?domain=…returns the known subdomains of a domain.
Why use it
- Passive data: nothing is scanned, so lookups are fast and leave no trace on the target.
- Works from anything that can fetch a URL: curl, Python, Go, SIEM enrichment, recon pipelines next to amass or nuclei.
- Predictable limits: every response has
X-RateLimit-*headers, and errors carry a stableerrorcode. - IPv6 handled properly: any valid spelling of an address is accepted and normalised.
Quick start
bash · free plan, no key
curl -s "https://api.dnsrift.net/subdomain-lookup?domain=example.com" | jq -r '.subdomains[]'
bash · paid plan
curl -s -H "X-API-Key: dnsrift_your_key_here" "https://api.dnsrift.net/reverse-ip-lookup?ip=8.8.8.8&limit=1000"
python
import requests
r = requests.get("https://api.dnsrift.net/reverse-ip-lookup", params={"ip": "8.8.8.8"}, timeout=30)
r.raise_for_status()
print(r.json()["count"], "domains")
Plans
Free: 15,000 requests per day per IP. Professional: 1,000,000 requests per 30 days for $50. Enterprise: 3,000,000 requests per 30 days for $100. Details on the pricing page; parameters, errors and limits in the documentation.