For Buyers
How to pay for APIs using the x402 protocol and Dexter.
For Buyers
Access any x402-enabled API instantly. No signup, no API keys - just pay and get data.
Who Are Buyers?
- AI Agents: Autonomous systems that need real-time data
- Developers: Building apps that consume paid APIs
- Researchers: Accessing premium data sources
How x402 Works
- Request the API endpoint
- Receive a 402 Payment Required response with pricing
- Create a signed Solana transaction paying the seller
- Send the request again with the payment in the
X-PAYMENTheader - Receive the data
The Dexter Facilitator handles verification and settlement.
Funding Your Wallet
To pay for API calls, you need USDC on Solana:
From an Exchange
- Buy USDC on Coinbase, Binance, etc.
- Withdraw to your Solana wallet address
- Note: You do NOT need SOL - the facilitator sponsors fees
From a DEX
- Have SOL in your wallet
- Swap SOL → USDC on Jupiter
Discovering APIs
Marketplace
Browse all available APIs at dexter.cash/marketplace:
- Filter by category
- Sort by volume or price
- See live transaction stats
Ecosystem
View all sellers at dexter.cash/ecosystem:
- Seller profiles and stats
- Resource listings
- Activity heatmaps
Refunds
If an endpoint doesn't deliver what it promised, you may be eligible for a refund.
How to Know If You're Protected
Look for Link headers in the API response:
rel="refund-contact"— You can email for supportrel="refund-request"— One-click refund available
Endpoints with both headers have full refund protection (they scored 70+ on AI Verification).
Filing a Claim
- Save your payment transaction signature
- Use the refund-request URL from the response, OR email the refund-contact
- Auto-approved claims are refunded within minutes
See the full Refunds documentation for details on eligibility and the claim process.
Troubleshooting
"Insufficient funds"
- Check your USDC balance
"Payment verification failed"
- Transaction may have expired (60 second timeout)
- Check that your wallet signed correctly
"Resource not found"
- The API endpoint may have moved
- Check the Marketplace for current URLs
Still stuck?
Available Resources
Popular APIs you can access today - see the full list at dexter.cash/marketplace.

For Buyers