POST

List MX mail exchanger records for domain. Uses node:dns

/v1/mx-records

Validation · node:dns

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/mx-records
Content-Type: application/json

{
  "domain": "tools402.dev"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

List MX mail exchanger records for domain. Uses node:dns.

Request schema

Body: JSON · application/json

FieldTypeDescription
domainstringrequiredpattern: ^[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/mx-records \
  -H "Content-Type: application/json" \
  -d '{
  "domain": "tools402.dev"
}'

402 payment flow omitted — see Integrations for settlement.