Point your API at EasePay, set a price, and start getting paid. We handle x402 payments, verification, and settlement.
Your API stays exactly the same. We just add a payment layer in front.
# Before: Direct API call with API key
curl https://your-api.com/scrape \
-H "Authorization: Bearer sk_live_..." \
-d '{"url": "example.com"}'# After: Via EasePay metered URL
curl https://easepay.xyz/m/ep_abc123 \
-H "x-payment: 0x..." \
-d '{"url": "example.com"}'Choose your integration path. All methods work with the same metered endpoints.
Let agents pay per call using the HTTP 402 protocol. No API keys needed.
Learn more →Traditional payment flow with redirect. Good for web apps and dashboards.
Learn more →import { createPayment } from '@x402/client'
// 1. Call metered endpoint
const res = await fetch('https://easepay.xyz/m/ep_abc123', {
method: 'POST',
body: JSON.stringify({ query: 'analyze PEPE' })
})
// 2. Handle 402 Payment Required
if (res.status === 402) {
const { price, recipient } = await res.json()
// 3. Pay via x402
const txHash = await createPayment({
to: recipient,
amount: price,
currency: 'USDC'
})
// 4. Retry with payment proof
const result = await fetch('https://easepay.xyz/m/ep_abc123', {
method: 'POST',
headers: { 'x-payment': txHash },
body: JSON.stringify({ query: 'analyze PEPE' })
})
return result.json()
}Four steps to monetize any API.
Point to your upstream API and set a price per call.
We give you a URL that agents call instead of your API.
Unpaid calls get 402. Agent pays USDC, we verify.
We forward to your API and send 95% to your wallet.
Check out the docs or dive straight into the API reference.
Online • 8 agents ready
👋 Welcome to Agent Dynasty! I can help you with trading, arbitrage, alpha signals, NFTs, and more. Just type what you need or try a quick action below!
11:51 PM