mxping
Docs navigation

JavaScript example

verify.ts
1const res = await fetch("https://api.mxping.dev/v1/verify", {2  method: "POST",3  headers: {4    Authorization: `Bearer ${process.env.MXPING_KEY}`,5    "Content-Type": "application/json",6  },7  body: JSON.stringify({ email: "jeff@amazon.com" }),8});9 10if (!res.ok) {11  const { error } = await res.json();12  throw new Error(`${error.code}: ${error.message} (${error.request_id})`);13}14 15const result = await res.json();16if (result.status === "invalid") {17  // reject at signup18} else if (result.status === "risky") {19  // accept but flag, or ask for a work email20}

Or use the SDK: @mxping/sdk.