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
await corsair.mxtoolbox.api.lookup.a({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.aaaa({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.arin({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.asn({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
bimi
lookup.bimi
Check the BIMI record of a domain. Uses one DNS request of the daily quota (Free: 64 a day).
Risk: read
await corsair.mxtoolbox.api.lookup.bimi({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.blacklist({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.dkim({ domain: 'google.com', selector: '20230601' });
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain to check, e.g. example.com. |
selector | string | Yes | DKIM selector, e.g. default or google. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.dmarc({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.dns({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.http({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.https({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.mtaSts({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.mx({ argument: 'example.com' });
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.ping({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.ptr({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.run({ command: 'spf', argument: 'example.com' });
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
command | a | aaaa | arin | asn | bimi | blacklist | dkim | dmarc | dns | http | https | mta-sts | mx | ping | ptr | smtp | soa | spf | tcp | tlsrpt | trace | txt | Yes | Lookup type, e.g. mx, spf, dns. tcp needs port; dkim needs argument domain:selector. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.smtp({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.soa({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
spf
lookup.spf
Check the SPF record of a domain. Uses one DNS request of the daily quota (Free: 64 a day).
Risk: read
await corsair.mxtoolbox.api.lookup.spf({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.tcp({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address. |
port | string | Yes | Port to connect to; required for tcp. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.tlsrpt({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
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
await corsair.mxtoolbox.api.lookup.trace({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
txt
lookup.txt
List the TXT records of a domain. Uses one DNS request of the daily quota (Free: 64 a day).
Risk: read
await corsair.mxtoolbox.api.lookup.txt({});
| Name | Type | Required | Description |
|---|---|---|---|
argument | string | Yes | Domain name or IP address to look up, e.g. example.com. |
port | string | No | Port for the lookup, e.g. 80 or 443. |
| Name | Type | Required | Description |
|---|---|---|---|
UID | string | null | No | — |
ArgumentType | string | null | No | — |
Command | string | null | No | — |
IsTransitioned | boolean | null | No | — |
CommandArgument | string | null | No | — |
TimeRecorded | string | null | No | — |
ReportingNameServer | string | null | No | — |
TimeToComplete | string | number | null | No | — |
RelatedIP | string | null | No | — |
ResourceRecordType | number | null | No | — |
IsEmptySubDomain | boolean | null | No | — |
IsEndpoint | boolean | null | No | — |
HasSubscriptions | boolean | null | No | — |
Failed | object[] | null | No | — |
Warnings | object[] | null | No | — |
Passed | object[] | null | No | — |
Timeouts | object[] | null | No | — |
Errors | object[] | null | No | — |
IsError | boolean | null | No | — |
Information | Record<string, any>[] | null | No | — |
MultiInformation | any[] | null | No | — |
Transcript | object[] | null | No | — |
MxRep | number | null | No | — |
EmailServiceProvider | string | null | No | — |
DnsServiceProvider | string | null | No | — |
RelatedLookups | object[] | null | No | — |
Failed full type
Failed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Warnings full type
Warnings full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Passed full type
Passed full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Timeouts full type
Timeouts full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Errors full type
Errors full type
{
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
Transcript full type
Transcript full type
{
Transcript?: string | null
}[] | null
RelatedLookups full type
RelatedLookups full type
{
Name?: string | null,
URL?: string | null,
Command?: string | null,
CommandArgument?: string | null
}[] | null
Monitors
get
monitors.get
Get one monitor by MonitorUID with its status, failing checks and tags.
Risk: read
await corsair.mxtoolbox.api.monitors.get({});
| Name | Type | Required | Description |
|---|---|---|---|
monitorUid | string | Yes | MonitorUID from monitors.list. |
object[]
Output full type
Output full type
{
MonitorUID?: string | null,
ActionString?: string | null,
LastTransition?: string | null,
MxRep?: string | number | null,
HistoryUrl?: string | null,
Name?: string | null,
TimeElapsed?: string | null,
RecordCount?: string | number | null,
LarUID?: string | null,
Tags?: {
Name?: string | null,
UID?: string | null,
IsHidden?: boolean | null,
IsNegative?: boolean | null,
MonitorCount?: number | null
}[] | null,
Failing?: {
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null,
Warnings?: {
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
}[]
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
await corsair.mxtoolbox.api.monitors.list({ tag: 'production' });
| Name | Type | Required | Description |
|---|---|---|---|
command | a | aaaa | arin | asn | bimi | blacklist | dkim | dmarc | dns | http | https | mta-sts | mx | ping | ptr | smtp | soa | spf | tcp | tlsrpt | trace | txt | No | Only monitors of this lookup type, e.g. mx or blacklist. |
name | string | No | Only monitors of this domain or IP address. |
tag | string | No | Only monitors carrying this tag, e.g. production. |
object[]
Output full type
Output full type
{
MonitorUID?: string | null,
ActionString?: string | null,
LastTransition?: string | null,
MxRep?: string | number | null,
HistoryUrl?: string | null,
Name?: string | null,
TimeElapsed?: string | null,
RecordCount?: string | number | null,
LarUID?: string | null,
Tags?: {
Name?: string | null,
UID?: string | null,
IsHidden?: boolean | null,
IsNegative?: boolean | null,
MonitorCount?: number | null
}[] | null,
Failing?: {
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null,
Warnings?: {
ID?: number | null,
Name?: string | null,
Info?: string | null,
Url?: string | null,
PublicDescription?: string | null,
IsExcludedByUser?: boolean | null
}[] | null
}[]
listTags
monitors.listTags
List the tags on one monitor.
Risk: read
await corsair.mxtoolbox.api.monitors.listTags({});
| Name | Type | Required | Description |
|---|---|---|---|
monitorUid | string | Yes | MonitorUID from monitors.list. |
object[]
Output full type
Output full type
{
Name?: string | null,
UID?: string | null,
IsHidden?: boolean | null,
IsNegative?: boolean | null,
MonitorCount?: number | null
}[]
Usage
get
usage.get
Read how many DNS and network lookups the account has used today and its daily limits.
Risk: read
await corsair.mxtoolbox.api.usage.get({});
| Name | Type | Required | Description |
|---|---|---|---|
DnsRequests | number | null | No | — |
DnsMax | number | null | No | — |
DnsOverageErrors | number | null | No | — |
NetworkRequests | number | null | No | — |
NetworkMax | number | null | No | — |
NetworkOverageErrors | number | null | No | — |