If you have an old bookmark or a tutorial that points at binance-docs.github.io/apidocs, you will now get a 404. The spot, futures and root pages on that host stopped redirecting in early December 2026, so the links in many older guides, READMEs and code comments lead nowhere.
The documentation itself has not gone anywhere. It lives on developers.binance.com, split by product. Below is the map I now use, followed by a small Node.js script that touches each area so you can check your setup against the current docs.
Spot API docs
Old: binance-docs.github.io/apidocs/spot/en
Now:
- REST API, general information (base URLs, signing, rate limits): https://developers.binance.com/en/docs/products/spot/rest-api
- WebSocket market streams: https://developers.binance.com/en/docs/products/spot/web-socket-streams
- WebSocket API (requests over a socket, including signed ones): https://developers.binance.com/en/docs/products/spot/web-socket-api
- User data stream: https://developers.binance.com/en/docs/products/spot/user-data-stream
- Symbol filters (PRICE_FILTER, LOT_SIZE, NOTIONAL): https://developers.binance.com/en/docs/products/spot/filters
- Error codes: https://developers.binance.com/en/docs/products/spot/errors
The Markdown source of the spot docs is also still on GitHub in binance/binance-spot-api-docs, which is handy for searching.
USD-M futures API docs
Old: binance-docs.github.io/apidocs/futures/en
Now:
- General information: https://developers.binance.com/en/docs/products/derivatives-trading-usds-futures/general-info
- WebSocket market streams: https://developers.binance.com/en/docs/products/derivatives-trading-usds-futures/websocket-market-streams/Connect
- User data streams: https://developers.binance.com/en/docs/products/derivatives-trading-usds-futures/user-data-streams
One thing worth reading while you are there is the WebSocket change notice in the futures stream section. Market streams such as klines, mark price, aggregate trades and liquidations now sit on the /market path of fstream.binance.com, and order book streams on /public. Connections that still use the old /ws or /stream paths only receive the /public data, so a candle or mark price feed on an old URL simply stays silent.
COIN-M futures and margin
- COIN-M futures: https://developers.binance.com/en/docs/products/derivatives-trading-coin-futures/general-info
- Margin trading: https://developers.binance.com/en/docs/products/margin-trading/general-info
One script that touches each area
I keep a short check script for new machines and CI. It uses the binance package on npm (npm install binance), which covers spot, margin, USD-M and COIN-M futures with TypeScript types, and picks the right futures stream path for each topic.
import { MainClient, USDMClient, WebsocketClient } from 'binance';
const spot = new MainClient();
const usdm = new USDMClient();
// Spot REST (products/spot/rest-api)
const serverTime = await spot.getServerTime();
const info = await spot.getExchangeInfo({ symbol: 'BTCUSDT' });
const lot = info.symbols[0].filters.find((f) => f.filterType === 'LOT_SIZE');
console.log('spot', new Date(serverTime).toISOString(), 'stepSize', lot.stepSize);
// USD-M futures REST (products/derivatives-trading-usds-futures)
const mark = await usdm.getMarkPrice({ symbol: 'BTCUSDT' });
console.log('usdm mark', mark.markPrice, 'funding', mark.lastFundingRate);
// USD-M market streams (the /market path is chosen for you)
const ws = new WebsocketClient({ beautify: true });
let n = 0;
ws.on('open', (e) => console.log('ws open', e.wsKey));
ws.on('formattedMessage', (msg) => {
if (msg.eventType === 'kline' && ++n === 3) {
console.log('3 kline updates, close', msg.kline.close);
ws.closeAll(true);
}
});
ws.subscribe(['btcusdt@kline_1m', 'btcusdt@markPrice@1s'], 'usdm');
Run on Node 24 with binance 3.6.15 on 3 December 2026, it printed:
spot 2026-12-03T23:03:10.055Z stepSize 0.00001000
usdm mark 53512.00000000 funding 0.00008629
ws open usdmMarket
3 kline updates, close 53467.6
The usdmMarket key in the third line shows the socket went to the /market path, which is where kline and mark price data now arrive. No API keys are needed for any of this, since every call above is public market data.
Updating old links in your own project
A quick way to find stale references is a search across your repository for binance-docs.github.io. Swap each one for the matching page above. For code that opened futures sockets by hand, either move the URL to the /market or /public path that fits the stream, or let a client library route it for you.
If you want a single reference for the JavaScript side, the Siebly page for the binance package lists the REST clients, WebSocket client and examples in one place: https://siebly.io/sdk/binance/javascript
Comments
Join the discussionNo comments yet. Be the first to comment.