Mock Demo
Why x402 for market data
- No API key management — your agent pays on demand; no credentials to rotate or store securely
- Pay only for what you use — no monthly subscription for data you might not always need
- Works across any wallet — Sponge Wallet’s x402 proxy, CDP Agentic Wallet skills, and
x402-axiosall handle payment automatically - Composable — your agent can call multiple data providers in the same session, paying each separately
Discovering x402-compatible endpoints
x402-compatible services publish a discovery document at/.well-known/x402.json. You can also browse the Bazaar catalog for a curated list of x402 data providers.
- CDP Agentic Wallet
- Sponge Wallet
Use the To browse all available resources:
search-for-service skill to search the x402 Bazaar:Terminal
Terminal
Example x402 data sources
CoinGecko — price feeds
CoinGecko provides cryptocurrency price feeds, market cap data, and historical OHLCV via x402-enabled endpoints. Fetch the current ETH price:- CDP Agentic Wallet
- Sponge Wallet
Use the
pay-for-service skill:Terminal
Alchemy — onchain data
Alchemy exposes enhanced APIs for onchain data — token balances, NFT metadata, mempool visibility, and decoded transaction history — via their Agentic Gateway athttps://x402.alchemy.com.
Alchemy’s x402 gateway uses SIWE wallet authentication via their own
@alchemy/x402 CLI — not a generic x402 bazaar endpoint. Follow the setup steps below before making requests.Terminal
Terminal
- Token balances (JSON-RPC)
- Portfolio (multi-chain)
- Token prices
Terminal
402, handle payment with the CLI and retry:
Terminal
Making data calls inside an OpenClaw agent
Install the Sponge Wallet skill or CDP Agentic Wallet skills, then prompt your agent directly:x402-axios:
Terminal
TypeScript
WalletClient to your setup, see the x402 client docs.
Related
Trade execution
Execute swaps using Flashblocks timing and Base fee calibration.
x402 protocol
Full x402 flow, supported networks, and error handling.