Skip to content
Fourohtwo

Price Quote

www.omenz.org/api/tollbooth/v1/quote

Price Quote: the live x402 payment options of any endpoint, normalized: USD price, network, stablecoin, payTo, scheme, timeout; cheapest option. Reads the 402 (v1 body or v2 header) without paying. By OMENZ.

BaseAnswering
GEThttps://www.omenz.org/api/tollbooth/v1/quote

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://www.omenz.org/api/tollbooth/v1/quote?method=GET&url=https%3A%2F%2Fwww.omenz.org%2Fapi%2Ftollbooth%2Fv1%2Falive");
console.log(await res.json());

Example input

{
  "method": "GET",
  "url": "https://www.omenz.org/api/tollbooth/v1/alive"
}