Skip to main content

Public Trade Fills

WSProductionwss://ws.btse.com/ws/spotTestnetwss://testws.btse.io/ws/spot

Real-time public trade feed for a market. Topic: tradeHistoryApi:<symbol> β€” no authentication required.

Response Content​

NameTypeRequiredDescription
topicStringYesWebSocket topic
dataObject[]YesArray of data objects

Data Object:

NameTypeRequiredDescription
symbolStringYesMarket symbol
sideStringYesTrade side β€” BUY Β· SELL
sizeDoubleYesTransacted size
priceDoubleYesTransacted price
tradeIdLongYesTrade sequence ID
timestampLongYesTrade timestamp
example

Response

{
"topic": "tradeHistoryApi:BTC-USD",
"data": [
{
"symbol": "BTC-USD",
"side": "SELL",
"size": 0.007,
"price": 5302.8,
"tradeId": 118974855,
"timestamp": 1584446020295
}
]
}