Getting StartedIntroduction

MindSwap API Documentation

The practical, developer-first guide to MindSwap's two supported integration surfaces.

Which API should you use?

SurfaceBase pathBest forAuth model
Business APIhttps://mindswap.fun/api/v3Partners, dashboards, embedded integrations, backend-to-backend systemsHMAC-signed requests with API key permissions
x402 APIhttps://mindswap.fun/api/x402Paid machine clients, bots, wallet-native automations, SIWX-enabled readsx402 pay-and-retry for paid routes plus SIWX for wallet-bound GET reads

Choose Business API if you have partner credentials and want a predictable signed API. Choose x402 API if your client can satisfy an x402 payment challenge and use SIWX for wallet-bound reads.

Key strengths

Business API

  • Straightforward quote and order flows
  • Webhook management and email notifications
  • QR retrieval for deposit instructions
  • Classic server-to-server authentication

x402 API

  • Official x402 flow on /api/x402
  • Paid routes with a linear 402 challenge and replay path
  • Wallet-bound GET reads with SIGN-IN-WITH-X
  • Same quote, order, routing, and market-intel core as the Business API