Code Snippets
curl "https://financialdata.net/api/v1/income-statements?identifier=HSY&period=year&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/income-statements?identifier=HSY&period=year&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/income-statements?identifier=HSY&period=year&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",
"fiscal_year": "2025",
"fiscal_period": "FY",
"period_end_date": "2025-12-31",
"revenue": 11692576000.0,
"cost_of_revenue": 7769885000.0,
"gross_profit": 3922691000.0,
"research_and_development_expenses": 61655000.0,
"general_and_administrative_expenses": 2460569000.0,
"operating_expenses": 2481163000.0,
"operating_income": 1441528000.0,
"interest_expense": 224806000.0,
"interest_income": 34600000.0,
"net_income": 883259000.0,
"earnings_per_share_basic": null,
"earnings_per_share_diluted": null,
"weighted_average_shares_outstanding_basic": null,
"weighted_average_shares_outstanding_diluted": null
},
...
]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) |
| period | string | (Optional) The accounting period for which the entity's financial statements are prepared. By default, statements are returned for all accounting periods. (e.g., year, quarter) |
| offset | integer | (Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0. (e.g., 50) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
An income statement, also called a profit and loss statement, is a financial statement that shows a company's income and expenses over a period of time. It indicates how revenue is turned into net income, or profit. Using our API, you can access all the individual financial items that make up an income statement. There is a limit of 50 records per API call.
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 Balance Sheet StatementsHSY Cash Flow StatementsHSY Insider TransactionsHSY Senate TradingHSY Institutional HoldingsHSY Analyst ConsensusHSY Earnings ReleasesHSY Stock SplitsHSY DividendsHSY Short Interest