Back to Docs
Getting Started

Authentication

How to authenticate with the EasePay API.

API Keys

For managing endpoints and viewing analytics, use your API key in the Authorization header:

bash
curl https://easepay.xyz/api/v1/endpoints \
  -H "Authorization: Bearer ep_live_abc123..."

x402 Payments (No Auth Required)

Metered endpoints don't require API keys. Agents authenticate via payment:

bash
curl https://easepay.xyz/m/ep_abc123 \
  -H "x-payment: 0x..." \
  -H "x-payment-chain: base" \
  -d '{"query": "analyze PEPE"}'

Security Note

Never expose your API key in client-side code. Use environment variables and server-side requests.

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