獲取新聞公告
此接口可獲取最新的新聞公告,默認分頁査詢一個月以內的公告。
HTTP請求
GET /api/v3/announcements
請求示例
GET /api/v3/announcements?annType=latest-announcements
{
"code": "200000",
"data": {
"totalNum": 8684,
"items": [
{
"annId": 127637,
"annTitle": "CHO GemSlot Campaign: Finish Easy Tasks to Win and Share a 1.3 Million CHO Prize Pool!",
"annType": [
"latest-announcements"
],
"annDesc": "To celebrate the launch of GemSlot, we are delighted to invite the CHO Protocol (CHO) project to participate in our product launch celebration.",
"cTime": 1728974572000,
"language": "en_US",
"annUrl": "https://www.kucoin.com/announcement/en-cho-gemslot-campaign-finish-easy-tasks-to-win-and-share-a-1300000-cho-prize-pool-20241015?lang=en_US"
}
],
"currentPage": 1,
"pageSize": 3,
"totalPage": 2895
}
}
請求URL
此接口支持現貨URL
頻率限制
公有类权重
:20
請求參數
請求參數 | 類型 | 是否必須 | 含義 |
---|---|---|---|
currentPage | Int | 否 | 頁碼 |
pageSize | Int | 否 | 每頁數量 |
annType | String | 否 | 公告類型:latest-announcements(最新公告),activities(最新活動),new-listings(新幣上線),product-updates(產品動態),vip(機構及VIP),maintenance-updates(系統維護),product-updates(產品動態),delistings(幣種下線),others(其他),api-campaigns(API用戶活動),默認査詢latest-announcements |
lang | String | 否 | 語言類型,默認en_US,具體值參數如下表 |
startTime | Long | 否 | 公告上線開始時間(毫秒) |
endTime | Long | 否 | 公告上線截止時間(毫秒) |
語言類型枚舉
lang | 語言 |
---|---|
zh_HK | Chinese (Hong Kong) |
ja_JP | Japanese (Japan) |
ko_KR | Korean (Korea) |
en_US | English |
pl_PL | Polish (Poland) |
es_ES | Spanish (Spain) |
fr_FR | French (France) |
ar_AE | Arabic (Egypt) |
it_IT | Italian (Italy) |
id_ID | Indonesian (Indonesia) |
nl_NL | Dutch (Netherlands) |
pt_PT | Portuguese (Brazil) |
vi_VN | Vietnamese (Vietnam) |
de_DE | German (Germany) |
tr_TR | Turkish (Turkey) |
ms_MY | Malay (Malaysia) |
ru_RU | Russian (Russia) |
th_TH | Thai (Thailand) |
hi_IN | Hindi (India) |
bn_BD | Bengali (Bangladesh) |
fil_PH | Filipino (Philippines) |
ur_PK | Urdu (Pakistan) |
返回值
字段 | 含義 |
---|---|
annId | 公告ID |
annTitle | 公告標題 |
annType | 公告類型 |
annDesc | 公告描述 |
cTime | 公告發佈時間,Unix毫秒時間戳記格式 |
language | 語言類型 |
annUrl | 公告鏈接 |