Skip to content

Commit 859b5b0

Browse files
ntoledoNinj0r
authored andcommitted
New Endpoint: api/v3/rateLimit/order
1 parent 4a8e44d commit 859b5b0

2 files changed

Lines changed: 51 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# CHANGELOG for Binance's API (2021-08-12)
1+
# CHANGELOG for Binance's API (2021-11-01)
2+
3+
## 2021-11-01
4+
* GET `api/v3/rateLimit/order` added
5+
* The endpoint will display the user's current order count usage for all intervals.
6+
* This endpoint will have a request weight of 20.
27

38
## 2021-09-14
49
* Add a [YAML file](https://github.com/binance/binance-api-swagger) with OpenApi specification on the RESTful API.

rest-api.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
- [Query Open OCO (USER_DATA)](#query-open-oco-user_data)
5151
- [Account information (USER_DATA)](#account-information-user_data)
5252
- [Account trade list (USER_DATA)](#account-trade-list-user_data)
53+
- [Query Current Order Count Usage (TRADE)](#query-current-order-count-usage-trade)
5354
- [User data stream endpoints](#user-data-stream-endpoints)
5455
- [Start user data stream (USER_STREAM)](#start-user-data-stream-user_stream)
5556
- [Keepalive user data stream (USER_STREAM)](#keepalive-user-data-stream-user_stream)
@@ -1873,6 +1874,50 @@ Database
18731874
}
18741875
]
18751876
```
1877+
1878+
### Query Current Order Count Usage (TRADE)
1879+
```
1880+
GET /api/v3/rateLimit/order
1881+
```
1882+
1883+
Displays the user's current order count usage for all intervals.
1884+
1885+
1886+
**Weight:**
1887+
20
1888+
1889+
**Parameters:**
1890+
1891+
Name | Type | Mandatory | Description
1892+
------------ | ------------ | ------------ | ------------
1893+
recvWindow | LONG | NO | The value cannot be greater than ```60000```
1894+
timestamp | LONG | YES |
1895+
1896+
**Data Source:**
1897+
Memory
1898+
1899+
**Response:**
1900+
1901+
```json
1902+
[
1903+
1904+
{
1905+
"rateLimitType": "ORDERS",
1906+
"interval": "SECOND",
1907+
"intervalNum": 10,
1908+
"limit": 50,
1909+
"count": 0
1910+
},
1911+
{
1912+
"rateLimitType": "ORDERS",
1913+
"interval": "DAY",
1914+
"intervalNum": 1,
1915+
"limit": 160000,
1916+
"count": 0
1917+
}
1918+
]
1919+
```
1920+
18761921
## User data stream endpoints
18771922
Specifics on how user data streams work can be found [here.](https://github.com/binance/binance-spot-api-docs/blob/master/user-data-stream.md)
18781923

0 commit comments

Comments
 (0)