Skip to content

Bitfinex API

9 endpointsFinance & CryptoGlobalsocial:read7 real examples

Returns Bitfinex tickers, trading pairs, order books, recent trades, candles and platform status.

View as Markdown
GET/bitfinex/tickerLast price, best bid and ask and 24-hour statistics of one trading pair.
GET/bitfinex/marketsThe trading pairs of the Bitfinex exchange, sorted by symbol, with their t prefix.
GET/bitfinex/orderbookThe order book of one trading pair at the finest precision, with 1, 25 or 100 levels per side.
GET/bitfinex/tradesThe most recent trades of one trading pair, newest first.
GET/bitfinex/candlesTrade candles of one trading pair, oldest first.
GET/bitfinex/platformStatusWhether the Bitfinex trading platform is operative (true) or in maintenance (false).
GET/bitfinex/tickersBid, ask, last price and 24-hour statistics of several Bitfinex trading pairs in one call.
GET/bitfinex/fundingTickerMargin funding rates of one currency on Bitfinex: the flash return rate, best lending bid and ask with their periods in days, and 24-hour statistics.
GET/bitfinex/derivativeStatusMark price, open interest, insurance fund and the current and next funding rate of one Bitfinex perpetual derivative.

ticker

GET/v1/bitfinex/ticker

Last price, best bid and ask and 24-hour statistics of one trading pair.

scope social:read1 unitcached 1 min

Parameters

symbol
string
required
Trading pair with its t prefix, such as tBTCUSD.
e.g. tBTCUSD
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

13 fields
askstring
askSizestring
bidstring
bidSizestring
changestring
changePercentstring
highstring
lowstring
openstring
pricestring
symbolstring
updatedAtstring
volumestring
curl "https://api.hoshime.com/v1/bitfinex/ticker?symbol=tBTCUSD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "ask": "75726",
    "askSize": "2.11188372",
    "bid": "75712",
    "bidSize": "1.73745454",
    "change": "-562",
    "changePercent": "-0.73674",
    "high": "76547",
    "low": "74850",
    "open": "",
    "price": "75720",
    "symbol": "tBTCUSD",
    "updatedAt": "",
    "volume": "755.84011657"
  },
  "meta": {
    "cached": false,
    "endpoint": "ticker",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

markets

GET/v1/bitfinex/markets

The trading pairs of the Bitfinex exchange, sorted by symbol, with their t prefix.

scope social:read1 unitcached 1 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
namestring
symbolstring
curl "https://api.hoshime.com/v1/bitfinex/markets" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "name": "AAVE:USD",
      "symbol": "tAAVE:USD"
    },
    {
      "name": "AAVE:UST",
      "symbol": "tAAVE:UST"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "markets",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

orderbook

GET/v1/bitfinex/orderbook

The order book of one trading pair at the finest precision, with 1, 25 or 100 levels per side.

scope social:read1 unit

Parameters

symbol
string
required
Trading pair with its t prefix, such as tBTCUSD.
e.g. tBTCUSD
len
string
Levels per side: 1, 25 or 100.
125100
default 25
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
asksLevel[]
ordersinteger (int64)
pricestring
sizestring
bidsLevel[]
ordersinteger (int64)
pricestring
sizestring
symbolstring
curl "https://api.hoshime.com/v1/bitfinex/orderbook?symbol=tBTCUSD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "asks": [
      {
        "orders": 1,
        "price": "75757",
        "size": "-0.0146907"
      },
      {
        "orders": 1,
        "price": "75759",
        "size": "-0.00022"
      }
    ],
    "bids": [
      {
        "orders": 1,
        "price": "75746",
        "size": "0.00230805"
      },
      {
        "orders": 1,
        "price": "75745",
        "size": "0.023"
      }
    ],
    "symbol": "tBTCUSD"
  },
  "meta": {
    "cached": false,
    "endpoint": "orderbook",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

trades

GET/v1/bitfinex/trades

The most recent trades of one trading pair, newest first.

scope social:read1 unitcached 1 minpaginated

Parameters

symbol
string
required
Trading pair with its t prefix, such as tBTCUSD.
e.g. tBTCUSD
limit
integer
Items per page, 1 to 10000.
default 50
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
idstring
pricestring
sidestring
sizestring
tradedAtstring
curl "https://api.hoshime.com/v1/bitfinex/trades?symbol=tBTCUSD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "2007514629",
      "price": "75751",
      "side": "buy",
      "size": "0.00063813",
      "tradedAt": "2026-11-06T18:01:29Z"
    },
    {
      "id": "2007514628",
      "price": "75751",
      "side": "buy",
      "size": "0.00022",
      "tradedAt": "2026-11-06T18:01:29Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "trades",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

candles

GET/v1/bitfinex/candles

Trade candles of one trading pair, oldest first.

scope social:read1 unitcached 5 minpaginated

Parameters

symbol
string
required
Trading pair with its t prefix, such as tBTCUSD.
e.g. tBTCUSD
timeframe
string
Candle length, such as 1m, 1h or 1D.
1m5m15m30m1h3h6h12h1D7D14D1M
default 1h
limit
integer
Items per page, 1 to 10000.
default 100
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
closestring
highstring
lowstring
openstring
openedAtstring
volumestring
curl "https://api.hoshime.com/v1/bitfinex/candles?symbol=tBTCUSD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "close": "77544",
      "high": "78133",
      "low": "77268",
      "open": "77898",
      "openedAt": "2026-11-02T15:00:00Z",
      "volume": "37.85997933"
    },
    {
      "close": "77533",
      "high": "77715",
      "low": "77295",
      "open": "77543",
      "openedAt": "2026-11-02T16:00:00Z",
      "volume": "12.684978450000001"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "candles",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

platformStatus

GET/v1/bitfinex/platformStatus

Whether the Bitfinex trading platform is operative (true) or in maintenance (false).

scope social:read1 unit

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

1 fields
operativeboolean
curl "https://api.hoshime.com/v1/bitfinex/platformStatus" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "operative": true
  },
  "meta": {
    "cached": false,
    "endpoint": "platformStatus",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tickers

GET/v1/bitfinex/tickers

Bid, ask, last price and 24-hour statistics of several Bitfinex trading pairs in one call.

scope social:read1 unitpaginated

Parameters

symbols
string
required
Comma-separated trading pairs such as tBTCUSD,tETHUSD, up to 50.
e.g. tBTCUSD,tETHUSD
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
askstring
bidstring
changestring
changePercentstring
highstring
lowstring
openstring
pricestring
symbolstring
updatedAtstring
volumestring
curl "https://api.hoshime.com/v1/bitfinex/tickers?symbols=tBTCUSD%2CtETHUSD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "ask": "75726",
      "bid": "75712",
      "change": "-562",
      "changePercent": "-0.73674",
      "high": "76547",
      "low": "74850",
      "open": "",
      "price": "75720",
      "symbol": "tBTCUSD",
      "updatedAt": "",
      "volume": "755.84011657"
    },
    {
      "ask": "2224.9",
      "bid": "2224.6",
      "change": "-34.3",
      "changePercent": "-1.518304",
      "high": "2268.8",
      "low": "2206.2",
      "open": "",
      "price": "2224.8",
      "symbol": "tETHUSD",
      "updatedAt": "",
      "volume": "15277.18508294"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "tickers",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

fundingTicker

GET/v1/bitfinex/fundingTicker

Margin funding rates of one currency on Bitfinex: the flash return rate, best lending bid and ask with their periods in days, and 24-hour statistics.

scope social:read1 unitcached 1 min

Parameters

symbol
string
required
Funding currency with its f prefix, such as fUSD.
e.g. fUSD
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
askstring
askPeriodDaysinteger (int64)
askSizestring
bidstring
bidPeriodDaysinteger (int64)
bidSizestring
changestring
changePercentstring
flashReturnRatestring
highstring
lastRatestring
lowstring
symbolstring
volumestring
curl "https://api.hoshime.com/v1/bitfinex/fundingTicker?symbol=fUSD" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "ask": "…",
    "askPeriodDays": 0,
    "askSize": "…",
    "bid": "…",
    "bidPeriodDays": 0,
    "bidSize": "…",
    "change": "…",
    "changePercent": "…",
    "flashReturnRate": "…",
    "high": "…",
    "lastRate": "…",
    "low": "…",
    "symbol": "…",
    "volume": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "fundingTicker",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

derivativeStatus

GET/v1/bitfinex/derivativeStatus

Mark price, open interest, insurance fund and the current and next funding rate of one Bitfinex perpetual derivative.

scope social:read1 unitcached 1 min

Parameters

symbol
string
required
Derivative pair with its t prefix, such as tBTCF0:USTF0 for the BTC perpetual.
e.g. tBTCF0:USTF0
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
derivativePricestring
fundingRatestring
insuranceFundBalancestring
markPricestring
nextFundingAtstring
nextFundingRatestring
openIntereststring
spotPricestring
symbolstring
updatedAtstring
curl "https://api.hoshime.com/v1/bitfinex/derivativeStatus?symbol=tBTCF0%3AUSTF0" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "derivativePrice": "…",
    "fundingRate": "…",
    "insuranceFundBalance": "…",
    "markPrice": "…",
    "nextFundingAt": "2026-11-06T09:41:00Z",
    "nextFundingRate": "…",
    "openInterest": "…",
    "spotPrice": "…",
    "symbol": "…",
    "updatedAt": "2026-11-06T09:41:00Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "derivativeStatus",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "bitfinex",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open