DNSSOR REST API
Version 1.0 — Base URL: https://intodns.com.tr/api/v1
A fast, reliable JSON API for DNS lookups, WHOIS queries, SSL certificate analysis, and IP geolocation. Designed for developers and system administrators.
🔐 Authentication
All requests require an API key. Authenticate via Google to obtain one instantly — no registration form needed.
Option 1 — Header (recommended)
X-API-Key: demo-key-dnssor-2026
Option 2 — Query string
?api_key=demo-key-dnssor-2026
🧪 Demo key for testing:
demo-key-dnssor-2026 (100 req/hour limit)
⚡ Rate Limits
| Plan | Requests/Hour | Cache TTL |
|---|---|---|
| Demo (no auth) | — | — |
| Free (Google login) | 100 | varies |
| Pro (contact us) | 10,000 | varies |
Exceeding limits returns HTTP 429. Headers: X-RateLimit-Remaining
📡 Endpoints
| Method | Endpoint | Description | Cache |
|---|---|---|---|
| GET | /api/v1/dns | DNS lookup (A, AAAA, MX, NS, TXT, CNAME, SOA) | 5 min |
| GET | /api/v1/whois | WHOIS parsed + raw data | 1 hr |
| GET | /api/v1/ssl | SSL certificate details + SAN + days left | 1 hr |
| GET | /api/v1/ip | IP geolocation + ISP + ASN + reverse DNS | 1 hr |
| GET | /api/v1/ping | TCP ping test (4 packets via port 80) | No cache |
| GET | /api/v1/status | API operational status | No cache |
GET /api/v1/dns
Query DNS records for a domain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| domain | string | ✅ | Domain name (e.g. google.com) |
| type | string | — | Record type: A, AAAA, MX, NS, TXT, CNAME, SOA, ALL (default: ALL) |
| server | string | — | DNS server IP (default: 1.1.1.1) |
curl "https://intodns.com.tr/api/v1/dns?domain=google.com&type=MX" \
-H "X-API-Key: demo-key-dnssor-2026"
Response:
{
"success": true,
"data": {
"domain": "google.com",
"server": "1.1.1.1",
"records": [
{ "type": "MX", "name": "google.com", "value": "smtp.google.com", "ttl": 3600, "extras": { "pref": 10 } }
],
"count": 1
},
"timestamp": 1779906625}
GET /api/v1/whois
| Parameter | Required | Description |
|---|---|---|
| domain | ✅ | Domain name |
| raw | — | Set to 1 to include raw WHOIS text |
curl "https://intodns.com.tr/api/v1/whois?domain=google.com&raw=1" \
-H "X-API-Key: demo-key-dnssor-2026"
GET /api/v1/ssl
curl "https://intodns.com.tr/api/v1/ssl?domain=google.com" \
-H "X-API-Key: demo-key-dnssor-2026"
GET /api/v1/ip
| Parameter | Required | Description |
|---|---|---|
| ip | ✅ | IPv4 or IPv6 address |
curl "https://intodns.com.tr/api/v1/ip?ip=8.8.8.8" \
-H "X-API-Key: demo-key-dnssor-2026"
📦 Libraries & SDKs
JavaScript / Node.js
const res = await fetch(
'https://intodns.com.tr/api/v1/dns?domain=google.com',
{ headers: { 'X-API-Key': 'demo-key-dnssor-2026' } }
);
const data = await res.json();
Python
import requests
r = requests.get(
'https://intodns.com.tr/api/v1/dns',
params={'domain': 'google.com'},
headers={'X-API-Key': 'demo-key-dnssor-2026'}
)
Ready to start integrating?
Sign in securely with your Google account to receive your personal, free API key instantly.
Sign in with GoogleNo credit card. No registration form. 100 requests/hour included.