Get Asset Prices
get_pricesRetrieve current or historical prices for your assets. Specify asset identifiers, a target currency, and an optional timestamp to get the price data you need.
Instructions
Get latest or historical prices for specified assets
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": {
"assets": "<assets>"
},
"name": "get_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | Yes | Asset identifiers (e.g., ['BTC', 'ETH']) | |
| currency | No | Target currency (default: USD) | |
| at_time_ms | No | Historical timestamp in milliseconds (optional) |