Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Mail Security Tools Score API
version: 1.1.0
description: 'Free DMARC, SPF, DKIM and MX checks for any domain, from mailsecuritytools.com. Paid (x402 USDC on Base): a $0.01 graded email security score, a $0.01 email address check, a $0.50 bulk score of up to 100 domains, a $0.30 prepaid 30-day watch of up to 25 domains (webhook POST when SPF, DKIM, DMARC or MX changes or breaks), and a $1 email security fix plan with the exact DNS records to publish. MCP server at /mcp. Daily monitoring: InboxGuards (inboxguards.com).'
contact:
name: Mail Security Tools API
email: dario@inboxguards.com
url: https://api.mailsecuritytools.com/llms.txt
x-guidance: 'Free DMARC, SPF, DKIM and MX checks for any domain, from mailsecuritytools.com. Paid (x402 USDC on Base): a $0.01 graded email security score, a $0.01 email address check, a $0.50 bulk score of up to 100 domains, a $0.30 prepaid 30-day watch of up to 25 domains (webhook POST when SPF, DKIM, DMARC or MX changes or breaks), and a $1 email security fix plan with the exact DNS records to publish. MCP server at /mcp. Daily monitoring: InboxGuards (inboxguards.com). Call a paid route without payment to get an x402 v2 challenge (402 + PAYMENT-REQUIRED header), pay in USDC, retry with PAYMENT-SIGNATURE. Invalid input -> 400, never charged. More: https://api.mailsecuritytools.com/llms.txt'
servers:
- url: https://api.mailsecuritytools.com
tags:
- name: Score
paths:
/v1/score:
get:
operationId: v1_score
summary: Graded email security score (0-100, A-F) for a domain
description: Scores SPF (30), DMARC (40), DKIM (25) and MX (5) from live DNS, with findings and the top 3 fixes. Bad input 400, unknown domain 404, never charged.
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402:
version: 2
scheme: exact
network: eip155:8453
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
payTo: '0x2dAF658B01e257206375798a15832E9f547D65dD'
responses:
'200':
description: Success (payment settled)
content:
application/json: {}
'400':
description: Invalid input. Never charged.
'402':
description: Payment required. x402 v2 challenge in the PAYMENT-REQUIRED header.
'404':
description: Unknown or deleted test. Never charged.
'409':
description: Report not ready (waiting, rejected_or_not_received, or analysis_failed). Never charged.
parameters:
- name: domain
in: query
required: true
schema:
type: string
maxLength: 320
description: Domain (or an email/URL on it), e.g. example.com
example: example.com
tags:
- Score
/v1/score/batch:
get:
operationId: v1_score_batch
summary: Email security score for up to 5 domains in one call, lowest score first
description: SPF, DKIM and DMARC email-security score for up to 5 domains in one call, with per-domain findings. $0.04 USDC on Base.
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.04'
protocols:
- x402:
version: 2
scheme: exact
network: eip155:8453
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
payTo: '0x2dAF658B01e257206375798a15832E9f547D65dD'
responses:
'200':
description: Success (payment settled)
content:
application/json: {}
'400':
description: Invalid input. Never charged.
'402':
description: Payment required. x402 v2 challenge in the PAYMENT-REQUIRED header.
'404':
description: Unknown or deleted test. Never charged.
'409':
description: Report not ready (waiting, rejected_or_not_received, or analysis_failed). Never charged.
parameters:
- name: domains
in: query
required: true
schema:
type: string
maxLength: 2000
description: 2 to 5 comma-separated domains
example: example.com,example.org
tags:
- Score
x-discovery:
wellKnown: https://api.mailsecuritytools.com/.well-known/x402
llms: https://api.mailsecuritytools.com/llms.txt