Official Node.js library for interacting with the Bitfinex REST v1 and v2 APIs. v8.0.0 requires Node >=16 and uses promises with optional callbacks. Supports both public and authenticated endpoints, with transform option to convert array responses into key-value objects. Key differentiator: official implementation maintained by Bitfinex, supporting both API versions.
npm install bfx-api-node-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize RESTv2 with transform enabled and fetch a ticker for BTCUSD.
Use multiple API keys for parallel requests, or serialize your requests.
Pass { transform: true } in the constructor options.Upgrade Node.js to version 16 or later.
Use separate API keys for each parallel request or ensure sequential execution.
Use const { RESTv2 } = require('bfx-api-node-rest').