Quick Start
Quick Start
Get started with the DNS Toolkit API in minutes.
1. Get Your API Key
Sign up and subscribe at RapidAPI to get your API key.
2. Make Your First Request
curl
curl -X GET "https://dns.toolkitapi.io/v1/lookup?domain=toolkitapi.io&type=A" \
-H "X-API-Key: YOUR_KEY"
Python
import httpx
response = httpx.get(
"https://dns.toolkitapi.io/v1/lookup",
params={"domain": "toolkitapi.io", "type": "A"},
headers={"X-API-Key": "YOUR_KEY"},
)
print(response.json())
JavaScript
const response = await fetch(
"https://dns.toolkitapi.io/v1/lookup?domain=toolkitapi.io&type=A",
{ headers: { "X-API-Key": "YOUR_KEY" } }
);
const data = await response.json();
console.log(data);
3. Explore the Response
{
"domain": "toolkitapi.io",
"type": "A",
"records": [
{ "value": "93.184.216.34", "ttl": 3600 }
],
"query_time_ms": 42
}
4. Next Steps
- Browse the full API Documentation
- View Pricing