Bitfinex API
Bitfinex API
Bitfinex API is the programmatic interface of veteran crypto exchange Bitfinex — spot, margin trading, derivatives, and unique funding (lending market) feature.
Extremely deep BTC historical data (since 2013)
Associated with Tether (USDT issuer), raising regulatory concerns
Create API key in Bitfinex account. GET https://api-pub.bitfinex.com/v2/ticker/tBTCUSD for BTC/USD ticker.
Uptime · 30-day window
About this API
Bitfinex is a crypto exchange founded 2012 in Hong Kong, one of the highest-volume exchanges globally in the mid-2010s. Differentiated by Funding market — other exchanges do margin trading by borrowing from exchange liquidity pools; Bitfinex lets users lend to each other (lend USD to earn interest, borrowers pay interest), forming a unique "crypto money market". BTC historical data back to 2013 is unmatched by other old exchanges. But Bitfinex has had controversy: hacked for 120k BTC in 2016 (worth $70M then, mostly recovered by US DOJ in 2022), shared management with Tether (USDT stablecoin issuer) raising regulatory concerns (NYAG 2019 investigation). Still a choice for professional traders today, but compliance controversies affect mainstream adoption.
What you can build
- 1Professional margin trading
- 2Funding market lending USD for yield
- 3Deep historical BTC backtesting
- 4Institutional trading
Strengths & limitations
Strengths
- Extremely deep BTC historical data (since 2013)
- Unique Funding market (users lend to each other with interest)
- Preferred by professional traders
Limitations
- Associated with Tether (USDT issuer), raising regulatory concerns
- Hacked for 120k BTC in 2016
- US customers restricted
Example request
curl https://www.bitfinex.com/<endpoint> \
-H "Authorization: Bearer $API_KEY"
# Some providers use X-Api-Key instead — verify in the docs.Getting started
Create API key in Bitfinex account. GET https://api-pub.bitfinex.com/v2/ticker/tBTCUSD for BTC/USD ticker.
FAQ
How do I participate in the Funding market?+
Subscribe to funding orderbook via WebSocket to see USD lending supply/demand. Lenders post N% annualized rate orders; borrowers accept.
Technical details
- Auth type
- api_key
- Pricing
- free
- Rate limit
- 90 req/分;WebSocket 几乎无限
- Protocols
- REST, WebSocket
- SDKs
- python, javascript, go, java
- Response time
- 398 ms
- Last health check
- 5/12/2026, 7:37:09 AM