Developer API
Integrate our security and validation tools into your own apps and workflows. No API key required.
Base URL
https://smartdomaincheck.comAll data endpoints accept POST with application/json. Rate-limited responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and on 429 a Retry-After header (seconds).
Health check
GET https://smartdomaincheck.com/api/health — Returns 200 and { status: "ok", timestamp }. No auth. Use for uptime checks.
Endpoints
Link safety check (single)
Check one URL for spam/phishing. Follows redirects and uses Google Safe Browsing.
{
"url": "https://example.com"
}Bulk URL checker
Check up to 10 URLs in one batch. Sequential processing.
{
"url": "https://example.com"
}{
"urls": [
"https://a.com",
"https://b.com"
]
}Email validation
Validate syntax, MX records, and flag disposable/role-based addresses.
{
"email": "user@example.com"
}URL unwrapper
Follow up to 10 redirects and return the full chain.
{
"url": "https://bit.ly/xxxx"
}DNS lookup
Look up A, AAAA, MX, TXT, CNAME, NS records.
{
"domain": "example.com"
}WHOIS lookup
Return WHOIS raw text and parsed metadata.
{
"domain": "example.com"
}HTTP headers
Fetch status code and security-focused response headers.
{
"url": "https://example.com"
}SSL certificate
Connect via TLS and return certificate chain details.
{
"domain": "example.com"
}Error Handling
400 Bad Request
Invalid input or malformed JSON body. Check your request format.
429 Rate Limit
Too many requests. Response includes Retry-After (seconds). Wait before retrying.
500 Server Error
An unexpected error occurred our side. Please try again later.

