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

NameTypeRequiredDescription
resolutionstringnoCandle resolution: “D” (daily), “W” (weekly), “M” (monthly), “H” (hourly), or a minute count like “1”, “5”, “15”. Defaults to “D”.
symbolstringyesStock ticker symbol, e.g. “AAPL”.
fromstringnoStart date (YYYY-MM-DD), inclusive. Optional.
tostringnoEnd date (YYYY-MM-DD), inclusive. Optional.
countbacknumbernoReturn this many candles counting back from to (mutually exclusive with from). Optional.
_apiKeystringyesMarket 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.

Regenerated from source · build July 9, 2026