Code Snippets
curl "https://financialdata.net/api/v1/stock-splits?identifier=HSY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/stock-splits?identifier=HSY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/stock-splits?identifier=HSY&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HSY",
"central_index_key": "0000047111",
"registrant_name": "HERSHEY CO",
"execution_date": "2004-06-16",
"multiplier": 2.0
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security, or the central index key (CIK). The latter is assigned to the entity by the United States Securities and Exchange Commission. (e.g., MSFT, 0000789019) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
A stock split occurs when a company increases the number of outstanding shares to improve the stock's liquidity. A company decides to do a stock split to intentionally lower the price of a single share, making the company's stock more affordable. Our API provides stock split data for several thousand US and international companies.
Company Profile
HERSHEY CO
NYSE: HSY- Market Cap:$24.68B
- ISIN:US4278661081
- Fiscal Year End:12/31
HSY Datasets
HSY Stock QuotesHSY Stock PricesHSY Minute PricesHSY Company InformationHSY Key MetricsHSY Market CapHSY Employee CountHSY Executive CompensationHSY Income StatementsHSY Balance Sheet StatementsHSY Cash Flow StatementsHSY Insider TransactionsHSY Senate TradingHSY Institutional HoldingsHSY Analyst ConsensusHSY Earnings ReleasesHSY DividendsHSY Short Interest