Grades a domain's MX, SPF (counting the 10-lookup limit), DMARC, DKIM and BIMI records, says whether the domain can be spoofed and lists fixes.
curl -X POST "https://api.primaryapi.com/v1/run/email.auth_check" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"github.com"}'{
"output": {
"found": true,
"data": {
"grade": "<integer>",
"domainExists": "<boolean>",
"acceptsMail": "<boolean>",
"canBeSpoofed": "<boolean>", …
}
},
"credits": 1
}Input and output
2 fields
github.com.13 fields
Good to know
A non-existent domain is a free miss. A miss is an answer, not an error, and it costs nothing.
More from Email. Same key, same credits.
The same key and credits work for every API.