x402 support for autonomous agents

Code

x402 support for autonomous agents

Pay-per-scan commerce and report delivery over the open HTTP 402 protocol — live on Solana mainnet with USDC via pay.sh.

Live now on Solana mainnet — agent wallets pay real USDC through the pay.sh gateway.

Autonomous agents do not stop to type in a credit card. To buy data or call a paid tool, an agent has to pay inline, in code, with no human and no checkout page. x402 makes that possible by reviving the dormant HTTP 402 Payment Required status into an open payment protocol — and BotVisibility runs it live on Solana mainnet, with agents paying real USDC straight from their wallets through pay.sh.

Protocol
x402 · pay.sh
Network
Solana
Asset
USDC
Price
$0.10 / scan (agents)
Status
Live · Mainnet
Why x402

Payment that fits inside a request

The server answers an unpaid request with the price and where to send it. The agent's wallet signs a stablecoin payment and retries. The server verifies it on-chain and returns the resource. No account, no API key, no dashboard.

The flow

Request, pay, deliver

  1. 01RequestAn agent POSTs a URL to the pay.sh gateway. With no payment attached, the gateway answers 402 with the x402 requirements: USDC on Solana, plus the price and the recipient address.
  2. 02PayThe agent's own wallet signs a USDC payment on Solana for the quoted amount and retries the same request — no account, no API key, no checkout, no human.
  3. 03DeliverThe gateway verifies the payment on-chain, proxies the call to BotVisibility (injecting a shared key), and returns the full agent-readiness report as JSON.
GET  botvisibility.com/api/scan?url=…&format=json   (evaluate)
  → 200 OK                     up to 5 scans/day per caller
  → 402 Payment Required       over the daily allowance — pay at the gateway ↓

POST  …/api/v1/scan-gateway     { "url": "https://example.com" }
  → 402 Payment Required       0.10 USDC on Solana (x402 · pay.sh)
  → 200 OK   (wallet pays)      full 58-check agent-readiness report (JSON)

One endpoint for paying callers: a $0.10 scan returning all 58 checks across 5 levels — L1 Discoverable through L5 Agent-Native — as JSON over the API, or as a downloadable PDF/Markdown report in the browser. Either way, the deliverable is the report.

Live today

Real USDC on Solana mainnet

This is not a testnet demo. The pay.sh gateway quotes the price, collects USDC directly from the agent's wallet, verifies the payment on-chain on Solana mainnet, and only then proxies the paid call to BotVisibility. Agents pay with real money, settled in seconds.

Evaluate, then pay per call

Metered by volume, not identity

Every caller gets five scans a day to evaluate, then the 402 kicks in and payment continues per scan at the gateway — no account, no login. The gateway holds the wallet signer; our app only ever holds a shared key — never a private key.

The goal

Complete support for autonomous agents

An agent discovers the capability through our llms.txt, agent card, ai.json, and MCP manifest, pays for what it needs over x402 on Solana, and receives structured data and reports in return. No sign-up, no human in the loop: x402 commerce plus data and report delivery, built for agents that operate on their own. See exactly how your agent pays →