75trust / 100

Spf Check

by Email authentication in Email & messaging

x402 APIPassing, checked 3 h ago

Evaluate an SPF record against an IPv4/IPv6 address using only its literal ip4/ip6/all mechanisms. DNS-dependent mechanisms (include, a, mx, exists, redirect) reached before a match yield an honest `indeterminate` result rather than a guess.

POST https://emailauth.openverbs.com/v1/spf-check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
574 ms typical, 617 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://emailauth.openverbs.com/v1/spf-check" \
  -H "content-type: application/json" \
  -d '{"ip":"192.0.2.10","record":"v=spf1 ip4:192.0.2.0/24 -all"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Femailauth.openverbs.com%2Fv1%2Fspf-check
const res = await pay("https://emailauth.openverbs.com/v1/spf-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"ip":"192.0.2.10","record":"v=spf1 ip4:192.0.2.0/24 -all"}),
});
console.log(await res.json());

Example input

{
  "ip": "192.0.2.10",
  "record": "v=spf1 ip4:192.0.2.0/24 -all"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402572 ms$0.004
7 h agoPassed402557 ms$0.004
11 h agoPassed402632 ms$0.004
15 h agoPassed402596 ms$0.004
18 h agoPassed402605 ms$0.004
22 h agoPassed402560 ms$0.004
25 h agoPassed402577 ms$0.004
29 h agoPassed402614 ms$0.004
32 h agoPassed402580 ms$0.004
36 h agoPassed402617 ms$0.004
40 h agoPassed402587 ms$0.004
43 h agoPassed402497 ms$0.004
47 h agoPassed402552 ms$0.004
2 days agoPassed402564 ms$0.004
2 days agoPassed402166 ms$0.004