Skip to content
Fourohtwo

Pre-payment check of an x402 endpoint

gogeta2-u35175.vm.elestio.app/agents/v1/agent/x402-probe

Pre-payment check of an x402 endpoint: one unpaid request, decodes the 402 offer (v1/v2): network, USDC or not, USD price, payTo, testnet, red flags.

BaseUnchecked
GEThttps://gogeta2-u35175.vm.elestio.app/agents/v1/agent/x402-probe

UptimeNot checked yet

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://gogeta2-u35175.vm.elestio.app/agents/v1/agent/x402-probe?url=https%3A%2F%2Fwww.x402financialdata.com%2Fproducer-prices");
console.log(await res.json());

Example input

{
  "url": "https://www.x402financialdata.com/producer-prices"
}

More from x402 Endpoint Probe