API Key Authentication
Pass your API key in theX-API-Key header:
Key Format
Creating Keys
free, starter, pro, enterprise.
x402 USDC Micropayments
For AI agents and pay-per-use access without a subscription. Include theX-PAYMENT header with a base64-encoded JSON payment object.
x402 V2 Flow
1
Request without payment
Make your API request normally. You’ll receive HTTP 402 with payment requirements.
2
Build payment signature
Construct an EIP-3009
TransferWithAuthorization signature using the payment details from the 402 response.3
Retry with payment
Retry the same request with the
X-PAYMENT header containing the base64-encoded payment object.HTTP 402 Response
When you make a request without payment, the API returns the payment requirements:Supported Networks
V1 Backward Compatibility
The legacyPAYMENT-SIGNATURE header is still accepted (V1 format). V2 (X-PAYMENT) is recommended for new integrations.