Skip to main content

Corp Action

Interface Description

  • Function description: Supports the query of the corporate events for stock splits and reverse stock split, including past and upcoming events.

  • Request URL: /instrument/corp-action

  • Request method: GET

  • Frequency limit: The calling frequency of each AppId is limited to 60 times per minute.

Request parameters

ParameterTypeRequired fieldsDescription
page_numberintNoThe initial value, if not passed, the first page will be searched by default
page_sizeintNoNumber of entries per page: default value is 20, and maximum value is 200. Integers can be filled
instrument_idsStringYesInstrument id collection, such as: 913256135,913303964. Multiple instrument_ids should be separated by ,. A single query supports up to 100 instrument_id
start_dateStringNoEvent start date, UTC time.Time format: yyyy-MM-dd
end_dateStringNoEvent end date, UTC time.Time format: yyyy-MM-dd
event_typesStringYesEvent type collection. Multiple event_types should be separated by ,, reference: EventType
last_update_timeStringNoIncremental update time, UTC time. Time format: yyyy-MM-dd HH:mm:ss

Response parameter

FieldTypeDescription
instrument_idintUnique identifier for the security
symbolStringSecurities code
isinStringSecurity isin
exchange_codeStringExchange code, reference: ExchangeCode
cusipStringSecurity cusip
event_typeintEvent type, reference: EventType
event_actionStringEvent status, reference: EventStatus
event_idintEvent id
sourceStringEvent source, reference: EventSource
ratio_oldStringold ratio
ratio_newStringnew ratio
event_dateStringEvent date, UTC time, eg: 2021-12-28
update_timeStringUpdate time, UTC time, eg: 2021-12-28T09:00:09.945+0000
create_timeStringCreate time, UTC time, eg: 2021-12-28T09:00:09.945+0000

Request example

from webullsdktrade.api import API
from webullsdkcore.client import ApiClient
from webullsdkcore.common.region import Region

api_client = ApiClient(your_app_key, your_app_secret, Region.JP.value)
api = API(api_client)
res = api.market_data.get_corp_action(instrument_ids="913303964,913256135", event_types="301,302")
if res.status_code == 200:
print('corp action quote:', res.json())

Response example