{"uid":"cap_QP-WRSVyV_m36Hhd-Hp-w","slug":"try-madhousewallet-com-15011f7d","name":"Madhouse Wallet Cross-Border FX Quote","description":"Convert USDC to 45+ local currencies and receive funds directly to your bank account. Fast, secure crypto offramp powered by Madhouse Wallet.","url":"https://try.madhousewallet.com/api/public/quote","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["targetCurrency","sourceAmount"],"properties":{"sourceAmount":{"type":"string","description":"Amount to send in USD, e.g. 100. Must be greater than 0 and at most 1000000."},"targetCurrency":{"type":"string","description":"ISO 4217 code of the currency the recipient receives, e.g. NGN, KES, EUR, INR, PHP. Must be a supported currency."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["quoteId","sourceAmount","targetCurrency","usdToTargetRate","quote"],"properties":{"quote":{"type":"object","description":"Quote detail. Fields: targetAmount (number, what the recipient receives, may be null), transferFee (number USD, may be null), feeFxPercent, feeFxAmount, feePayoutAmount (fee breakdown, may be null), estimatedDelivery (ISO timestamp string, may be null)."},"quoteId":{"type":"string","description":"Quote identifier. Pass to /api/public/transfer as quote_id to lock this rate."},"sourceAmount":{"type":"number","description":"Echoed USD source amount."},"targetCurrency":{"type":"string","description":"Echoed ISO 4217 target currency."},"usdToTargetRate":{"type":"number","description":"USD to target-currency exchange rate used for this quote."},"serviceFeePercent":{"type":"number","description":"Service fee as a percentage of the source amount."}}}}}}},"responseSchema":{"type":"json","example":{"quote":{"feeFxAmount":0.32,"transferFee":0.5,"feeFxPercent":0.47,"targetAmount":155661.4,"feePayoutAmount":0.18,"estimatedDelivery":"2026-06-01T12:00:00.000Z"},"quoteId":"7f3c1a2b-0d9e-4a6f-8c11-2b9d4e5f6a7b","sourceAmount":100,"targetCurrency":"NGN","usdToTargetRate":1580.42,"serviceFeePercent":1.5}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"sourceAmount":"500","targetCurrency":"NGN"}}},"response":{"quote":{"feeFxAmount":3.09,"transferFee":3.82,"feeFxPercent":0.62,"targetAmount":680612.44,"feePayoutAmount":0.73,"estimatedDelivery":"2026-06-12T04:14:19Z"},"quoteId":"a36dc6e9-1bc0-4ad7-8327-6ed783e28fba","sourceAmount":500,"targetCurrency":"NGN","serviceFeeFixed":0,"usdToTargetRate":1376.09,"serviceFeePercent":0.3}},"exampleRequest":{"sourceAmount":"500","targetCurrency":"NGN"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tDJPhkcjqK2Vx5pNaj2qN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an FX rate, fee breakdown, and recipient payout amount for a USD-to-foreign-currency money transfer quote.","exampleAgentPrompt":"What's the current FX rate and how much would my recipient actually receive in Nigerian naira (NGN) if I send $500 USD through Madhouse Wallet?","exampleUseCases":null,"resultDescription":"Returns a quoteId (used to create a transfer), the echoed sourceAmount and targetCurrency, the USD-to-target exchange rate, a quote object with targetAmount (what the recipient receives), transferFee in USD, fee breakdown fields (feeFxPercent, feeFxAmount, feePayoutAmount), and estimatedDelivery timestamp. Some fee fields may be null.","failureModes":["Unsupported targetCurrency returns an error — only 80+ supported ISO 4217 codes are valid","sourceAmount of 0 or above 1,000,000 returns a validation error","Missing required query parameters (targetCurrency or sourceAmount) returns a 400-level error","Payment of 0.01 USDC not provided triggers a 402 Payment Required response","Network or provider outage may return a 500-level error with no quote data"],"whenToPreferThis":"Use this endpoint when you need to show a user the exact payout amount and fee breakdown before committing to a cross-border transfer. It supports 80+ currencies and is the required first step before calling the transfer creation endpoint — the returned quoteId locks in the rate for downstream use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:57.362Z","isFirstParty":false}