get_crypto_price
Pack: crypto · Endpoint: https://gateway.pipeworx.io/crypto/mcp
Get current price, market cap, and 24h change for a cryptocurrency. Specify coin ID (e.g., “bitcoin”, “ethereum”, “solana”). Returns USD price, market cap, and % change.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
coin_id | string | yes | CoinGecko coin ID (e.g., bitcoin, ethereum, solana) |
Example call
Arguments
{
"coin_id": "bitcoin"
}
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_price","arguments":{"coin_id":"bitcoin"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_crypto_price', {
"coin_id": "bitcoin"
});
More examples
{
"coin_id": "ethereum"
}
Response shape
Always returns: id, name, symbol, price_usd, market_cap_usd, volume_24h_usd, change_24h_pct, high_24h_usd, low_24h_usd
| Field | Type | Description |
|---|---|---|
id | string | CoinGecko coin ID |
name | string | Cryptocurrency name |
symbol | string | Cryptocurrency symbol (uppercase) |
price_usd | number | Current price in USD |
market_cap_usd | number | Market capitalization in USD |
volume_24h_usd | number | 24h trading volume in USD |
change_24h_pct | number | 24h price change percentage |
high_24h_usd | number | 24h high price in USD |
low_24h_usd | number | 24h low price in USD |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "CoinGecko coin ID"
},
"name": {
"type": "string",
"description": "Cryptocurrency name"
},
"symbol": {
"type": "string",
"description": "Cryptocurrency symbol (uppercase)"
},
"price_usd": {
"type": "number",
"description": "Current price in USD"
},
"market_cap_usd": {
"type": "number",
"description": "Market capitalization in USD"
},
"volume_24h_usd": {
"type": "number",
"description": "24h trading volume in USD"
},
"change_24h_pct": {
"type": "number",
"description": "24h price change percentage"
},
"high_24h_usd": {
"type": "number",
"description": "24h high price in USD"
},
"low_24h_usd": {
"type": "number",
"description": "24h low price in USD"
}
},
"required": [
"id",
"name",
"symbol",
"price_usd",
"market_cap_usd",
"volume_24h_usd",
"change_24h_pct",
"high_24h_usd",
"low_24h_usd"
]
}
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.