Developer Portal
Build email trust into anything
REST endpoints for email, domain, link and attachment scanning. Generate a key and try a live request below.
API keys
Generate a key to authenticate requests.
Productionkey_live_4f2a
184,320 callsSandboxkey_test_9c1b
12,044 callsUsage this month
184,320of 200,000 included
- POST /scan/email120,410
- POST /scan/domain38,120
- POST /scan/link18,900
- POST /scan/attachment6,890
Try it live
Real request to POST /api/scan/domain (live DNS).
Endpoints
- POST
/api/scan/emailFull email trust scan — verdict + all sub-scores.
- POST
/api/scan/domainSender auth (SPF/DKIM/DMARC/BIMI/MTA-STS) + impersonation.
- POST
/api/scan/linkInspect one or more URLs for risk.
- POST
/api/scan/attachmentStatic attachment analysis (multipart or JSON).
- GET
/api/report/:idRetrieve a previously computed scan report.
- GET
/api/usageQuota, keys and usage by endpoint.
Authentication
# Pass your key as a Bearer token or x-api-key header
curl https://afriemail.com/api/scan/email \
-H "Authorization: Bearer key_live_4f2a" \
-H "content-type: application/json" \
-d '{ "email": "From: ...\nSubject: ...", "domain": "example.com" }'