Skip to main content

Get Maintenance Information

Info

The protection period refers to a continuous period following the system maintenance (It's an optional configuration, and may or may not be set). During the protection period, you can cancel orders, place orders (limited to Maker Only Limit Orders), and adjust (add or reduce) margins.

HTTP request

GET /maintain/info

Request parameters

None


Return parameters

Parameter NameTypeNotes
started_atintMaintenance start time (ms)
ended_atintMaintenance end time (ms)
scope[]stringMaintenance scope:
FUTURES: Futures
SPOT: Spot
ALL_SITE: Overall maintenance
announce_urlstringAnnouncement link
announce_enabledboolIs there an announcement link
protect_duration_startintProtection period start time (ms)
protect_duration_endintProtection period end time, unit: milliseconds

Request example

GET /maintain-info

Response example

{
"data": [
{
"started_at": 1713852000000,
"ended_at": 1713852120000,
"protect_duration_start": 0,
"protect_duration_end": 0,
"announce_enabled": false,
"announce_url": "",
"scope": [
"ALL_SITE"
]
},
{
"started_at": 1713974400000,
"ended_at": 1714147200000,
"protect_duration_start": 1714147200000,
"protect_duration_end": 1714148100000,
"announce_enabled": true,
"announce_url": "https://www.coinex.com/zh-hans/announcements/detail/25997652101012",
"scope": [
"SPOT"
]
}
],
"code": 0,
"message": "OK"
}