x402

MX Lookup (x402)

DNS lookup for MX, A, AAAA, NS, TXT, SOA records. Detects email provider (Google, Microsoft, etc.), SPF, and DMARC records.

get/x402/v2/mx-lookup

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/mx-lookup
  • Auth: none required

Query parameters

domainstring required

Response

Success

domainstring
has_spfboolean
has_dmarcboolean
email_providerstring

Example response

{
  "soa": null,
  "domain": "127.0.0.1",
  "has_mx": false,
  "has_spf": false,
  "has_ipv6": false,
  "a_records": [],
  "has_dmarc": false,
  "mx_records": [],
  "spf_record": null,
  "nameservers": [],
  "aaaa_records": [],
  "dmarc_record": null,
  "email_provider": "unknown"
}

Changes

No recorded changes to this operation across all 1 revision of this API.