book

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

Bitfinex crypto exchange order book (bids + asks) for a crypto pair like “tBTCUSD”. Returns price levels with size + count. Use for live depth-of-book analysis, spread, market microstructure.

Parameters

NameTypeRequiredDescription
symbolstringyes
precisionstringno
lengthnumberno

Example call

Arguments

{
  "symbol": "tBTCUSD",
  "precision": "P0",
  "length": 25
}

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":"book","arguments":{"symbol":"tBTCUSD","precision":"P0","length":25}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('book', {
  "symbol": "tBTCUSD",
  "precision": "P0",
  "length": 25
});

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": "Orderbook entry with price, count, and amount"
      }
    },
    "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