Get Market Data
get_market_dataGet top cryptocurrencies ranked by market cap with current prices, 24h changes, and volume. Example: get_market_data({ vs_currency: "usd", limit: 10 })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 10,
"vs_currency": "usd"
},
"name": "get_market_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of coins to return, 1-250 (default: 20) | |
| order | No | Sort order: "market_cap_desc", "volume_desc", "price_desc" (default: "market_cap_desc") | |
| vs_currency | No | Currency to show prices in, e.g. "usd", "eur", "btc" (default: "usd") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coins | Yes | Top coins ranked by market cap | |
| count | Yes | Number of coins returned | |
| vs_currency | Yes | Currency prices are displayed in |