get_crypto_market
Pack: crypto · Endpoint: https://gateway.pipeworx.io/crypto/mcp
Get top cryptocurrencies ranked by market cap. Returns name, symbol, USD price, market cap, and 24h % change for each.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
vs_currency | string | no | Quote currency (default: usd) |
limit | number | no | Number of coins (1-100, default 10) |
Example call
Arguments
{
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/crypto/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_crypto_market","arguments":{"limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_crypto_market', {
"limit": 10
});
More examples
{
"vs_currency": "usd",
"limit": 50
}
Response shape
Always returns: currency, coins
| Field | Type | Description |
|---|---|---|
currency | string | Quote currency (lowercase) |
coins | array |
Full JSON Schema
{
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "Quote currency (lowercase)"
},
"coins": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "number",
"description": "Market cap rank"
},
"id": {
"type": "string",
"description": "CoinGecko coin ID"
},
"name": {
"type": "string",
"description": "Cryptocurrency name"
},
"symbol": {
"type": "string",
"description": "Cryptocurrency symbol (uppercase)"
},
"price": {
"type": "number",
"description": "Current price in quote currency"
},
"market_cap": {
"type": "number",
"description": "Market capitalization"
},
"volume_24h": {
"type": "number",
"description": "24h trading volume"
},
"change_24h_pct": {
"type": "number",
"description": "24h price change percentage"
}
},
"required": [
"rank",
"id",
"name",
"symbol",
"price",
"market_cap",
"volume_24h",
"change_24h_pct"
]
}
}
},
"required": [
"currency",
"coins"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"crypto": {
"url": "https://gateway.pipeworx.io/crypto/mcp"
}
}
}
See Getting Started for client-specific install steps.