stats

Pack: bitfinex · Endpoint: https://gateway.pipeworx.io/bitfinex/mcp

Statistics by key.

Parameters

NameTypeRequiredDescription
keystringyes
symbolstringyes
sidestringno
sectionstringno
sortnumberno
startnumberno
endnumberno
limitnumberno

Example call

Arguments

{
  "key": "funding.size",
  "symbol": "tBTCUSD"
}

curl

curl -X POST https://gateway.pipeworx.io/bitfinex/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stats","arguments":{"key":"funding.size","symbol":"tBTCUSD"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('stats', {
  "key": "funding.size",
  "symbol": "tBTCUSD"
});

More examples

{
  "key": "funding.rate",
  "symbol": "tETHUSD",
  "side": "lend"
}

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "array",
        "description": "Statistics data point with timestamp and values"
      }
    },
    "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": {
    "bitfinex": {
      "url": "https://gateway.pipeworx.io/bitfinex/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 8, 2026