Bitfinex API
Returns Bitfinex tickers, trading pairs, order books, recent trades, candles and platform status.
View as Markdown| GET | /bitfinex/ticker | Last price, best bid and ask and 24-hour statistics of one trading pair. |
| GET | /bitfinex/markets | The trading pairs of the Bitfinex exchange, sorted by symbol, with their t prefix. |
| GET | /bitfinex/orderbook | The order book of one trading pair at the finest precision, with 1, 25 or 100 levels per side. |
| GET | /bitfinex/trades | The most recent trades of one trading pair, newest first. |
| GET | /bitfinex/candles | Trade candles of one trading pair, oldest first. |
| GET | /bitfinex/platformStatus | Whether the Bitfinex trading platform is operative (true) or in maintenance (false). |
| GET | /bitfinex/tickers | Bid, ask, last price and 24-hour statistics of several Bitfinex trading pairs in one call. |
| GET | /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. |
| GET | /bitfinex/derivativeStatus | Mark price, open interest, insurance fund and the current and next funding rate of one Bitfinex perpetual derivative. |
ticker
/v1/bitfinex/tickerLast price, best bid and ask and 24-hour statistics of one trading pair.
Parameters
symbolstring required | Trading pair with its t prefix, such as tBTCUSD. e.g. tBTCUSD |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
ask | string |
askSize | string |
bid | string |
bidSize | string |
change | string |
changePercent | string |
high | string |
low | string |
open | string |
price | string |
symbol | string |
updatedAt | string |
volume | string |
curl "https://api.hoshime.com/v1/bitfinex/ticker?symbol=tBTCUSD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/ticker?symbol=tBTCUSD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/ticker?symbol=tBTCUSD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/bitfinex/marketsThe trading pairs of the Bitfinex exchange, sorted by symbol, with their t prefix.
Parameters
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
name | string |
symbol | string |
curl "https://api.hoshime.com/v1/bitfinex/markets" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/markets", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/markets", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/bitfinex/orderbookThe order book of one trading pair at the finest precision, with 1, 25 or 100 levels per side.
Parameters
symbolstring required | Trading pair with its t prefix, such as tBTCUSD. e.g. tBTCUSD |
lenstring | Levels per side: 1, 25 or 100.125100default 25 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
asks | Level[] |
orders | integer (int64) |
price | string |
size | string |
bids | Level[] |
orders | integer (int64) |
price | string |
size | string |
symbol | string |
curl "https://api.hoshime.com/v1/bitfinex/orderbook?symbol=tBTCUSD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/orderbook?symbol=tBTCUSD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/orderbook?symbol=tBTCUSD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/bitfinex/tradesThe most recent trades of one trading pair, newest first.
Parameters
symbolstring required | Trading pair with its t prefix, such as tBTCUSD. e.g. tBTCUSD |
limitinteger | Items per page, 1 to 10000. default 50 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
id | string |
price | string |
side | string |
size | string |
tradedAt | string |
curl "https://api.hoshime.com/v1/bitfinex/trades?symbol=tBTCUSD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/trades?symbol=tBTCUSD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/trades?symbol=tBTCUSD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/bitfinex/candlesTrade candles of one trading pair, oldest first.
Parameters
symbolstring required | Trading pair with its t prefix, such as tBTCUSD. e.g. tBTCUSD |
timeframestring | Candle length, such as 1m, 1h or 1D.1m5m15m30m1h3h6h12h1D7D14D1Mdefault 1h |
limitinteger | Items per page, 1 to 10000. default 100 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
close | string |
high | string |
low | string |
open | string |
openedAt | string |
volume | string |
curl "https://api.hoshime.com/v1/bitfinex/candles?symbol=tBTCUSD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/candles?symbol=tBTCUSD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/candles?symbol=tBTCUSD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/bitfinex/platformStatusWhether the Bitfinex trading platform is operative (true) or in maintenance (false).
Parameters
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
operative | boolean |
curl "https://api.hoshime.com/v1/bitfinex/platformStatus" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/platformStatus", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/platformStatus", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "operative": true }, "meta": { "cached": false, "endpoint": "platformStatus", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "bitfinex", "requestId": "req_2Xb9kQ…", "units": 1 } }
tickers
/v1/bitfinex/tickersBid, ask, last price and 24-hour statistics of several Bitfinex trading pairs in one call.
Parameters
symbolsstring required | Comma-separated trading pairs such as tBTCUSD,tETHUSD, up to 50. e.g. tBTCUSD,tETHUSD |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
ask | string |
bid | string |
change | string |
changePercent | string |
high | string |
low | string |
open | string |
price | string |
symbol | string |
updatedAt | string |
volume | string |
curl "https://api.hoshime.com/v1/bitfinex/tickers?symbols=tBTCUSD%2CtETHUSD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/tickers?symbols=tBTCUSD%2CtETHUSD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/tickers?symbols=tBTCUSD%2CtETHUSD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/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.
Parameters
symbolstring required | Funding currency with its f prefix, such as fUSD. e.g. fUSD |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
ask | string |
askPeriodDays | integer (int64) |
askSize | string |
bid | string |
bidPeriodDays | integer (int64) |
bidSize | string |
change | string |
changePercent | string |
flashReturnRate | string |
high | string |
lastRate | string |
low | string |
symbol | string |
volume | string |
curl "https://api.hoshime.com/v1/bitfinex/fundingTicker?symbol=fUSD" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/fundingTicker?symbol=fUSD", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/fundingTicker?symbol=fUSD", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/bitfinex/derivativeStatusMark price, open interest, insurance fund and the current and next funding rate of one Bitfinex perpetual derivative.
Parameters
symbolstring required | Derivative pair with its t prefix, such as tBTCF0:USTF0 for the BTC perpetual. e.g. tBTCF0:USTF0 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
derivativePrice | string |
fundingRate | string |
insuranceFundBalance | string |
markPrice | string |
nextFundingAt | string |
nextFundingRate | string |
openInterest | string |
spotPrice | string |
symbol | string |
updatedAt | string |
curl "https://api.hoshime.com/v1/bitfinex/derivativeStatus?symbol=tBTCF0%3AUSTF0" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/bitfinex/derivativeStatus?symbol=tBTCF0%3AUSTF0", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/bitfinex/derivativeStatus?symbol=tBTCF0%3AUSTF0", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }