Skip to content
Fourohtwo

x402 endpoint check before you pay

x402.tbs-digital.com/crypto/x402-check

x402 endpoint check before you pay: is this endpoint payable? Send its https url (GET or POST); one unpaid request, never pays. Returns verdict (payable, malformed, not_x402, unreachable), quote (price USD, network, asset, pay_to, scheme), accepts_count, http_status, latency_ms, checked_at. Fresh at each call. Refused or throttled targets not charged.

BaseAnswering
GEThttps://x402.tbs-digital.com/crypto/x402-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

// 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://x402.tbs-digital.com/crypto/x402-check?url=https%3A%2F%2Fx402.tbs-digital.com%2Fweather%2Fcurrent");
console.log(await res.json());

Example input

{
  "url": "https://x402.tbs-digital.com/weather/current"
}

More from TBS Crypto & DeFi APIProvider status