{"uid":"cap_xJe4-P2-cvrzaq2PoSBgA","slug":"delx-commerce-mx-host-parser-26cdefbd","name":"Delx Commerce MX Host Parser","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/mx-host-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mx":{"type":"string","description":"Raw MX record string"}}},"responseSchema":{"type":"json","example":{"host":"mail.example.com","schema":"delx/util-mx-host-parse/v1","preference":10}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mElOuLbLlRIMewefpun5Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a raw MX DNS record string and extracts the mail host and preference value","exampleAgentPrompt":"Parse this raw MX record for me — '10 mail.example.com' — and tell me what the mail host and preference value are.","exampleUseCases":[{"title":"Email deliverability audit tool","prompt":"I have this MX record from a DNS lookup: '20 aspmx.l.google.com' — can you parse it and tell me the mail host and priority?"},{"title":"Domain mail server identification","prompt":"We scraped some DNS data and got this MX record string: '5 smtp.mailgun.org' — extract the hostname and preference number from it."},{"title":"Automated DNS record processing pipeline","prompt":"Parse this MX record '10 inbound-smtp.us-east-1.amazonaws.com' and give me the structured host and preference so I can store it in our mail routing table."}],"resultDescription":"Returns a JSON object containing the parsed mail host (e.g. 'mail.example.com'), the MX preference/priority number (e.g. 10), and a schema identifier string ('delx/util-mx-host-parse/v1') confirming the response format.","failureModes":["Malformed or empty MX record string returns a parsing error","Missing 'mx' field in request body returns a validation error","MX record with non-standard formatting may yield unexpected host extraction","Network or service unavailability returns a 5xx error","Invalid USDC payment or x402 payment failure blocks the request"],"whenToPreferThis":"Choose this endpoint when you have a raw MX record string (e.g. retrieved from a DNS lookup) and need to programmatically extract the mail host and preference value as structured data without implementing your own parser. It is ideal for lightweight, pay-per-use DNS record processing within an agent pipeline where no signup or subscription is required and cost is predictable at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:55.929Z","isFirstParty":false,"canonicalSlug":"delx-commerce-mx-host-parser-26cdefbd"}