Skip to content
Fourohtwo

Returns the number of MX records for the name server of a domain

postweg.halowerk.com/v1/pruef/postweg/mx/nameserver

Returns the number of MX records for the name server of a domain. Input field ziel takes a domain or public IP address. One finding per call with unit and method in meta; null with meta.partial=true means not measurable. Price 0.001 USDC per call, paid via x402.

BaseUnchecked
POSThttps://postweg.halowerk.com/v1/pruef/postweg/mx/nameserver

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://postweg.halowerk.com/v1/pruef/postweg/mx/nameserver", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"ziel":"example.com"}),
});
console.log(await res.json());

Example input

{
  "ziel": "example.com"
}

More from HALOWERK postwegProvider status