marketdata_candles
Pack: marketdata-app · Endpoint: https://gateway.pipeworx.io/marketdata-app/mcp
Get historical OHLCV candles for a stock symbol at a given resolution (“D” daily, “H” hourly, “5” for 5-minute, etc.). Provide a from/to date range. Example: marketdata_candles({ resolution: “D”, symbol: “AAPL”, from: “2026-01-01”, to: “2026-06-30”, _apiKey: “your-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resolution | string | no | Candle resolution: “D” (daily), “W” (weekly), “M” (monthly), “H” (hourly), or a minute count like “1”, “5”, “15”. Defaults to “D”. |
symbol | string | yes | Stock ticker symbol, e.g. “AAPL”. |
from | string | no | Start date (YYYY-MM-DD), inclusive. Optional. |
to | string | no | End date (YYYY-MM-DD), inclusive. Optional. |
countback | number | no | Return this many candles counting back from to (mutually exclusive with from). Optional. |
_apiKey | string | yes | Market Data App API token. Get one at ${SIGNUP_URL} |
Example call
curl -X POST https://gateway.pipeworx.io/marketdata-app/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"marketdata_candles","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"marketdata-app": {
"url": "https://gateway.pipeworx.io/marketdata-app/mcp"
}
}
}
See Getting Started for client-specific install steps.