trades

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

Fetch recent trade history from Gemini for a symbol; optional timestamp filters to a start time and limit_trades caps the result count. Returns price, amount, type, and timestamp per trade.

Parameters

NameTypeRequiredDescription
symbolstringyes
timestampnumberno
limit_tradesnumberno
include_breaksbooleanno

Example call

Arguments

{
  "symbol": "btcusd"
}

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":"trades","arguments":{"symbol":"btcusd"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('trades', {
  "symbol": "btcusd"
});

More examples

{
  "symbol": "ethusd",
  "limit_trades": 100,
  "include_breaks": true
}

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "number",
            "description": "Unix timestamp of trade"
          },
          "tid": {
            "type": "number",
            "description": "Trade ID"
          },
          "price": {
            "type": "string",
            "description": "Trade price"
          },
          "amount": {
            "type": "string",
            "description": "Trade amount"
          },
          "exchange": {
            "type": "string",
            "description": "Exchange identifier"
          },
          "type": {
            "type": "string",
            "description": "Trade type (buy/sell)"
          }
        }
      }
    },
    "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