# Domain Search via API

_2026-02-10_

> Web search lies about domain availability. Only the registrar API gives accurate data.

Web search lies about domain availability. Only the registrar API gives accurate data.

## Why not web search

Results are outdated. WHOIS isn't always accurate. Domain snipers interfere.

## Solution — API

```
curl -X POST \
  "https://api.porkbun.com/api/json/v3/domain/checkDomain/example.com" \
  -H "Content-Type: application/json" \
  -d '{"apikey":"KEY","secretapikey":"SECRET"}'
```

But Porkbun is slow: 1 request per 10 seconds. For bulk — Name.com API: 50 domains in a single request.

Lesson: don't trust search engines for domain checks. Go to the source.