{"uid":"cap_hmis07w0JEJc7tRMCBy4H","slug":"fiat-onramp-quote-e6628df7","name":"Fiat Onramp Quote","description":"🆕 Prices the same fiat purchase across EVERY payment method a country allows, and ranks them by what the buyer actually receives. On $100 in the US the spread is real: card takes 2.44, bank transfer 0.50, a funded fiat wallet nothing. Returns each rail's fee, net amount, min/max limits, and the cheapest one. Live Coinbase pricing, not a rate card. Pass address= for a payable checkout link. Not financial advice.","url":"https://402.com.tr/api/x402/onramp-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"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["country","amount"],"properties":{"asset":{"type":"string","description":"Asset to buy (optional, default USDC)"},"amount":{"type":"string","description":"Fiat amount"},"address":{"type":"string","description":"Destination wallet (optional — needed for a checkout link)"},"country":{"type":"string","description":"ISO country code"},"network":{"type":"string","description":"Network (optional, default base)"},"currency":{"type":"string","description":"Fiat currency (optional, default USD)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M8KoFSO5XO7_9RUQikOS4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Prices a fiat-to-crypto purchase across all available payment methods for a given country and ranks them by net amount received, with live Coinbase pricing.","exampleAgentPrompt":"I want to buy $200 worth of USDC in the US — can you show me what every available payment method (card, bank transfer, etc.) would cost me and which one gives me the most USDC, using live Coinbase prices?","exampleUseCases":[{"title":"Cheapest onramp for DeFi user","prompt":"I'm about to deposit $500 into a DeFi protocol on Base. Can you compare all US payment methods for buying USDC and tell me which one nets me the most after fees?"},{"title":"Checkout link for wallet funding","prompt":"I want to buy $150 of USDC on Base and send it to wallet 0xAbCd1234... — can you get me a checkout link using the cheapest available payment method in the US?"},{"title":"Country-specific payment rail research","prompt":"What payment methods are available for someone in Canada to buy USDC, how much would each one cost for a $300 purchase, and what are the min and max limits per method?"}],"resultDescription":"Returns a list of all available payment rails (card, bank transfer, fiat wallet, etc.) for the specified country, each with its fee, net crypto amount the buyer receives, and min/max purchase limits — sorted by best value. Identifies the cheapest option. If a wallet address is provided, also returns a payable checkout link.","failureModes":["Missing required 'country' or 'amount' parameter returns a validation error","Unsupported country code may return empty payment method list or error","Very small or very large amounts may fall outside min/max limits for all rails","Invalid asset or network identifier returns an error","Payment processing at $0.03 USDC per call — insufficient balance causes 402 payment failure"],"whenToPreferThis":"Use this endpoint when an agent or user needs to compare real, live fiat-to-crypto onramp costs across multiple payment methods before committing to a purchase. Prefer it over static rate cards or single-method quotes when the goal is to minimize fees or maximize net crypto received. Especially useful when building onramp flows that need to present payment method options to end users, or when generating a direct Coinbase checkout link for a specific wallet address.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:51:10.124Z","isFirstParty":false}