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.