Smart Domain Check Logo
Back to home

Developer API

Integrate our security and validation tools into your own apps and workflows. No API key required.

Base URL

https://smartdomaincheck.com

All 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)

POST30 req/min

Check one URL for spam/phishing. Follows redirects and uses Google Safe Browsing.

https://smartdomaincheck.com/api/check-url
{
  "url": "https://example.com"
}

Bulk URL checker

POST60 req/min

Check up to 10 URLs in one batch. Sequential processing.

https://smartdomaincheck.com/api/check
{
  "url": "https://example.com"
}
Bulk alternative:
{
  "urls": [
    "https://a.com",
    "https://b.com"
  ]
}

Email validation

POST30 req/min

Validate syntax, MX records, and flag disposable/role-based addresses.

https://smartdomaincheck.com/api/check-email
{
  "email": "user@example.com"
}

URL unwrapper

POST30 req/min

Follow up to 10 redirects and return the full chain.

https://smartdomaincheck.com/api/unwrap
{
  "url": "https://bit.ly/xxxx"
}

DNS lookup

POST30 req/min

Look up A, AAAA, MX, TXT, CNAME, NS records.

https://smartdomaincheck.com/api/dns
{
  "domain": "example.com"
}

WHOIS lookup

POST30 req/min

Return WHOIS raw text and parsed metadata.

https://smartdomaincheck.com/api/whois
{
  "domain": "example.com"
}

HTTP headers

POST30 req/min

Fetch status code and security-focused response headers.

https://smartdomaincheck.com/api/headers
{
  "url": "https://example.com"
}

SSL certificate

POST30 req/min

Connect via TLS and return certificate chain details.

https://smartdomaincheck.com/api/ssl
{
  "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.