跳至主要内容

查詢公告

HTTP 請求

GET /v5/announcements/index

請求參數

參數是否必需類型說明
localetruestring公告語言標識
typefalsestring公告類型
tagfalsestring公告標籤
pagefalseinteger分頁頁碼. 默認: 1
limitfalseinteger每頁數據限制. 默認: 20

響應參數

參數類型說明
totalinteger可查詢公告總署
listarrayObject
> titlestring公告標題
> descriptionstring公告描述
> typeObject
>> titlestring公告類型名稱,多語言
>> keystring公告類型唯一鍵
> tagsarray<string>公告標籤
> urlstring公告鏈結
> dateTimestampnumber作者填寫的時間戳 (毫秒)
> startDataTimestampnumber事件開始時間戳 (毫秒), 僅當list.type.key == "latest_activities"時有效
> endDataTimestampnumber事件結束時間戳 (毫秒), 僅當list.type.key == "latest_activities"時有效
> publishTimenumber公告發出時間戳 (毫秒)

請求示例

GET /v5/announcements/index?locale=en-US&limit=1 HTTP/1.1
Host: api.bybit.com

響應示例

{
"retCode": 0,
"retMsg": "OK",
"result": {
"total": 569,
"list": [
{
"title": "Arbitrum(ARB) 即將上線:儲值 250 ARB 即賺 25 USDT,更可解鎖 150,000 USDT 獎池!",
"description": "好消息! ARB 即將上線 Bybit 交易平台!",
"type": {
"title": "新幣上線",
"key": "new_crypto"
},
"tags": [
"Spot",
"Spot Listings"
],
"url": "https://announcements.bybit.com/zh-TW/article/new-listing-arbitrum-arb-deposit-250-arb-to-earn-25-usdt-share-a-150-000-usdt-prize-pool--bltf662314c211a8616/",
"dateTimestamp": 1679045608000,
"startDateTimestamp": 1679564008000,
"endDateTimestamp": 1680255208000
}
]
},
"retExtInfo": {},
"time": 1679416172335
}