Public JSON API
Query domain intelligence as JSON. No API key required. Limit: 60 requests per minute per IP. For larger volumes, use the bulk lookup.
GET /api/public/v1/domain/{hostname}
curl https://domainintel.lovable.app/api/public/v1/domain/openai.com
Response:
{
"hostname": "openai.com",
"tld": "com",
"registrar": "MarkMonitor Inc.",
"registrant_org": null,
"created_at": "2015-04-16T20:11:30Z",
"updated_at": "...",
"expires_at": "...",
"name_servers": ["ns1...", "ns2..."],
"status": ["client transfer prohibited"],
"health_score": 92,
"security_score": 78,
"last_fetched_at": "...",
"source": "domainintel.lovable.app"
}Errors
400 invalid_hostname404 not_found429 rate_limited— back off for 60s
CORS
Open CORS — call from any origin.