cURL
curl --request GET \ --url https://openapi.ainvest.com/open/calendar/corporateactions \ --header 'Authorization: Bearer <token>'
{ "data": { "data": [ { "ticker": "<string>", "type": "<string>", "ratio": "<string>" } ] }, "status_code": 123, "status_msg": "<string>" }
Get corporate actions (stock splits and reverse splits) on the specified date.
Bearer authentication header of the form Bearer <token>, where <token> is your key. Get the key here
Bearer <token>
<token>
The date for which to get splits, format YYYY-MM-DD
Successful response in standard envelope
Show child attributes
Status code, 0 for success
0
Status message, success for success
success