Code Snippets
curl "https://financialdata.net/api/v1/dividends?identifier=HSY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/dividends?identifier=HSY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/dividends?identifier=HSY&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HSY",
"registrant_name": "HERSHEY CO",
"type": "Cash",
"amount": 1.37,
"declaration_date": null,
"ex_date": "2025-08-15",
"record_date": "2025-08-15",
"payment_date": "2025-09-15"
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
A dividend is the distribution of a company's earnings to its shareholders. Dividends are paid out quarterly and may be in the form of cash or reinvestment in additional stock. The API endpoint provides dividend information for several thousands of 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 Stock SplitsHSY Short Interest