Skip to main content
New to Corsair? See API access, authentication, and error handling.

Lookup

a

lookup.a Look up the A (IPv4) records of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

aaaa

lookup.aaaa Look up the AAAA (IPv6) records of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

arin

lookup.arin Look up the ARIN registration (owner, network block) of an IP address. Refused on the Free plan (Command is not allowed). Risk: read
Input Listed in the MXToolbox command list, but a Free key gets HTTP 400 “Command is not allowed - arin”. Output

asn

lookup.asn Look up the autonomous system (ASN) of a domain or IP address. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

bimi

lookup.bimi Check the BIMI record of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

blacklist

lookup.blacklist Check whether a domain or IP address is on major email blacklists. Uses the daily network quota; a Free key may get HTTP 429 (API limit exceeded). Risk: read
Input Output

dkim

lookup.dkim Check the DKIM key of a domain for one selector. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Sends argument=domain:selector. Both parts are required. Output

dmarc

lookup.dmarc Check the DMARC policy record of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

dns

lookup.dns Run a DNS health check on a domain: name servers, SOA and propagation. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

http

lookup.http Check that a host answers HTTP. Uses the daily network quota; a Free key may get HTTP 429 (API limit exceeded). Risk: read
Input Output

https

lookup.https Check that a host answers HTTPS and that its certificate is valid. Uses the daily network quota; a Free key may get HTTP 429 (API limit exceeded). Risk: read
Input Output

mtaSts

lookup.mtaSts Check the MTA-STS (mail transport security) record of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

mx

lookup.mx Look up the mail servers (MX records) of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

ping

lookup.ping Ping a host from MXToolbox servers. Uses the daily network quota; a Free key may get HTTP 429 (API limit exceeded). Risk: read
Input Output

ptr

lookup.ptr Reverse DNS: the host name of an IP address (PTR record). Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

run

lookup.run Run any MXToolbox lookup by command name (a, aaaa, arin, asn, bimi, blacklist, dkim, dmarc, dns, http, https, mta-sts, mx, ping, ptr, smtp, soa, spf, tcp, tlsrpt, trace, txt). DNS commands use the DNS quota, network commands the network quota. dkim takes domain:selector; tcp needs a port. Risk: read
Input GET /api/v1/Lookup/{command}/?argument=… Use it for any command; the per-command operations below call the same route. Output

smtp

lookup.smtp Connect to the mail server of a host on port 25 and check its banner and response time. Uses the daily network quota; a Free key may get HTTP 429 (API limit exceeded). Risk: read
Input Output

soa

lookup.soa Read the SOA record of a domain: primary name server and zone serial. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

spf

lookup.spf Check the SPF record of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

tcp

lookup.tcp Check that a host accepts TCP connections on a port. Uses the daily network quota; a Free key may get HTTP 429 (API limit exceeded). Risk: read
Input Sends argument and port; MXToolbox needs the port for tcp. Output

tlsrpt

lookup.tlsrpt Check the TLS-RPT (RFC 8460) record of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

trace

lookup.trace Traceroute from MXToolbox servers to a host. Uses the daily network quota; a Free key may get HTTP 429 (API limit exceeded). Risk: read
Input Output

txt

lookup.txt List the TXT records of a domain. Uses one DNS request of the daily quota (Free: 64 a day). Risk: read
Input Output

Monitors

get

monitors.get Get one monitor by MonitorUID with its status, failing checks and tags. Risk: read
Input GET /api/v1/Monitor/{MonitorUID}. Answers an array with the one monitor; an unknown id is HTTP 404. Output: object[]

list

monitors.list List the monitors on the account with their status, failing checks and tags. Filter by command, monitored name or tag. Paid plans only; Free returns an empty list. Risk: read
Input GET /api/v1/Monitor with optional command, name and tag filters. A Free account has no monitors and gets []. Output: object[]

listTags

monitors.listTags List the tags on one monitor. Risk: read
Input Output: object[]

Usage

get

usage.get Read how many DNS and network lookups the account has used today and its daily limits. Risk: read
Input: empty object GET /api/v1/Usage. DnsRequests/DnsMax and NetworkRequests/NetworkMax for the day. Output