What you can do with it
| API | What it does | Reference |
| Lookup | Run any of 22 lookups (MX, SPF, DKIM, DMARC, BIMI, blacklist, SMTP, DNS, HTTP, ping and more) for a domain or IP and get pass, warning and failure results as JSON | Lookup API → |
| Monitor | List your MxToolbox monitors and check their status, filtered by command, name or tag | Monitor API → |
| Usage | See how many simple and complex lookups you've used today and what's left | Usage API → |
Make your first call in a minute
1
Get your API key
Sign up free and find your key in your MxToolbox account.
2
Send a request
Put the key in the Authorization header. No "Bearer" prefix needed.
3
Use the JSON
Each lookup returns Passed, Warnings, Failed and Timeouts arrays you can act on.
# Look up the MX records for a domain
curl -H "Authorization: YOUR-API-KEY" \
"https://api.mxtoolbox.com/api/v1/Lookup/mx?argument=example.com"
# Check today's remaining quota
curl -H "Authorization: YOUR-API-KEY" \
"https://api.mxtoolbox.com/api/v1/Usage"
Read the quick start guide →
Simple and complex lookups
Each plan includes a daily allowance of two kinds of lookups. How lookup types work →
| Type | Commands |
| Simple (DNS) | a, aaaa, asn, bimi, dkim, dmarc, dns, mta-sts, mx, ptr, soa, spf, tlsrpt, txt |
| Complex (network) | blacklist, http, https, ping, smtp, tcp, trace |
Dozens of use cases
Support and ticketing
Pull a customer's blacklist, SPF and DMARC status into the ticket before an agent picks it up.
Prospecting and CRM
Add mail setup details, like who hosts a domain's email, to prospect and account records.
Email management tools
Show sender reputation and authentication results inside the tools your team already uses.
Automated provisioning
Check new customers' and servers' DNS and blacklist status as part of your setup workflow.
Marketing automation
Use DNS and email configuration data to segment and route leads.
Bulk audits
Check SPF, DKIM, DMARC and BIMI across every domain you manage in one scheduled script.