API
API documentation
Integrate DN01 tool checks with Bearer-authenticated POST requests to relative /api paths on the same host.
Register & get a tokenBase URL & paths
Call endpoints on your site origin with relative paths — no separate API subdomain.
POST /api/tools/whois
POST /api/tools/dns/all
POST /api/tools/dns/query
…Authentication
Create an account, issue a token, and whitelist the IP of your server or cron job.
- Authorization: Bearer <your_token>
- Requests from IPs not on your allowlist receive HTTP 403.
Tool endpoints
All endpoints accept POST with Content-Type: application/json.
| POST | Path | Sample JSON body |
|---|---|---|
| POST | /api/tools/whois WHOIS lookup | {
"domain": "example.com"
} |
| POST | /api/tools/dns/all DNS — all records | {
"domain": "example.com"
} |
| POST | /api/tools/dns/query DIG — single record | {
"domain": "example.com",
"type": "A"
} |
| POST | /api/tools/domain-ip-lookup Domain IP lookup | {
"domain": "example.com"
} |
| POST | /api/tools/browser-update Browser update checker | {
"userAgent": "Mozilla/5.0 AppleWebKit/537.36 Chrome/120.0.0.0 Safari/537.36"
} |
| POST | /api/tools/domain-age Domain age checker | {
"domain": "example.com"
} |
| POST | /api/tools/dmarc DMARC analyzer | {
"domain": "example.com"
} |
| POST | /api/tools/spf SPF validator | {
"domain": "example.com"
} |
| POST | /api/tools/caa CAA record checker | {
"domain": "example.com"
} |
| POST | /api/tools/email-auth Email Auth Checker | {
"domain": "example.com",
"selectors": [
"google",
"selector1"
]
} |
| POST | /api/tools/url-splitter URL splitter | {
"url": "https://example.com/docs?a=1#top"
} |
| POST | /api/tools/redirect-checker Redirect Checker | {
"url": "https://example.com"
} |
| POST | /api/tools/random-ip Random IP Generator | {
"count": 3
} |
| POST | /api/tools/dkim DKIM record validation | {
"selector": "google",
"domain": "example.com"
} |
| POST | /api/tools/headers HTTP headers | {
"url": "https://example.com"
} |
| POST | /api/tools/http2 HTTP/2 tester | {
"host": "example.com"
} |
| POST | /api/tools/ssl SSL certificate | {
"host": "example.com"
} |
| POST | /api/tools/punycode Punycode converter | {
"input": "пример.рф"
} |
| POST | /api/tools/base64 Base64 encoder/decoder | {
"input": "hello",
"mode": "auto"
} |
| POST | /api/tools/ipcalc IP subnet calculator | {
"input": "192.168.1.0/24"
} |
| POST | /api/tools/blacklist Blacklist / reputation | {
"input": "example.com"
} |
| POST | /api/tools/bin BIN lookup | {
"input": "424242"
} |
| POST | /api/tools/passwords/generate Password generator | {
"length": 16,
"numbers": true,
"symbols": true
} |
| POST | /api/tools/password-strength Password strength checker | {
"password": "sample-not-a-rea"
} |
| POST | /api/tools/passphrase Passphrase generator | {
"words": 4,
"separator": "hyphen",
"numbers": false,
"symbols": false,
"profile": "memorable",
"published": false
} |
Example request
Replace the masked token with a real key from the registration dashboard.
curl -X POST https://dn01.ink/api/tools/whois \
-H 'Authorization: Bearer dn01_y************re' \
-H 'Content-Type: application/json' \
-d '{"domain":"example.com"}'