Get a free quote
get_quoteFree quote before paying: the exchange rate and exactly how much lands in the bank (or wallet) NET of every provider fee — that net figure is the number to decide on. Executable estimate, not a locked rate. side=SELL (USDC->fiat) or BUY (fiat->USDC).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | SELL = USDC to fiat, BUY = fiat to USDC | SELL |
| network | No | USDC network, default base | |
| fiatAmount | No | Fiat amount (for BUY) | |
| cryptoAmount | No | USDC amount (required for SELL) | |
| fiatCurrency | No | e.g. EUR, default EUR |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ISO timestamp of the quote | |
| note | No | Caveats — youReceive is net of provider fees; the x402 session fee is separate | |
| rate | Yes | Exchange rate used (fiat per USDC) | |
| side | Yes | Quote direction | |
| source | No | Where the price came from (the provider's own conversion API) | |
| network | No | USDC network the quote assumes | |
| youSend | Yes | Amount the sender pays, e.g. '100 USDC' | |
| youReceive | Yes | Amount received NET of all provider fees, e.g. '87.78 EUR' — this is the number to decide on | |
| fiatCurrency | No | Fiat currency of the quote | |
| providerFixedFee | No | Provider-reported fixed fee component | |
| providerNetworkFee | No | Provider-reported network delivery fee (0 on Base) |