DexterDexter

DexterFor 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

  1. Request the API endpoint
  2. Receive a 402 Payment Required response with pricing
  3. Create a signed Solana transaction paying the seller
  4. Send the request again with the payment in the X-PAYMENT header
  5. 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

  1. Buy USDC on Coinbase, Binance, etc.
  2. Withdraw to your Solana wallet address
  3. Note: You do NOT need SOL - the facilitator sponsors fees

From a DEX

  1. Have SOL in your wallet
  2. 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 support
  • rel="refund-request" — One-click refund available

Endpoints with both headers have full refund protection (they scored 70+ on AI Verification).

Filing a Claim

  1. Save your payment transaction signature
  2. Use the refund-request URL from the response, OR email the refund-contact
  3. 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.