historical_ohlc
Pack: coinpaprika · Endpoint: https://gateway.pipeworx.io/coinpaprika/mcp
Daily OHLC + volume + market cap for a coin. Defaults to the last 30 days when no date range is supplied. Free tier: up to 1 year back.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
coin_id | string | yes | coinpaprika coin ID (e.g. “btc-bitcoin”, “eth-ethereum”) |
start | string | no | YYYY-MM-DD or unix timestamp. Optional — defaults to 30 days ago. |
end | string | no | YYYY-MM-DD or unix timestamp (optional, defaults to now). |
limit | number | no | 1-365 daily candles (default 30). |
quote | string | no | usd | btc (default usd) |
Example call
curl -X POST https://gateway.pipeworx.io/coinpaprika/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"historical_ohlc","arguments":{}}}'
Response shape
Full JSON Schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"time_open": {
"type": "number",
"description": "Unix timestamp for period open"
},
"time_close": {
"type": "number",
"description": "Unix timestamp for period close"
},
"open": {
"type": "number",
"description": "Opening price"
},
"high": {
"type": "number",
"description": "Highest price in period"
},
"low": {
"type": "number",
"description": "Lowest price in period"
},
"close": {
"type": "number",
"description": "Closing price"
},
"volume": {
"type": "number",
"description": "Trading volume"
},
"market_cap": {
"type": "number",
"description": "Market cap at close"
}
}
},
"description": "Daily OHLC candles with volume and market cap"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"coinpaprika": {
"url": "https://gateway.pipeworx.io/coinpaprika/mcp"
}
}
}
See Getting Started for client-specific install steps.