If your dApp or wallet has a "Buy crypto" button, there is a good chance it opens a third-party on-ramp widget such as Mercuryo. The widget handles card payments, ID checks and fraud screening, which is exactly the part you do not want to build yourself. But it also means the price your user pays is decided somewhere you do not control.
This post looks at an on-ramp quote the way a developer would: as data you can check. I wrote it after putting together a plain-language Mercuryo guide for NutshellCrypto, which covers the fees, KYC rules, limits and country availability in detail.
Why a "5% fee" is not the whole story
Mercuryo's help center (checked Nov 26, 2026) lists a fee of up to 5.5% for card, Apple Pay and Google Pay buys (minimum EUR 1), up to 3% for bank transfer (minimum EUR 2), and an extra 0.25% to 1% for non-EUR currencies. On top of that there can be:
- a network fee for sending the coins,
- an infrastructure fee set by the partner app (Mercuryo says typically 0% to 2%, never above 5%),
- a spread built into the quoted price.
So the honest number is not any single fee. It is the gap between what the user pays in fiat and what the crypto they receive is worth at the market mid price. That gap is easy to compute, and it works for any provider, not just Mercuryo. If you want the bigger picture on how fees stack up, our breakdown of crypto exchange fees and spreads goes deeper.
A small Python check
The script below does three things:
- checks the amount against the published minimum and per-transaction limits (Mercuryo says limits include fees),
- computes a worst-case fee from the published "up to" rates,
- fetches the BTC/EUR mid price from CoinGecko's free API and measures the real all-in cost of a quote.
It uses only the standard library.
#!/usr/bin/env python3 """Check the all-in cost of an on-ramp quote against the market mid price. Stdlib only. Uses CoinGecko's free simple/price endpoint for the mid price. """ import json import urllib.request # Published "up to" fees from Mercuryo's help center (checked Nov 26, 2026). MAX_FEE = {"card": (0.055, 1.0), "bank": (0.03, 2.0)} # (rate, minimum in EUR) # Per-transaction limits for verified users outside the EEA (fees included). TX_LIMIT_EUR = {"card": 15_000, "applepay": 2_000} MIN_BUY_EUR = 25 def mid_price(coin_id: str, fiat: str = "eur") -> float: url = ( "https://api.coingecko.com/api/v3/simple/price" f"?ids={coin_id}&vs_currencies={fiat}" ) req = urllib.request.Request(url, headers={"User-Agent": "onramp-check/1.0"}) with urllib.request.urlopen(req, timeout=15) as r: return float(json.load(r)[coin_id][fiat]) def worst_case_fee(amount_eur: float, method: str, non_eur_extra: float = 0.0) -> float: rate, minimum = MAX_FEE[method] return max(amount_eur * rate, minimum) + amount_eur * non_eur_extra def check_limits(amount_eur: float, method: str) -> list[str]: problems = [] if amount_eur < MIN_BUY_EUR: problems.append(f"below the EUR {MIN_BUY_EUR} minimum") cap = TX_LIMIT_EUR.get(method) if cap and amount_eur > cap: problems.append(f"above the EUR {cap:,} per-transaction limit") return problems def all_in_cost(paid_fiat: float, crypto_received: float, mid: float) -> dict: market_value = crypto_received * mid cost = paid_fiat - market_value return { "market_value": round(market_value, 2), "cost": round(cost, 2), "cost_pct": round(100 * cost / paid_fiat, 2), } if __name__ == "__main__": # Example: the widget says EUR 200 by card gets you 0.00344 BTC. paid, received, method = 200.0, 0.00344, "card" print("limit check:", check_limits(paid, method) or "ok") print("worst-case published fee: EUR", round(worst_case_fee(paid, method), 2)) mid = mid_price("bitcoin", "eur") print("BTC mid price: EUR", round(mid, 2)) print("all-in cost of this quote:", all_in_cost(paid, received, mid)) When I ran it on Nov 26, 2026 it printed:
limit check: ok worst-case published fee: EUR 11.0 BTC mid price: EUR 55234.0 all-in cost of this quote: {'market_value': 190.0, 'cost': 10.0, 'cost_pct': 5.0} The example quote is made up so the math is easy to follow. Swap in the real numbers from your widget's final confirmation screen. The mid price moves every minute, so your output will differ.
Two quick edge cases from the same functions:
>>> check_limits(20, "card") ['below the EUR 25 minimum'] >>> check_limits(3000, "applepay") ['above the EUR 2,000 per-transaction limit'] What to do with this as a builder
- Show the final quote, not the headline fee. If your app offers several on-ramp providers, compare their final crypto amounts for the same fiat amount. That one number already includes fees and spread.
- Validate the address and network before the handoff. On-chain purchases cannot be reversed. A basic format and network check saves real support tickets. Our guide to crypto wallet addresses lists what to look at.
- Expect KYC friction. Mercuryo requires government ID and a selfie, and US users also need a driver's license or state ID plus an SSN. Users who drop off at this step are not a bug in your app. See KYC in crypto for why on-ramps ask.
- Know who holds the coins. If users buy into a provider's own wallet, that is a custodial wallet. Sending to a wallet the user controls is a different risk profile; our self-custody guide explains the trade-off.
- Check regional rules. Per Mercuryo's help center, it does not serve New York or Vermont, and US users cannot cash out to a card. Partner apps may also enable it only in some regions.
Wrap-up
On-ramp widgets are a great shortcut, but the price is a black box unless you measure it. A few lines of Python turn "up to 5.5%" into an exact cost for a specific quote, and that is the number users actually care about. For the full rundown on Mercuryo's fees, limits, licenses and tax notes, read the Mercuryo guide on NutshellCrypto.
This article is for education only and is not financial, tax or investment advice. Fees, limits and availability change often, so check the provider's current terms before you buy or sell.
Note: I wrote this with AI assistance, then checked the facts against Mercuryo's help center and ran the code myself.

