stats

Pack: bitfinex · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/stats for the schema, then POST the same URL with its arguments for the data.

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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the bitfinex pack
{
  "mcpServers": {
    "bitfinex": {
      "url": "https://gateway.pipeworx.io/bitfinex/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026