candles

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

Gemini crypto exchange OHLC candles for a crypto pair. Time frames 1m, 5m, 15m, 30m, 1hr, 6hr, 1day. Use for charting and backtesting on Gemini.

Parameters

NameTypeRequiredDescription
symbolstringyes
time_framestringyes

Example call

Arguments

{
  "symbol": "btcusd",
  "time_frame": "1m"
}

curl

curl -X POST https://gateway.pipeworx.io/gemini-crypto/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"candles","arguments":{"symbol":"btcusd","time_frame":"1m"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('candles', {
  "symbol": "btcusd",
  "time_frame": "1m"
});

More examples

{
  "symbol": "ethusd",
  "time_frame": "1h"
}

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        },
        "description": "Candle data [timestamp, open, high, low, close, volume]"
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "gemini-crypto": {
      "url": "https://gateway.pipeworx.io/gemini-crypto/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026