Skip to content

Announcement

Query Announcements

Get system announcement list.

HTTP Request

GET
/api/perp-market-api/announcements

Request Frequency Restriction:

  • Recommended: no more than 3 times per second

Request Parameters

Name Type Required Description
simple boolean No Whether to return simplified version, default is false

Response Fields Description

Returns announcement array, each announcement contains:

Name Type Description
id long Announcement ID
title string Announcement title
content string Announcement content
publishTime long Publish time (millisecond timestamp)
... ... Other fields

Response Example

{
  "code": 200,
  "message": "success",
  "data": [
    {
      "id": 1,
      "title": "New Feature Launch",
      "content": "We are pleased to announce...",
      "publishTime": 1700000000000
    },
    {
      "id": 2,
      "title": "System Upgrade Notice",
      "content": "The system will...",
      "publishTime": 1699900000000
    }
  ]
}

Description

  • When simple=true, returns simplified version with fewer fields
  • When simple=false, returns full version with all fields