x402 payment protocol · Base + Solana

APIs your agent can pay for by the request.

No API keys, no signups, no subscriptions. Every route here is metered in USDC — call it, get an HTTP 402 with the price, sign a payment, and the data comes back. Built on the open x402 protocol and discoverable through the CDP Bazaar.

20
Monetized routes
$0.001–$0.05
Per-call price range
EVM + SOL
Payment networks
0
API keys required
agent session · MicroTap
402x402 · usdc
$
Protocol pulse

x402 doesn't just run on this server

This is real, live activity across the whole x402 ecosystem — every seller, every facilitator — not just traffic to AgentX402Pay. The same open protocol every route on this page speaks.

Live · x402 protocol, every seller

Real ecosystem-wide activity — not just this server. Data via agentic.market.

Connecting to the live feed…
How it works

Three requests, no dashboard

x402 turns HTTP 402 Payment Required from a dead status code into a working payment flow. There's nothing to configure before your first call. Scroll to watch each step highlight the matching part of the exchange.

1

Call the endpoint

No payment attached, so the server replies 402 with the exact price and payment instructions.

2

Sign a payment

Your wallet (or agent's x402 client) signs a USDC payment for that exact amount — no on-chain transaction yet.

3

Retry and get paid data

Resend the request with the signed payment attached. The route runs, settles on success, and returns the response.

Payment flow

Follows the step you're reading.

GET /api/weather?city=Austin → 402GET
sign $0.001 USDC → BaseSIGN
200 OK · settled on Base200
Endpoints

Everything this server sells

Every route accepts GET requests, prices in USDC, settles only after a successful response, and declares Bazaar discovery metadata so agents can find it without reading docs first.

Flagship examples

5

Each demonstrates a different x402 payment pattern — fixed price, usage-based, dynamic pricing, and payment channels.

Middleware
/protectedfixed

Whole-route protection gated by proxy.ts before the page ever renders.

No query params required.

https://agentx402pay.com/protected

simulated — no real payment sent
Fixed price
/api/weather$0.001

Live current weather for any city, sourced from Open-Meteo. Settles only on a successful lookup.

  • city= Austin

https://agentx402pay.com/api/weather?city=Austin

simulated — no real payment sent
Usage-based
/api/generateup to $0.05

Buyer authorizes a max in one signature; you charge only for the output actually generated.

  • prompt= explain x402 in one paragraph

https://agentx402pay.com/api/generate?prompt=explain%20x402%20in%20one%20paragraph

simulated — no real payment sent
Dynamic price
/api/insights$0.001 / $0.005

Price is computed per-request from a tier query param instead of fixed at route definition.

  • tier= premium
  • topic= ai agents

https://agentx402pay.com/api/insights?tier=premium&topic=ai%20agents

simulated — no real payment sent
Batch settlement
/api/ping~$0.006

Cheap repeatable calls accumulate in one payment channel, settled on a schedule instead of per-call.

No query params required.

https://agentx402pay.com/api/ping

simulated — no real payment sent

Data endpoints

11

Prediction markets, DeFi, crypto market data, and web search — the categories driving the most real usage across the x402 ecosystem today.

/api/polymarket-markets$0.003

Search/list Polymarket prediction markets by volume

  • q= election
  • limit= 10

https://agentx402pay.com/api/polymarket-markets?q=election&limit=10

simulated — no real payment sent
/api/polymarket-market$0.002

Single Polymarket market detail by slug

  • slug= will-btc-hit-100k(required)

https://agentx402pay.com/api/polymarket-market?slug=will-btc-hit-100k

simulated — no real payment sent
/api/kalshi-markets$0.003

Search/list open Kalshi prediction markets

  • q= fed
  • limit= 10

https://agentx402pay.com/api/kalshi-markets?q=fed&limit=10

simulated — no real payment sent
/api/kalshi-market$0.002

Single Kalshi market detail by ticker

  • ticker= FED-24DEC(required)

https://agentx402pay.com/api/kalshi-market?ticker=FED-24DEC

simulated — no real payment sent
/api/defi-tvl$0.003

DeFi protocol TVL, by chain + market cap

  • protocol= aave(required)

https://agentx402pay.com/api/defi-tvl?protocol=aave

simulated — no real payment sent
/api/defi-chains$0.002

Rank blockchains by total DeFi TVL

  • limit= 15

https://agentx402pay.com/api/defi-chains?limit=15

simulated — no real payment sent
/api/crypto-price$0.001

Price + 24h change for one or more coins

  • ids= bitcoin,ethereum(required)
  • vs= usd

https://agentx402pay.com/api/crypto-price?ids=bitcoin%2Cethereum&vs=usd

simulated — no real payment sent
/api/crypto-market$0.002

Rich market data: rank, volume, ATH, and more

  • ids= bitcoin,ethereum(required)
  • vs= usd

https://agentx402pay.com/api/crypto-market?ids=bitcoin%2Cethereum&vs=usd

simulated — no real payment sent
/api/crypto-trending$0.001

Top trending cryptocurrencies right now

No query params required.

https://agentx402pay.com/api/crypto-trending

simulated — no real payment sent
/api/web-search$0.003

Real ranked web search (Exa): title, URL, published date, relevance score

  • q= Base blockchain(required)
  • numResults= 5

https://agentx402pay.com/api/web-search?q=Base%20blockchain&numResults=5

simulated — no real payment sent
/api/prediction-arb$0.005

Finds the same real-world question priced differently on Polymarket vs. Kalshi and ranks by how far the odds diverge

  • q= election
  • limit= 10
  • minDivergencePct= 10

https://agentx402pay.com/api/prediction-arb?q=election&limit=10&minDivergencePct=10

simulated — no real payment sent

On-chain data

4

Multi-chain reads across Base, Ethereum, Polygon, Arbitrum, Optimism — balances, gas prices, ENS, and a safelisted read-only RPC proxy, all built on free public nodes.

/api/rpc$0.003

Safelisted read-only JSON-RPC proxy across five chains

eth_call, eth_getBalance, eth_blockNumber, and more

  • method= eth_blockNumber(required)
  • chain= base
  • params= []

https://agentx402pay.com/api/rpc?method=eth_blockNumber&chain=base&params=%5B%5D

simulated — no real payment sent
/api/wallet-balance$0.002

Native + optional ERC-20 token balance for any address

  • address= 0xd8dA...6045(required)
  • chain= base
  • token= 0x8335...0913

https://agentx402pay.com/api/wallet-balance?address=0xd8dA...6045&chain=base&token=0x8335...0913

simulated — no real payment sent
/api/gas-price$0.001

Current gas price + EIP-1559 fee estimate

  • chain= base

https://agentx402pay.com/api/gas-price?chain=base

simulated — no real payment sent
/api/ens-resolve$0.002

ENS name ⇄ address resolution

  • name= vitalik.eth

https://agentx402pay.com/api/ens-resolve?name=vitalik.eth

simulated — no real payment sent