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": "Quarterly",
"amount": 0.225,
"declaration_date": null,
"ex_date": "1991-05-22",
"record_date": "1991-05-24",
"payment_date": "1991-06-14"
},
...
]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
- CEO:Kirk Tanner
- Employees:17550
The Hershey Company, often called Hershey or Hershey's, is an American multinational confectionery company headquartered in Hershey, Pennsylvania, which is also home to Hersheypark and Hershey's Chocolate World. The Hershey Company is one of the largest chocolate manufacturers in the world; it also manufactures baked products, such as cookies and cakes and beverages like milkshakes, as well as other products (through mergers and acquisitions). The Hershey Company was founded by Milton S. Hershey in 1894 as the Hershey Chocolate Company, originally established as a subsidiary of his Lancaster Caramel Company. The Hershey Trust Company owns a minority stake but retains a majority of the voting power within the company.