Skip to content
Fourohtwo

api.lookproof.dev/v1/mail/mta-sts-parse

Parse a pasted MTA-STS policy file (RFC 8461) as a sending server would: version, mode, mx patterns and max_age, lines that do not parse, testing or none mode and a short max_age. Offline. Use when an agent writes an MTA-STS policy before publishing it. Input: {"policy": "version: STSv1\nmode: enforce\n..."}.

BaseAnswering
POSThttps://api.lookproof.dev/v1/mail/mta-sts-parse

Uptime100% of 5 checks in 30 days

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://api.lookproof.dev/v1/mail/mta-sts-parse", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"policy":"version: STSv1\nmode: testing\nmx: mx1.example.com\nmx: *.mail.example.com\nmax_age: 604800\n"}),
});
console.log(await res.json());

Example input

{
  "policy": "version: STSv1\nmode: testing\nmx: mx1.example.com\nmx: *.mail.example.com\nmax_age: 604800\n"
}

More from LookproofProvider status