Get Quotes
get_quotesGet swap quotes for exchanging one crypto asset to another. Returns available quotes with exchange rates, fees, and estimated output amounts. API key is optional.
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": {
"sourceAsset": "<sourceAsset>",
"destinationAsset": "<destinationAsset>",
"amount": "<amount>"
},
"name": "get_quotes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to swap in human-readable format (e.g., 1.5 for 1.5 BTC) | |
| apiKey | No | Optional partner API key. | |
| sourceAsset | Yes | Source asset identifier (e.g., 'btc.btc', 'eth.eth', 'usdc.eth') | |
| destinationAsset | Yes | Destination asset identifier (e.g., 'eth.eth', 'btc.btc', 'sol.sol') |