TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/tiagosiebler/bitget-api/llms.txt
Use this file to discover all available pages before exploring further.
RestClientV3 exposes a full suite of public market data methods that require no API key authentication. These endpoints cover every aspect of exchange data: live and historical candles, real-time order books, funding rates, open interest, position tier limits, margin loan rates, and index price components — all through the unified V3/UTA REST interface. Call them directly after instantiating the client with no credentials.
getServerTime()
Returns the current Bitget server timestamp in milliseconds as a string. Use this to confirm connectivity and synchronise your local clock before placing orders. Endpoint:GET /api/v3/public/time
getInstruments(params)
Returns a list of trading instruments available on Bitget for the specified category. Each entry contains the symbol, quote/base coins, contract size, tick size, min order quantity, and trading status. Endpoint:GET /api/v3/market/instruments
Market category. One of
SPOT, MARGIN, USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Optional symbol filter, e.g.
BTCUSDT. Omit to retrieve all instruments in the category.getTickers(params)
Fetches live ticker snapshots — last price, 24-hour volume, bid/ask, funding rate for futures — for one or all symbols in a category. Endpoint:GET /api/v3/market/tickers
Market category:
SPOT, USDT-FUTURES, COIN-FUTURES, or USDC-FUTURES.Optional single-symbol filter, e.g.
ETHUSDT.getOrderBook(params)
Returns the current order book (bids and asks) for a given symbol up to the requested depth. Endpoint:GET /api/v3/market/orderbook
Market category:
SPOT, USDT-FUTURES, COIN-FUTURES, or USDC-FUTURES.Trading symbol, e.g.
BTCUSDT.Number of price levels per side. Defaults to
150; maximum varies by category.getFills(params)
Returns recent public trade fills (market trades) for a symbol. This data is unauthenticated and shows the latest executed trades across the order book. Endpoint:GET /api/v3/market/fills
One of
SPOT, MARGIN, USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Symbol filter, e.g.
BTCUSDT. Omit to retrieve fills across all symbols.Maximum number of results to return.
getCandles(params)
Returns OHLCV candlestick data for a symbol. Maximum 1,000 candles per request. Supports multiple price types (market, mark, index). Endpoint:GET /api/v3/market/candles
One of
SPOT, USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Trading symbol, e.g.
BTCUSDT.Candle interval. Valid values:
1m, 3m, 5m, 15m, 30m, 1H, 4H, 6H, 12H, 1D.Unix timestamp in milliseconds for the start of the range.
Unix timestamp in milliseconds for the end of the range.
Price type:
MARKET (default), MARK, or INDEX.Number of candles to return. Maximum
1000.getHistoryCandles(params)
Retrieves historical OHLCV candlestick data for a symbol beyond the standard candles window. Parameters are identical togetCandles.
Endpoint: GET /api/v3/market/history-candles
getCurrentFundingRate(params)
Returns the current (next settlement) funding rate for a futures symbol. Endpoint:GET /api/v3/market/current-fund-rate
Futures symbol, e.g.
BTCUSDT.getHistoryFundingRate(params)
Returns historical funding rate records for a futures symbol, paginated via cursor. Endpoint:GET /api/v3/market/history-fund-rate
One of
USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Futures symbol, e.g.
BTCUSDT.Pagination cursor for the next page of results.
Maximum number of records to return.
getOpenInterest(params)
Returns the total open interest for a futures category, optionally filtered by symbol. Endpoint:GET /api/v3/market/open-interest
One of
USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Optional symbol filter, e.g.
BTCUSDT.getPositionTier(params)
Returns position tier information (leverage brackets, margin requirements, max position size) for a category. Endpoint:GET /api/v3/market/position-tier
One of
MARGIN, USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Optional symbol filter.
Optional base coin filter, e.g.
BTC.getMarketScoreWeights(params)
Returns the market-maker score weights per symbol used in Bitget’s maker rebate programme. Thecategory filter is optional; omit it to retrieve weights for all categories.
Endpoint: GET /api/v3/market/score-weights
Optional category filter:
SPOT or FUTURES.getMarketFeeGroup(params)
Queries the fee rate tiers and groupings for a given market category. Endpoint:GET /api/v3/market/fee-group
SPOT or FUTURES.Optional group filter:
GROUP_A, GROUP_B, or GROUP_C.getMarginLoans(params)
Returns margin loan rate information for a specific coin. Endpoint:GET /api/v3/market/margin-loans
The coin symbol to query loan rates for, e.g.
USDT, BTC.getIndexComponents(params)
Returns the component assets and their weights that make up a Bitget index price. Endpoint:GET /api/v3/market/index-components
The index symbol, e.g.
BTCUSDT.Comprehensive Market Data Example
The following example demonstrates fetching multiple public data points in parallel usingPromise.all: