onramp_quote
What every payment rail really costs, side by side — 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. Required inputs: country, amount. Priced $0.03 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls (no free tier on this tool). No API key required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"amount": "<amount>"
},
"name": "onramp_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Asset to buy (optional, default USDC) | |
| amount | Yes | Fiat amount | |
| address | No | Destination wallet (optional — needed for a checkout link) | |
| country | Yes | ISO country code | |
| network | No | Network (optional, default base) | |
| currency | No | Fiat currency (optional, default USD) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The result payload. Shape is service-specific; every field is documented in the tool description. | |
| service | No | The service id that answered. | |
| checkedAt | No | ISO-8601 timestamp of when the underlying reads were taken. |