Endpoints
Domain
Domain age, registrar, hosting and backlinks for any site. Judge a source, size up a competitor, or check a domain was not registered last week.
POST
/v1/domain
Request
Every tool takes the same shape: a URL or a list, a few options, and back comes data plus what the call cost.
import requestsr = requests.post( 'https://api.snoopscan.com/v1/domain', headers={'Authorization': 'Bearer sk_YOUR_KEY'}, json={ 'domain': 'https://example.com', 'backlinkLimit': 100 },)print(r.json())
const r = await fetch('https://api.snoopscan.com/v1/domain', { method: 'POST', headers: { Authorization: 'Bearer sk_YOUR_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ "domain": "https://example.com", "backlinkLimit": 100 }),});console.log(await r.json());
curl -X POST https://api.snoopscan.com/v1/domain \ -H 'Authorization: Bearer sk_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "domain": "https://example.com", "backlinkLimit": 100}'
Returns registration · dns · backlinks · 1 credit.
Parameters
Read from the engine itself, so this table is the request it actually validates.
| Field | Type | Default | What it does |
|---|---|---|---|
domain
required |
string | — | A domain, or any URL on it. https://www.example.com/a and example.com are the same request. |
backlinkLimit
|
integer | 100 | How many referring domains to list, busiest first. |
backlinks
|
boolean | true | Which domains SnoopScan has seen linking to this one. |
dns
|
boolean | true | A, AAAA, MX, NS and TXT records. |
registration
|
boolean | true | Registration and expiry dates, age, registrar and nameservers. |
Response
A success is always {"success": true, "data": {…}}. data carries what you asked for in formats, the page's metadata, and a cost object saying what the call was charged. A failure is {"success": false, "error": {…}} with a code you can branch on — see Errors.
Nothing is charged for a request that failed.
A page you already fetched, re-read within
maxAge, is free; one served from the shared index costs a single credit. The cost object says which it was.