Skip to content

Events under a series ​

GET /api/v1.0/quote/event-contract/events

Events under a series. series is required, e.g. KS.KXNFLGAME. offset+count pagination, count default 100 (max 1000). Returns event_code / event_name / icon_url. For contracts under an event use quote.event_contract.

Parameters ​

NameTypeInRequiredDescription
seriesstringqueryyesSeries symbol, e.g. KS.KXNFLGAME
page_flagstringquerynoPage cursor. Omit or pass empty on the first page; pass back pagination.page_flag. Stop only when pagination.completed is true
page_sizeintquerynoPage size, default 100, max 1000

Example ​

bash
curl -X GET 'https://webapi.moomoo.com/api/v1.0/quote/event-contract/events?series=value' \
  -H 'Authorization: Bearer <AccessToken>' | jq

Response parameters ​

NameTypeDescription
data.eventsobject[]
data.events[].event_codestringEvent symbol, e.g. KS.KXNFLGAME-26SEP12PITNE
data.events[].event_namestringEvent English name
data.events[].icon_urlstringEvent icon URL
pagination.totalint
pagination.completedboolTrue when this is the last page. Stop paging only when completed is true
pagination.page_flagstringNext page cursor. Pass it back as page_flag while completed is false; empty on the last page

Errors ​

ret_codeerror.codeDescription
0—Success
-3invalid_parameterMissing or invalid parameter
-8unsupportedNot supported
-10no_dataNo data

Response example ​

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "events": [
      {
        "event_code": "example",
        "event_name": "example",
        "icon_url": "example"
      }
    ]
  },
  "pagination": {
    "page_flag": "",
    "completed": true,
    "total": 0
  }
}