x402 Payments
Overview
How It Works
Request Flow
1. Client sends request (no API key)
2. Server returns 402 with payment details
3. Client pays USDC on Base or Solana
4. Client retries with payment receipt in header
5. Server verifies payment and returns dataExample
# 1. Initial request returns 402 with payment instructions
curl -X POST 'https://api.nansen.ai/api/v1/smart-money/holdings' \
-H 'Content-Type: application/json' \
-d '{"chains": ["ethereum"]}'
# Response: 402 Payment Required
# Headers include payment details (amount, recipient, network)Pricing
Tier
Price Per Call
Endpoints
Basic Endpoints — $0.01/call
Endpoint
Path
Premium Endpoints — $0.05/call
Endpoint
Path
Smart Money Endpoints — $0.05/call
Endpoint
Path
Excluded Endpoints
Payment Details
Parameter
Value
Rate Limits
Limit
Value
FAQ
Last updated
Was this helpful?