Skip to content
Fourohtwo

SYNTHORA x402-preflight

api.hergertsynthora.com/v1/x402-preflight

SYNTHORA x402-preflight: Before you pay an x402 endpoint: fetches its 402 challenge WITHOUT paying and checks it against the public x402 discovery catalog (daily copies of today and yesterday): same payTo, normal price (no spike), recent buyers and calls, wallet changed since yesterday, official USDC (or EURC) asset for the network, valid TLS, and your own expected payTo and max price. Returns pay

BaseAnswering
POSThttps://api.hergertsynthora.com/v1/x402-preflight

Uptime100% of 2 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.hergertsynthora.com/v1/x402-preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"expected_payTo":"0x...","max_price_usdc":0.01,"url":"https://agent.pocket.network/v1/dns-whois-rdap"}),
});
console.log(await res.json());

Example input

{
  "expected_payTo": "0x...",
  "max_price_usdc": 0.01,
  "url": "https://agent.pocket.network/v1/dns-whois-rdap"
}

More from SYNTHORAProvider status