---
title: "Candles"
method: GET
path: "/market"
tags: ["WebSockets · Market data"]
---

# Candles

`GET /market`

## Request

- Base URL: `wss://ws.azbit.com`
- URL: `wss://ws.azbit.com/market`
- Auth: none declared

Not a REST call: this is the WebSocket **handshake**. Connect to the URL below and the exchange answers
`101 Switching Protocols`; everything after that is frames, not requests.

Public: no key, no signature.

Candles as they update. This channel takes exactly two positional `Params` — pair, then range:

```json
{ "Method": "subscribe", "Params": ["BTC_USDT", 5] }
```

Ranges: `1` year, `2` month, `3` day, `4` four hours, `5` hour, `6` 30 minutes, `7` 15 minutes,
`8` 5 minutes, `9` 3 minutes, `10` one minute.

A frame missing either parameter is answered `{"Error":"Invalid parameters"}`.

## Other responses

- `101`: Switching Protocols — the socket is open.

## Changes

- **2026-10-13** `13dbac1613c4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/binibit/apis/webapp/changes/market/get.md)

---

[API](https://skmtc.dev/binibit/apis/webapp.md) - [All operations](https://skmtc.dev/binibit/apis/webapp/llms.txt) - [OpenAPI document](https://skmtc.dev/binibit/apis/webapp/revisions/13dbac1613c4?raw)
