Beta · claim $1 USDC for the first 50 devs →

Data APIs your
agents pay for.

Weather, finance, web search, company lookup, sentiment, WHOIS — every endpoint metered per call in USDC on Base. No accounts, no API keys. Your agent gets a 402, signs once, and the data comes back.

WeatherFinanceWeb SearchCompany DataSentimentWHOIS
Vend402
// for api owners

Turn your API into a vending machine.

Agents pay per call. No billing portal, no invoices, no Stripe. You keep 100% of the revenue at launch.

01
Submit

Paste your endpoint, set a price, connect a Base wallet. 60 seconds.

02
Agents pay

We return HTTP 402, settle USDC on-chain, and retry with a signature.

03
You earn

0% platform fee. Funds land directly in your wallet — no middlemen.

Revenue calculator
0% fee · launch
1001M
You earn / month
$100.00
$1200.00 / year

RapidAPI takes 20%+. Stripe charges ~$0.30 per transaction — impossible at sub-cent pricing. Vend402 settles USDC on Base for fractions of a cent.

// the protocol

Three steps. Milliseconds.

01
Agent calls

AI agent hits your endpoint with no payment header.

02
402 returned

Gateway responds with price, currency, and destination wallet.

03
Pay & retry

Agent settles USDC on Base and retries with a signature.

// live ledger

Real-time on-chain receipts.

Every call to the gateway is logged. These numbers update live.

Total calls
Paid calls
USDC earned
Endpoint
Status
When
No calls yet. Try the demo below to populate the ledger.
// live demo

Try the gateway.

Hit the endpoint with and without a payment signature and watch the 402 handshake unfold.

Endpoint
The premium data endpoint AI agents pay to access.
RouteGET /api/x402/weather
Price0.001 USDC
Networkbase-sepolia
Destination wallet0x8b32651A04A12f72a2dC9F25c4dD938A9D30bAD6
Try it · unpaid request
Calls the endpoint with no X-PAYMENT header. Expect HTTP 402 with x402 challenge.
Try it · settle on-chain
Signs an EIP-3009 USDC authorization, verifies + settles via the Coinbase x402 facilitator on Base Sepolia. Returns a real tx hash.
Integration
How an AI agent integrates with this gateway.
curl
# 1. Probe the endpoint
curl -i /api/x402/weather
# → HTTP/1.1 402 Payment Required
# → body.accepts[0] = { scheme:"exact", network:"base-sepolia", maxAmountRequired:"1000", payTo:"0x8b32651A04A12f72a2dC9F25c4dD938A9D30bAD6", asset:"USDC" }

# 2. Sign an EIP-3009 USDC authorization, base64-encode the payment payload, retry
curl -i /api/x402/weather -H "X-PAYMENT: <base64 payload>"
fetch
const res = await fetch("/api/x402/weather", {
  headers: { "X-PAYMENT": paymentHeaderB64 },
});
const data = await res.json();
mainx402 · USDC · base
TypeScript