Corporate actions for each active and delisted ticker in the fundamentals, stocks and funds tables. Includes ticker changes, stock splits, cash dividends, spinoffs, ADR ratio changes, listing dates, delisting dates, delist reasons, acquisition counterparties, and relations between different securities from the same issuer. Deep history to 1998.
Table details
View table
Explore table metadata
The table is queried via the following endpoint:
The queries are authenticated and filtered using query parameters. A query parameter specifies a particular option or filter for the data to be returned. Examples of query parameter include the data format to be returned (format), the table columns to return (fields) or a filter to be applied (tablename). These are appended to the endpoint above, following a ?. The most important of these is your API key (api_key) which is used to authenticate you. Without a valid API key, results will not be returned.
The actions table supports the following query parameters:
| Parameter | Description | Default | Examples |
|---|---|---|---|
| format | The format of the results to be returned. | csv | format=json |
| years | Triggers a bulk download of the full table as a compressed CSV. Values: 5, 10, or full. The API redirects to a time-limited download URL. | years=5 | |
| from | Specifies the filing date from which to return data. | 1 year ago | from=2023-08-01 |
| to | Specifies the filing date to return data until. | prior day | to=2023-08-31 |
| fields | The fields (table columns) to return. | all | fields=date,ticker,action,contraticker |
| action | Returns results for the specified action. | all | action=split |
| contraticker | Returns results where the corporate action is related to the specified company (contraticker) (e.g. a company delisted as a result of an acquisition will specify the aquiring company in the contraticker). | all | contraticker=GE |
| ticker | Returns results for the specified ticker. Multiple tickers should be separated with a comma(,). | all | ticker=TSLA |
| limit | The number of records to return. | 10000 | limit=10000 |
| skip | The number of results to skip before returning data. Alias: offset. | 0 | skip=10000 |
| sort | The field used to sort the data and the sort method (asc/desc). | date.desc | sort=action.asc |
Retrieve the PostgreSQL schema:
Retrieve the SQLite schema:
Retrieve the MySQL schema:
Return all corporate actions for a ticker:
Return all corporate actions in a specific date range:
Return specific corporate actions in specific date range:
In Google Sheets, retrieve corporate actions for a single ticker (AAPL) with IMPORTDATA. You can change the query parameters (ticker, dates, fields, filters, and so on) in the same way as the Examples in the preceding section. Paste this formula into a cell (A1):
=IMPORTDATA("https://api.sharadar.com/v1.0/data/actions?api_key=test-api-key&format=csv&ticker=AAPL")Download the [actions] table as a compressed CSV by setting years to 5, 10, or full. The API responds with a redirect to a time-limited download URL:
Example using curl (follow redirects and write the file):
curl -L -o actions.csv.zip "https://api.sharadar.com/v1.0/data/actions?api_key=test-api-key&years=full"Check bulk file status for all history lengths (or pass years= to filter to one):
Example response (all histories):
{
"table": "actions",
"files": [
{ "history": "5y", "historyLabel": "5 Years", "name": "actions-5Y.csv.zip", "size": 2892113, "sizeLabel": "2.76 MB", "modified": "…", "available": true },
{ "history": "10y", "historyLabel": "10 Years", "name": "actions-10Y.csv.zip", "size": 5056475, "sizeLabel": "4.82 MB", "modified": "…", "available": true },
{ "history": "full", "historyLabel": "Full History", "name": "actions.csv.zip", "size": 9843380, "sizeLabel": "9.39 MB", "modified": "…", "available": true }
]
}