Broker API HubMenu

Bitget ticker

messagetickerBitget WebSocket APIWebSocketPublic channels

The latest price of one symbol with its best bid and ask and its 24 hour figures. Bitget says updates are pushed every 200 ms while the market is changing.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Independent and unofficialbitget.comchecked

This is a subscription of the Bitget WebSocket API, not an HTTP endpoint. It has no method and no path: it is sent as JSON over an open WebSocket connection.

The message

Name
ticker
Direction
Subscription, opened by the client and then fed by the server
Subscribed to as
ticker
Carried by
WebSocket. This channel is in the public section of Bitget's WebSocket documentation. The addresses are the ones on Bitget's quick start page (bitget.com/docs/uta/quick-start), opened the same day, which also lists VIP and low latency hosts.
Public channel
wss://ws.bitget.com/v3/ws/public
Public channel, demo trading
wss://wspap.bitget.com/v3/ws/public

Fields

NameTypeDescription
oprequiredStringsubscribe to start the channel, unsubscribe to stop it.
argsrequiredList<Object>The channels to act on. Each entry names one.
args[].instTyperequiredStringThe product type: spot, usdt-futures, coin-futures or usdc-futures.
args[].topicrequiredStringAlways ticker.
args[].symbolrequiredStringThe symbol, for example BTCUSDT.

What arrives

ticker: A message with the event subscribe and the same arg confirms the subscription, with a connId for the connection. On an error the event is error, with a code and a msg. Data then arrives as below. Futures symbols carry further fields the page lists: indexPrice, markPrice, fundingRate, nextFundingTime, openInterest and, for delivery contracts, deliveryTime, deliveryStartTime and deliveryStatus.

The vendor's page does not say which of these fields are required or always present.

NameTypeDescription
argObjectThe channel the data belongs to: the instType, the topic and, on a public channel, the symbol that were subscribed to.
actionStringsnapshot, for full data.
dataList<Object>The ticker data.
data[].lastPriceStringThe latest price.
data[].bid1PriceStringThe best bid price.
data[].ask1PriceStringThe best ask price.
data[].bid1SizeStringThe quantity at the best bid.
data[].ask1SizeStringThe quantity at the best ask.
data[].highPrice24hStringThe highest price in the last 24 hours.
data[].lowPrice24hStringThe lowest price in the last 24 hours.
data[].openPrice24hStringThe market price 24 hours ago.
data[].price24hPcntStringThe change in price over 24 hours, as a percentage.
data[].turnover24hStringThe turnover over 24 hours.
data[].volume24hStringThe volume over 24 hours.

Sample

Written by this site from the fields recorded on this page. It has not been run against a terminal, a server or an account, and the values in it are placeholders. No credential is typed into it: where a field holds one, the placeholder says where it comes from. Nothing is entered on this site.

{
  "op": "subscribe",
  "args": [
    {
      "instType": "spot",
      "topic": "ticker",
      "symbol": "BTCUSDT"
    }
  ]
}

Limits that apply at Bitget

LimitValueScopeSource
Public market data, legacy v1 API20 per 2 s per IP, public market dataPer IP address, public market data endpoints of the legacy v1 APIbitgetlimited.github.iochecked
Overall requests a minute6,000Per IP address, all requests to the common domain name, with REST and WebSocket sharing one allowancebitget.comchecked
Concurrent WebSocket connections100Per IP addressbitget.comchecked
WebSocket messages a second10Per WebSocket connection, counting ping, login, subscribe and unsubscribe messagesbitget.comchecked
WebSocket subscription requests an hour240Per WebSocket connectionbitget.comchecked
Concurrent WebSocket channel subscriptions1,000Per WebSocket connectionbitget.comchecked