Website checks API Email Authentication Check API
Send a domain and get its SPF, DKIM and DMARC records checked, plus blocklist status, with notes on what to fix.
POSThttps://api.pathclue.com/v1/site/email-authBetaCall it from your code
Set your key in the TAPCUB_API_KEY environment variable. Base URL: https://api.pathclue.com/v1.
curl -X POST https://api.pathclue.com/v1/site/email-auth \
-H "Authorization: Bearer $TAPCUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"example.com","dkimSelectors":"google"}'const res = await fetch('https://api.pathclue.com/v1/site/email-auth', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TAPCUB_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"domain": "example.com",
"dkimSelectors": "google"
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://api.pathclue.com/v1/site/email-auth",
headers={"Authorization": f"Bearer {os.environ['TAPCUB_API_KEY']}"},
json={
"domain": "example.com",
"dkimSelectors": "google",
},
timeout=120,
)
res.raise_for_status()
print(res.json())<?php
$ch = curl_init('https://api.pathclue.com/v1/site/email-auth');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('TAPCUB_API_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'domain' => 'example.com',
'dkimSelectors' => 'google',
]),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 120,
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status >= 300) {
throw new RuntimeException("HTTP $status: $body");
}
print_r(json_decode($body, true));package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{"domain":"example.com","dkimSelectors":"google"}`)
req, err := http.NewRequest("POST", "https://api.pathclue.com/v1/site/email-auth", bytes.NewReader(body))
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("TAPCUB_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
if res.StatusCode >= 300 {
panic(fmt.Sprintf("HTTP %d: %s", res.StatusCode, out))
}
fmt.Println(string(out))
}Request parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
domain | string | Yes | — | Domain that sends the email (a URL or email address also works). |
dkimSelectors | string | No | — | DKIM selectors to check, comma separated (up to 10). Default: common ones (google, selector1, selector2, s1, s2, k1, default, dkim, mail). |
Example response
Successful responses carry the X-Credits-Charged and X-Credits-Balance headers. Errors return {"error":{"code","message"}} and are never charged.
{
"domain": "example.com",
"spf": {
"found": true,
"record": "v=spf1 include:_spf.google.com ~all",
"lookups": 4,
"voidLookups": 0,
"terms": [
{
"term": "include:_spf.google.com",
"kind": "mechanism",
"name": "include",
"value": "_spf.google.com",
"qualifier": "pass",
"lookup": true
},
{
"term": "~all",
"kind": "mechanism",
"name": "all",
"value": null,
"qualifier": "softfail",
"lookup": false
}
],
"includes": [
{
"depth": 1,
"target": "include:_spf.google.com",
"record": "v=spf1 include:_netblocks.google.com … ~all",
"lookups": 3,
"state": "ok"
}
],
"issues": [
{
"level": "ok",
"key": "spfLookups",
"vars": {
"n": 4
}
}
]
},
"dmarc": {
"found": true,
"record": "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com",
"foundAt": "_dmarc.example.com",
"policy": {
"policy": "quarantine",
"subdomainPolicy": "quarantine",
"nonExistentPolicy": "quarantine",
"dkimAlignment": "r",
"spfAlignment": "r"
},
"tags": {
"v": "DMARC1",
"p": "quarantine",
"rua": "mailto:dmarc@example.com"
},
"issues": []
},
"dkim": {
"selectorsTried": [
"google"
],
"source": "given",
"found": [
{
"selector": "google",
"name": "google._domainkey.example.com",
"record": "v=DKIM1; k=rsa; p=MIIBIjAN…",
"keyType": "rsa",
"keyBits": 2048,
"revoked": false,
"issues": [
{
"level": "ok",
"key": "dkRsaOk",
"vars": {
"bits": 2048
}
}
]
}
],
"notFound": [],
"failed": []
},
"blocklists": null,
"queries": 7
}What it costs
| Price | 2 credits per call |
|---|---|
| In US dollars | about $0.002 · $2 / 1,000 |
| Credits | Free or paid credits |
| Rate limit | Free 10 / min · Plus 60 / min · Pro 300 / min |
| Free daily cap | 1,000 calls a day per key on free accounts |
| Charged | Only on success — errors and timeouts are free |
What people build with it
Deliverability audits
Find why mail lands in spam before you change providers.
Sender onboarding
Check a customer’s domain before they send through your platform.
Monitoring
Get alerted when a domain lands on a blocklist.
Frequently asked questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
Does it send any email?
No. Everything is read from public DNS and blocklist lookups.
Which blocklists are checked?
Widely used public DNS blocklists. The result names each list it checked.
How much does the Email Authentication Check API cost?
Each successful call costs 2 credits per call (about $0.002). 1 credit is about $0.001. Failed calls — invalid input, unreachable sites, timeouts or errors on our side — are not charged.
Can I try it for free?
Yes. New accounts get 300 credits and every account gets 30 free credits a day, and they work on this endpoint. You can also try the matching free tool on tapcub.com without a key.
What are the rate limits?
Free accounts can make 10 calls a minute and 1,000 a day per key; Plus allows 60 a minute and Pro 300. Over the limit you get HTTP 429 with a Retry-After header, and nothing is charged.
How do I get an API key?
Sign in to the TapCub console, verify your email and create a key on the Tools → API page. Keys start with tck_ and are shown once; send them in the Authorization: Bearer header.
Get your API key
Create a key in the console and make your first call in a minute. Light endpoints run on free daily credits.