{
  "format": "delx/intent-card/v1",
  "id": "mx-host-parse-api",
  "intent": "MX Host Parse for an agent workflow",
  "title": "MX Host Parse API for agents",
  "description": "Parse MX preference and host from an MX record string. Call when normalizing DNS MX answers for deliverability logic. Returns preference and host as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.",
  "keywords": [
    "MX Host Parse API",
    "MX Host Parse for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/mx-host-parse-api",
  "machine_url": "https://commerce.delx.ai/intents/mx-host-parse-api.json",
  "recommendation": {
    "tool_name": "util_mx_host_parse",
    "service_name": "MX Host Parse",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/mx-host-parse",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "mx": {
          "type": "string",
          "description": "Raw MX record string"
        }
      },
      "required": [
        "mx"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "mx": "10 mail.example.com."
    },
    "example_output": {
      "schema": "delx/util-mx-host-parse/v1",
      "preference": 10,
      "host": "mail.example.com"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/mx-host-parse -m POST -H 'x-delx-source: intent-card-mx-host-parse-api' --max-amount 0.001 -b '{\"mx\":\"10 mail.example.com.\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-mx-host-parse-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/mx-host-parse"
  }
}
