Bitfinex.Net AI API Quick Map

July 21, 2026 ยท View on GitHub

Use this file to route common user intents to the correct Bitfinex.Net client member. If a method name or parameter is not listed here, inspect Bitfinex.Net/Interfaces/Clients/** before generating code.

Client Roots

IntentUse
REST callsnew BitfinexRestClient()
WebSocket streams and socket API requestsnew BitfinexSocketClient()
API key authenticationoptions.ApiCredentials = new BitfinexCredentials("key", "secret")
Live environmentBitfinexEnvironment.Live
Dependency injectionservices.AddBitfinex(options => { ... })
Market/account/trading RESTclient.SpotApi
Authenticated funding RESTclient.GeneralApi.Funding
WebSocket streams and socket actionssocketClient.SpotApi

Symbols

Symbol typeFormat
TradingtBTCUSD, tETHUSD
FundingfUSD, fBTC
DerivativestBTCF0:USTF0

Exchange Data REST

User intentBitfinex.Net member
Get platform statusclient.SpotApi.ExchangeData.GetPlatformStatusAsync()
Get tickerclient.SpotApi.ExchangeData.GetTickerAsync("tBTCUSD")
Get tickersclient.SpotApi.ExchangeData.GetTickersAsync(new[] { "tBTCUSD" })
Get funding tickerclient.SpotApi.ExchangeData.GetFundingTickerAsync("fUSD")
Get funding tickersclient.SpotApi.ExchangeData.GetFundingTickersAsync(new[] { "fUSD" })
Get ticker historyclient.SpotApi.ExchangeData.GetTickerHistoryAsync(...)
Get trade historyclient.SpotApi.ExchangeData.GetTradeHistoryAsync("tBTCUSD")
Get order bookclient.SpotApi.ExchangeData.GetOrderBookAsync("tBTCUSD", Precision.PrecisionLevel0)
Get raw order bookclient.SpotApi.ExchangeData.GetRawOrderBookAsync("tBTCUSD")
Get funding order bookclient.SpotApi.ExchangeData.GetFundingOrderBookAsync("fUSD", Precision.PrecisionLevel0)
Get raw funding order bookclient.SpotApi.ExchangeData.GetRawFundingOrderBookAsync("fUSD")
Get last klineclient.SpotApi.ExchangeData.GetLastKlineAsync("tBTCUSD", KlineInterval.OneMinute)
Get klinesclient.SpotApi.ExchangeData.GetKlinesAsync("tBTCUSD", KlineInterval.OneMinute)
Get average execution priceclient.SpotApi.ExchangeData.GetAveragePriceAsync("tBTCUSD", quantity)
Get foreign exchange rateclient.SpotApi.ExchangeData.GetForeignExchangeRateAsync("BTC", "USD")
Get derivatives statusclient.SpotApi.ExchangeData.GetDerivativesStatusAsync(new[] { "tBTCF0:USTF0" })
Get derivatives status historyclient.SpotApi.ExchangeData.GetDerivativesStatusHistoryAsync("tBTCF0:USTF0")
Get liquidation historyclient.SpotApi.ExchangeData.GetLiquidationsAsync()
Get funding statisticsclient.SpotApi.ExchangeData.GetFundingStatisticsAsync("fUSD")
Get funding sizeclient.SpotApi.ExchangeData.GetLastFundingSizeAsync("USD")
Get credit sizeclient.SpotApi.ExchangeData.GetLastCreditSizeAsync("USD")
Get longs/shorts totalsclient.SpotApi.ExchangeData.GetLastLongsShortsTotalsAsync("tBTCUSD", StatSide.Long)
Get trading volumeclient.SpotApi.ExchangeData.GetLastTradingVolumeAsync(1)
Get VWAPclient.SpotApi.ExchangeData.GetLastVolumeWeightedAveragePriceAsync("tBTCUSD")
Get symbol namesclient.SpotApi.ExchangeData.GetSymbolNamesAsync(SymbolType.Exchange)
Get asset namesclient.SpotApi.ExchangeData.GetAssetNamesAsync()
Get asset symbol mapclient.SpotApi.ExchangeData.GetAssetSymbolsAsync()
Get asset full namesclient.SpotApi.ExchangeData.GetAssetFullNamesAsync()
Get asset withdrawal feesclient.SpotApi.ExchangeData.GetAssetWithdrawalFeesAsync()
Get symbols infoclient.SpotApi.ExchangeData.GetSymbolsAsync()
Get derivatives symbols infoclient.SpotApi.ExchangeData.GetFuturesSymbolsAsync()
Get deposit/withdrawal statusclient.SpotApi.ExchangeData.GetDepositWithdrawalStatusAsync()
Get margin infoclient.SpotApi.ExchangeData.GetMarginInfoAsync()
Get derivatives feesclient.SpotApi.ExchangeData.GetDerivativesFeesAsync()

Account REST

User intentBitfinex.Net member
Get wallets/balancesclient.SpotApi.Account.GetBalancesAsync()
Get base margin infoclient.SpotApi.Account.GetBaseMarginInfoAsync()
Get symbol margin infoclient.SpotApi.Account.GetSymbolMarginInfoAsync("tBTCUSD")
Get movementsclient.SpotApi.Account.GetMovementsAsync("BTC")
Get movement detailsclient.SpotApi.Account.GetMovementsDetailsAsync(id)
Get alert listclient.SpotApi.Account.GetAlertListAsync()
Set price alertclient.SpotApi.Account.SetAlertAsync("tBTCUSD", price)
Delete price alertclient.SpotApi.Account.DeleteAlertAsync("tBTCUSD", price)
Calculate available balanceclient.SpotApi.Account.GetAvailableBalanceAsync("tBTCUSD", OrderSide.Buy, rate, WalletType.Exchange)
Get ledger entriesclient.SpotApi.Account.GetLedgerEntriesAsync("BTC")
Get user infoclient.SpotApi.Account.GetUserInfoAsync()
Get fee summaryclient.SpotApi.Account.Get30DaySummaryAndFeesAsync()
Get deposit addressclient.SpotApi.Account.GetDepositAddressAsync(method, WithdrawWallet.Exchange)
Transfer between walletsclient.SpotApi.Account.WalletTransferAsync("BTC", quantity, WithdrawWallet.Exchange, WithdrawWallet.Margin)
Withdrawclient.SpotApi.Account.WithdrawV2Async(method, wallet, quantity, address)
Get login historyclient.SpotApi.Account.GetLoginHistoryAsync()
Get API key permissionsclient.SpotApi.Account.GetApiKeyPermissionsAsync()
Get account change logclient.SpotApi.Account.GetAccountChangeLogAsync()

Trading REST

User intentBitfinex.Net member
Get open ordersclient.SpotApi.Trading.GetOpenOrdersAsync("tBTCUSD")
Get closed ordersclient.SpotApi.Trading.GetClosedOrdersAsync("tBTCUSD")
Get order tradesclient.SpotApi.Trading.GetOrderTradesAsync("tBTCUSD", orderId)
Get user tradesclient.SpotApi.Trading.GetUserTradesAsync("tBTCUSD")
Place exchange limit orderclient.SpotApi.Trading.PlaceOrderAsync("tBTCUSD", OrderSide.Buy, OrderType.ExchangeLimit, quantity, price)
Place margin limit orderclient.SpotApi.Trading.PlaceOrderAsync("tBTCUSD", OrderSide.Buy, OrderType.Limit, quantity, price)
Place derivative order with leverageclient.SpotApi.Trading.PlaceOrderAsync("tBTCF0:USTF0", OrderSide.Buy, OrderType.Limit, quantity, price, leverage: 10)
Cancel orderclient.SpotApi.Trading.CancelOrderAsync(orderId)
Cancel multiple ordersclient.SpotApi.Trading.CancelOrdersAsync(...)
Get active positionsclient.SpotApi.Trading.GetPositionsAsync()
Get position historyclient.SpotApi.Trading.GetPositionHistoryAsync()
Get positions by idclient.SpotApi.Trading.GetPositionsByIdAsync(ids)
Get position snapshotsclient.SpotApi.Trading.GetPositionSnapshotsAsync()
Claim positionclient.SpotApi.Trading.ClaimPositionAsync(id, quantity)
Increase positionclient.SpotApi.Trading.IncreasePositionAsync("tBTCUSD", quantity)
Get increase position infoclient.SpotApi.Trading.GetIncreasePositionInfoAsync("tBTCUSD", quantity)

Funding REST

User intentBitfinex.Net member
Get active funding offersclient.GeneralApi.Funding.GetActiveFundingOffersAsync("fUSD")
Get funding offer historyclient.GeneralApi.Funding.GetFundingOfferHistoryAsync("fUSD")
Submit funding offerclient.GeneralApi.Funding.SubmitFundingOfferAsync(FundingOrderType.Limit, "fUSD", quantity, rate, period)
Cancel funding offerclient.GeneralApi.Funding.CancelFundingOfferAsync(offerId)
Cancel all funding offersclient.GeneralApi.Funding.CancelAllFundingOffersAsync("USD")
Get funding loansclient.GeneralApi.Funding.GetFundingLoansAsync("fUSD")
Get funding loan historyclient.GeneralApi.Funding.GetFundingLoansHistoryAsync("fUSD")
Get funding creditsclient.GeneralApi.Funding.GetFundingCreditsAsync("fUSD")
Get funding credit historyclient.GeneralApi.Funding.GetFundingCreditsHistoryAsync("fUSD")
Get funding trade historyclient.GeneralApi.Funding.GetFundingTradesHistoryAsync("fUSD")
Get funding infoclient.GeneralApi.Funding.GetFundingInfoAsync("fUSD")
Submit funding auto-renewclient.GeneralApi.Funding.SubmitFundingAutoRenewAsync("USD", true, quantity, rate, period)
Get funding auto-renew statusclient.GeneralApi.Funding.GetFundingAutoRenewStatusAsync("USD")
Keep fundingclient.GeneralApi.Funding.KeepFundingAsync(FundType.Credit, ids)
Close fundingclient.GeneralApi.Funding.CloseFundingAsync(id)

WebSocket

User intentBitfinex.Net member
Subscribe ticker updatessocketClient.SpotApi.SubscribeToTickerUpdatesAsync("tBTCUSD", handler)
Subscribe funding ticker updatessocketClient.SpotApi.SubscribeToFundingTickerUpdatesAsync("fUSD", handler)
Subscribe order book updatessocketClient.SpotApi.SubscribeToOrderBookUpdatesAsync("tBTCUSD", Precision.PrecisionLevel0, Frequency.Realtime, 25, handler)
Subscribe raw order book updatessocketClient.SpotApi.SubscribeToRawOrderBookUpdatesAsync("tBTCUSD", 25, handler)
Subscribe tradessocketClient.SpotApi.SubscribeToTradeUpdatesAsync("tBTCUSD", handler)
Subscribe klinessocketClient.SpotApi.SubscribeToKlineUpdatesAsync("tBTCUSD", KlineInterval.OneMinute, handler)
Subscribe liquidation updatessocketClient.SpotApi.SubscribeToLiquidationUpdatesAsync(handler)
Subscribe derivatives updatessocketClient.SpotApi.SubscribeToDerivativesUpdatesAsync("tBTCF0:USTF0", handler)
Subscribe authenticated user updatessocketClient.SpotApi.SubscribeToUserUpdatesAsync(...)
Socket place ordersocketClient.SpotApi.PlaceOrderAsync(OrderSide.Buy, OrderType.ExchangeLimit, "tBTCUSD", quantity, price: price)
Socket cancel ordersocketClient.SpotApi.CancelOrderAsync(orderId)
Socket submit funding offersocketClient.SpotApi.SubmitFundingOfferAsync(FundingOfferType.Limit, "fUSD", quantity, price, period)

SharedApis

User intentBitfinex.Net member or interface
Shared spot REST clientnew BitfinexRestClient().SpotApi.SharedClient
Shared spot socket clientnew BitfinexSocketClient().SpotApi.SharedClient
Discover shared capabilitiesclient.SpotApi.SharedClient.Discover()
Get filtered shared spot symbols and populate the catalogISpotSymbolRestClient.GetSpotSymbolsAsync(new GetSymbolsRequest(...))
Read the populated shared spot symbol catalogISpotSymbolRestClient.SpotSymbolCatalog
Get filtered shared futures symbols and populate the catalogIFuturesSymbolRestClient.GetFuturesSymbolsAsync(new GetSymbolsRequest(...))
Read the populated shared futures symbol catalogIFuturesSymbolRestClient.FuturesSymbolCatalog
Shared spot ticker RESTISpotTickerRestClient.GetSpotTickerAsync(new GetTickerRequest(symbol))
Shared spot order RESTISpotOrderRestClient.PlaceSpotOrderAsync(...)
Shared ticker socketITickerSocketClient.SubscribeToTickerUpdatesAsync(...)
Shared order book socketIOrderBookSocketClient.SubscribeToOrderBookUpdatesAsync(...)

Shared REST calls return HttpResult<T> / HttpResult. Shared socket subscriptions return WebSocketResult<UpdateSubscription>. Shared non-I/O symbol/cache helpers such as symbol support checks return ExchangeCallResult<T>.

Shared spot/futures symbol results include DisplayName, base/quote asset types, and relevant stablecoin, commodity, or derivative-equity subtypes. The catalog properties are available after the corresponding successful symbol retrieval.

For shared socket subscriptions, keep the concrete socket client and unsubscribe with await socketClient.UnsubscribeAsync(subscription.Data).

Result Handling

SituationPattern
REST success checkif (!result.Success) { Console.WriteLine(result.Error); return; }
Socket subscription success checkWebSocketResult<UpdateSubscription> sub = await ...; if (!sub.Success) { Console.WriteLine(sub.Error); return; }
Read REST dataRead result.Data only after result.Success
Shared helper dataRead ExchangeCallResult<T>.Data only after result.Success

Common Routing Pitfalls

Do not useUse instead
Raw HttpClientBitfinexRestClient / BitfinexSocketClient
ApiCredentialsBitfinexCredentials
FuturesApiDerivative symbols under SpotApi
Top-level FundingApiGeneralApi.Funding
BTCUSDtBTCUSD
USD for funding symbolfUSD
.Data without .Success checkCheck .Success first
Shared socket UnsubscribeAsync(...)Keep the concrete socket client and call socketClient.UnsubscribeAsync(subscription.Data)
Custom clientOrderId by defaultLet Bitfinex.Net auto-generate it