Free DNS and domain tools API. No authentication required.
https://dns-lookup.comJSONNone (Public)This API is free for reasonable use. Please be respectful and avoid excessive requests. For high-volume needs, consider running your own instance or contact us.
const response = await fetch('https://dns-lookup.com/api/dns?domain=example.com');
const data = await response.json();
console.log(data.records);curl "https://dns-lookup.com/api/dns?domain=example.com&types=A,MX"import requests
response = requests.get('https://dns-lookup.com/api/dns', params={
'domain': 'example.com',
'types': 'A,MX,TXT'
})
data = response.json()
print(data['records'])Questions or issues? Contact us