Skip to content
Fourohtwo

Parse and evaluate a domain's SPF record

api.lookproof.dev/v1/mail/spf

Parse and evaluate a domain's SPF record: the include and redirect tree, qualifiers and the RFC 7208 limit of ten DNS lookups, with coded findings. Use when an agent must tell whether SPF is valid, why mail from a service fails SPF, or whether one more include would exceed the lookup limit.

BaseAnswering
GEThttps://api.lookproof.dev/v1/mail/spf

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.lookproof.dev/v1/mail/spf?domain=example.com");
console.log(await res.json());

Example input

{
  "domain": "example.com"
}

More from Lookproof