get_crypto_history

Pack: crypto · Endpoint: https://gateway.pipeworx.io/crypto/mcp

HISTORICAL price history for a cryptocurrency. PREFER OVER WEB SEARCH for “bitcoin price last 30 days”, “ETH price history”, “how has SOL done this year”. Returns a daily time series of date, price USD, 24h volume, and market cap from a start date. Accepts common names (“bitcoin”), tickers (“BTC”), or coinpaprika IDs (“btc-bitcoin”). Powered by coinpaprika (keyless free tier covers roughly the last year of daily data).

Parameters

NameTypeRequiredDescription
coin_idstringyesCoin name, ticker, or coinpaprika ID (e.g., “bitcoin”, “BTC”, “btc-bitcoin”)
startstringyesStart date YYYY-MM-DD (e.g., “2026-01-01”). Required.
endstringnoEnd date YYYY-MM-DD (optional, default now).
intervalstringnoSampling interval: “1d” (daily, default), “1h”, “7d”, “30d”. Free tier favors “1d”.

Example call

Arguments

{
  "coin_id": "bitcoin",
  "start": "2024-01-01",
  "_apiKey": "your-crypto-api-key"
}

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_history","arguments":{"coin_id":"bitcoin","start":"2024-01-01","_apiKey":"your-crypto-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_crypto_history', {
  "coin_id": "bitcoin",
  "start": "2024-01-01",
  "_apiKey": "your-crypto-api-key"
});

More examples

{
  "coin_id": "SOL",
  "start": "2024-06-01",
  "end": "2024-12-31",
  "interval": "1d",
  "_apiKey": "your-crypto-api-key"
}

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 August 5, 2026