{"schema_version":"v1","name_for_human":"Madhouse Wallet Crypto Off-Ramp","name_for_model":"madhousewallet_offramp","description_for_human":"Sell USDC or stablecoin and cash out to a bank account in 80+ currencies. Pay $0.01 USDC per call via x402.","description_for_model":"Paid, agent-callable crypto off-ramp API by Madhouse Wallet: sell USDC (or another stablecoin) and cash out to a bank account in 80+ currencies. Quote the FX rate and fees, discover the exact recipient bank fields per currency, create a sanctions-screened recipient, create a transfer that returns a Base USDC deposit address, fund it on-chain, then confirm and track the fiat bank payout. Convert crypto to fiat programmatically. Every call costs $0.01 USDC via the x402 protocol on Base, Polygon, or Arbitrum — no account or API key required. KYC of the funding wallet and sanctions screening are enforced server-side.\n\n# Madhouse Wallet — Crypto Off-Ramp API (sell USDC, pay out to a bank) — Agent Guide\n\nSell USDC/stablecoin and pay out to a bank account in 80+ currencies. $0.01 USDC per call via x402 (Base/Polygon/Arbitrum). No account or API key.\n\n## Flow\n1. GET /api/public/offramp?targetCurrency=NGN&sourceAmount=100  -> quoteId + recipient amount (alias of /quote)\n2. GET /api/public/requirements?currency=NGN  -> bank fields to collect (skip any option whose key is empty)\n3. POST /api/public/recipients {currency,type,accountHolderName,details,wallet}  -> recipientId\n4. POST /api/public/transfer {quote_id,amount,recipientId,customer_uuid,customer_email,source_token,source_network,wallet_address}  -> transfer_id + deposit_address\n5. Send the exact USDC on Base to deposit_address from your own wallet (on-chain), then POST /api/public/confirm-transfer {transfer_id,tx_hash}\n6. GET /api/public/transfer-status?id=transfer_id  -> poll until completed\n\n## Notes\n- Use @x402/fetch; it handles the 402 -> pay -> retry loop automatically.\n- Malformed requests return 400 for free; the fee settles only on a 2xx.\n- The x402 challenge is in both the payment-required header and the 402 body.\n- Full spec: /openapi.json  ·  Long guide: /llms.txt","auth":{"type":"none"},"api":{"type":"openapi","url":"https://try.madhousewallet.com/openapi.json"},"logo_url":"https://try.madhousewallet.com/mw.png","contact_email":"support@madhousewallet.com","legal_info_url":"https://try.madhousewallet.com/api-docs","x402":{"enabled":true,"pricePerCall":"$0.01","asset":"USDC","networks":["eip155:8453","eip155:137","eip155:42161"],"discovery":"https://try.madhousewallet.com/.well-known/x402","llms":"https://try.madhousewallet.com/llms.txt"},"website":"https://try.madhousewallet.com"}