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

NameTypeRequiredDescription
coin_idstringyesCoin 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, symbol, price_usd

FieldTypeDescription
idstring
symbolstring
price_usdnumber | string
sourcestringWhich upstream answered
_fallbackbooleanTrue when served from the fallback upstream
_notestringWhy the fallback was used
namestringCoinpaprika path only
market_cap_usdnumber | nullCoinpaprika path only
volume_24h_usdnumber | nullCoinpaprika path only
change_24h_pctnumber | nullCoinpaprika path only
high_24h_usdnumber | nullNot returned by the current coinpaprika response; kept for back-compat
low_24h_usdnumber | nullNot returned by the current coinpaprika response; kept for back-compat
ranknumber | nullMarket-cap rank; coinpaprika path only
last_updatedstringUpstream quote timestamp (ISO-8601); coinpaprika path only
Full JSON Schema
{
  "type": "object",
  "description": "Current price for a coin. Two shapes: the coinpaprika path carries name/rank/market-cap/volume/24h-change/last_updated; when coinpaprika is unavailable (it returns HTTP 402 when its quota is spent) the pack falls back to a coinbase spot price carrying only id/symbol/price_usd/source plus _fallback and _note. Only the three fields common to BOTH paths are required.",
  "properties": {
    "id": {
      "type": "string"
    },
    "symbol": {
      "type": "string"
    },
    "price_usd": {
      "type": [
        "number",
        "string"
      ]
    },
    "source": {
      "type": "string",
      "description": "Which upstream answered"
    },
    "_fallback": {
      "type": "boolean",
      "description": "True when served from the fallback upstream"
    },
    "_note": {
      "type": "string",
      "description": "Why the fallback was used"
    },
    "name": {
      "type": "string",
      "description": "Coinpaprika path only"
    },
    "market_cap_usd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Coinpaprika path only"
    },
    "volume_24h_usd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Coinpaprika path only"
    },
    "change_24h_pct": {
      "type": [
        "number",
        "null"
      ],
      "description": "Coinpaprika path only"
    },
    "high_24h_usd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Not returned by the current coinpaprika response; kept for back-compat"
    },
    "low_24h_usd": {
      "type": [
        "number",
        "null"
      ],
      "description": "Not returned by the current coinpaprika response; kept for back-compat"
    },
    "rank": {
      "type": [
        "number",
        "null"
      ],
      "description": "Market-cap rank; coinpaprika path only"
    },
    "last_updated": {
      "type": "string",
      "description": "Upstream quote timestamp (ISO-8601); coinpaprika path only"
    }
  },
  "required": [
    "id",
    "symbol",
    "price_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.

Regenerated from source · build September 10, 2026