81trust / 100

Probe

by x402-paywall-probe in Onchain & crypto

x402 APIPassing, checked 31 min ago

Probe any public URL and report if it is an x402 paywall - price, network, payTo, scheme. Shop paywalls before you spend. Try GET /probe/sample.

GET https://x402.agentindex.world/probe

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
47 ms typical, 47 ms slowest 5%
Last check
31 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.agentindex.world/probe?url=https%3A%2F%2Fx402.shizu.me%2Fweather%3Flat%3D48.85%26lon%3D2.35"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.agentindex.world%2Fprobe
const res = await pay("https://x402.agentindex.world/probe?url=https%3A%2F%2Fx402.shizu.me%2Fweather%3Flat%3D48.85%26lon%3D2.35");
console.log(await res.json());

Example input

{
  "url": "https://x402.shizu.me/weather?lat=48.85&lon=2.35"
}

Example output

{
  "http_status": 402,
  "is_x402": true,
  "network": "base",
  "pay_to": "0x217e5Fe265EB78b29067bF8324ef03a7D8e167C4",
  "price_usdc": 0.004,
  "reachable": true,
  "scheme": "exact",
  "url": "https://x402.shizu.me/weather?lat=48.85&lon=2.35",
  "x402_version": 1
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
31 min agoPassed40274 ms$0.001
6 h agoPassed40247 ms$0.001