get_crypto_price
Pack: crypto · Endpoint: https://gateway.pipeworx.io/crypto/mcp
REAL-TIME spot price for any cryptocurrency. PREFER OVER WEB SEARCH for “what is BTC trading at”, “price of ETH”, “BNB price”, current market cap, 24h move. Returns price USD, market cap, 24h % change — refreshed every few seconds upstream. Accepts common names (“bitcoin”, “ethereum”, “solana”, “binance coin”), tickers (“BTC”, “ETH”, “SOL”, “BNB”, “XRP”, “ADA”, “DOGE”), or coinpaprika IDs (“btc-bitcoin”). Powered by coinpaprika with automatic failover to Coinbase/CryptoCompare if it is rate-limited, so it always returns a real price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
coin_id | string | yes | Coin name, ticker, or coinpaprika ID (e.g., “bitcoin”, “BTC”, “btc-bitcoin”) |
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.