Skip to main content
X402

Onchain payments built on x402

Access the Zapper API with X402 payments. No registration or API key - simply pay per query.

Zero registration required, start querying immediately
Zero fees
Instant background settlement in 2 seconds
Pay with USDC on Base, Polygon or Avalanche
Zapper skill

Pay per query through the Zapper skill

Use the Zapper skill and pay per request with x402 — no API key setup, no registration. Your agent fetches the skill once and handles payments autonomously from there.

Learn how to setup with your agent
Your agent
Supporting skills
Get the zapper skill at build.zapper.xyz/skill.md
U
A
I fetched and added the new skill. Do you want to use x402 or an API key for authentication?
Use x402!
U
A
Gotcha. You can paste your wallet in the .zapper-credentials file I created, and start getting live, onchain data.
Implementation

Simple Code Integration

For direct implementation in code, wrap your existing client with a single wrapper function, which automatically passes payment info with each request.

Before:
const data = await client.post('/x402/token-price', {
  address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
  chainId: 8453
});
After:
const x402Client = wrapAxiosWithPayment( axios, client );
const data = await x402Client.post('/x402/token-price', {
  address: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
  chainId: 8453
});
Example Usage

Token Analysis Agent

Analysis of top tokens trends while paying per query fully autonomously via X402

1

/x402/token-ranking

Get trending tokens

Cost:0.012USDC
Loading...
2

/x402/token-price

Deep dive price/priceChange data

Cost:0.003USDC
Loading...
3

/x402/general-swap-feed

See who's buying/selling

Cost:0.012USDC
Loading...
4

/x402/token-activity-feed

Analyze social sentiment & discussion

Cost:0.012USDC
Loading...
Agent analyzing...

No human intervention ever required. Fully autonomous agentic payments using x402.

Instant Responses

Get query data immediately while settlement is done asynchronously in the background.

Autonomous Payments

No API key management. Fully autonomous payments with x402.