Skip to content
Fourohtwo

Pre-payment facts about one x402 seller URL

api.alicehub.app/x402/pay-check

Pre-payment facts about one x402 seller URL: one unpaid GET, the PAYMENT-REQUIRED header and the 402 body decoded, every offer checked against the x402 v2 fields (price in USD, network, asset, payTo format, timeout, resource match, discovery metadata). Facts, not a verdict. Never pays or signs. Port 443 and GET only. Input: ?url=https://seller.example/resource[&max_usd=0.05]. Not charged if the se

BaseAnswering
GEThttps://api.alicehub.app/x402/pay-check

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.alicehub.app/x402/pay-check?url=https%3A%2F%2Fseller.example.com%2Fapi%2Fpremium");
console.log(await res.json());

Example input

{
  "url": "https://seller.example.com/api/premium"
}

More from AliceHub