Market data

Public endpoints: no key, no signature.

Public routes need no API key. They serve the same data Wellat itself trades on, with a short cache, so your bot never needs a direct Binance connection (useful from regions where Binance is blocked). Rate limits apply per IP address.

Spot — /api/v3

MethodPathCCXTWeight
GET/api/v3/timefetchTime1
GET/api/v3/exchangeInfoloadMarkets20
GET/api/v3/ticker/24hrfetchTicker, fetchTickers2 per symbol, 80 for all
GET/api/v3/ticker/pricepublicGetTickerPrice (fetchTicker always calls 24hr)2
GET/api/v3/ticker/bookTickerfetchBidsAsks2
GET/api/v3/depthfetchOrderBook5 to 250 by limit
GET/api/v3/tradesfetchTrades25
GET/api/v3/aggTradesfetchTrades (stock ccxt.binance default)4
GET/api/v3/klinesfetchOHLCV2

Futures — /fapi/v1

MethodPathCCXTWeight
GET/fapi/v1/timefetchTime1
GET/fapi/v1/exchangeInfoloadMarkets1
GET/fapi/v1/ticker/24hrfetchTicker, fetchTickers1 per symbol, 40 for all
GET/fapi/v1/ticker/pricefapiPublicGetTickerPrice (fetchTicker always calls 24hr)1
GET/fapi/v1/ticker/bookTickerfetchBidsAsks1
GET/fapi/v1/depthfetchOrderBook2 to 20 by limit
GET/fapi/v1/tradesfetchTrades5
GET/fapi/v1/aggTradesfetchTrades (stock ccxt.binance default)20
GET/fapi/v1/klinesfetchOHLCV1 to 10 by limit
GET/fapi/v1/premiumIndexfetchFundingRate, mark price1
GET/fapi/v1/fundingRatefetchFundingRateHistory1

exchangeInfo is Wellat's list, not Binance's

exchangeInfo returns only the symbols a Wellat strategy may trade, each with the order types it accepts and the LOT_SIZE, PRICE_FILTER and NOTIONAL filters your orders must satisfy. Load markets from here, never from Binance directly, or you will submit symbols and types that are rejected with -1121 or -1116.

Spot symbols advertise MARKET, LIMIT, STOP_LOSS and STOP_LOSS_LIMIT. Futures symbols advertise MARKET, LIMIT, STOP_MARKET and TAKE_PROFIT_MARKET.

Parameters

Parameters are Binance's. The ones you will use most:

  • symbol on every ticker, depth, trades and klines call. ticker/24hr without a symbol returns every symbol at the "all" weight; symbols=["BTCUSDT","ETHUSDT"] (URL-encoded JSON array) returns a subset.
  • limit on depth (5, 10, 20, 50, 100, 500, 1000) and klines (max 1000).
  • interval on klines: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M.
  • startTime, endTime in milliseconds on klines and fundingRate.

Freshness

Hot endpoints (ticker, depth, klines) are cached for one to two seconds; exchangeInfo for a few minutes. Server time is never cached.

Not available

No WebSocket streams in this release. Poll within your rate budget; ticker/bookTicker at weight 1 or 2 is the cheapest price read.


Did this page help you?