Developers

5-minute integration.
Zero code changes.

Point your API at EasePay, set a price, and start getting paid. We handle x402 payments, verification, and settlement.

Before & After

Your API stays exactly the same. We just add a payment layer in front.

Before (direct API)
bash
# 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)
bash
# After: Via EasePay metered URL
curl https://easepay.xyz/m/ep_abc123 \
  -H "x-payment: 0x..." \
  -d '{"url": "example.com"}'

Quickstart Guides

Choose your integration path. All methods work with the same metered endpoints.

x402 / AI Agents

Let agents pay per call using the HTTP 402 protocol. No API keys needed.

Learn more →

Standard Payments

Traditional payment flow with redirect. Good for web apps and dashboards.

Learn more →

Webhooks & Events

Get notified when payments are received. Verify with HMAC signatures.

Learn more →
typescript
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()
}

How It Works

Four steps to monetize any API.

1

Create Endpoint

Point to your upstream API and set a price per call.

2

Get Metered URL

We give you a URL that agents call instead of your API.

3

Agent Pays

Unpaid calls get 402. Agent pays USDC, we verify.

4

You Get Paid

We forward to your API and send 95% to your wallet.

Ready to start?

Check out the docs or dive straight into the API reference.

Agent Dynasty

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

Powered by XMTP • Payments in USDC on Base