MxToolbox API: DNS, email and blacklist data in your own apps

Run the same lookups as the MxToolbox SuperTool, query your monitors and check usage from any app, script or workflow. A simple REST API returning JSON, with a free tier to try it.

22 lookup commandsJSON over HTTPSAPI key authMonitor & Usage APIsFree tier

No SDK required: all you need is an API key and an HTTP client.

See API Pricing API Reference
# 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"

Which plan is right for you?

  • Free: test DNS lookups, 64 a day, and 1 monitor.
  • Basic ($129/mo): adds blacklist, SMTP and other network lookups, 128 monitors and the Monitor API.
  • Pro ($399/mo): 16x the simple and 8x the complex lookups of Basic, and 256 monitors.
  • Enterprise: unlimited lookups and monitors, custom pricing.

Compare plans ↓

What you can do with it

APIWhat it doesReference
LookupRun 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 JSONLookup API →
MonitorList your MxToolbox monitors and check their status, filtered by command, name or tagMonitor API →
UsageSee how many simple and complex lookups you've used today and what's leftUsage 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 →

TypeCommands
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.

Frequently asked questions

What's the difference between simple and complex lookups?

Simple lookups query DNS (MX, SPF, DMARC, DKIM and similar). Complex lookups make network connections (blacklist, SMTP, HTTP, ping, trace) and count against a separate daily allowance.

When do limits reset?

Daily, at 12:00 AM UTC. Requests over your limit return HTTP 429 until the reset.

Can I use the Monitor API on the free plan?

No. Monitor queries are included with paid plans. The free plan covers simple lookups and the Usage API.

Do I need an SDK?

No. Any HTTP client works. The API reference has cURL, JavaScript and Python examples.

What if I need more than Pro?

Enterprise plans offer unlimited lookups and monitors with custom pricing. Contact us or call +1 (866) 698-6652.

Questions about the API? Call our team at +1 (866) 698-6652 or contact us →

API pricing

Start free, then scale your daily lookups as you grow. Pricing and features as of November 2026.

Free$0For testing and light useSign Up Basic$129/monthFor apps and internal toolsBuy Now Pro$399/monthFor higher-volume integrationsBuy Now EnterpriseCall for pricingUnlimited lookups and monitorsContact Sales
Daily lookups (reset 12:00 AM UTC)
Simple lookups / day
DNS: mx, spf, dmarc, dkim, a, txt…
644,09664KUnlimited
Complex lookups / day
Network: blacklist, smtp, http, ping…
01281,024Unlimited
Monitors
Monitors1128256Unlimited
API access
Lookup API: simple (DNS) commands✓✓✓✓
Lookup API: complex (network) commands—✓✓✓
Monitor API: list and query monitors and tags—✓✓✓
Usage API: check remaining quota✓✓✓✓
JSON over HTTPS, API key authentication✓✓✓✓
Free$0Sign UpBasic$129/monthBuy NowPro$399/monthBuy NowEnterpriseCall for pricingContact Sales

Simple lookups use the DNS quota; complex lookups use the network quota. Limits reset daily at 12:00 AM UTC, and requests over your limit return HTTP 429. See rate limits.

Put MxToolbox data to work in your apps

Start free with 64 simple lookups a day, or pick the plan that fits your volume.

See API Pricing Read the API Reference

Need unlimited lookups? Call us at +1 (866) 698-6652.