Code Snippets
curl "https://financialdata.net/api/v1/company-information?identifier=HSY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/company-information?identifier=HSY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/company-information?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",
"isin_number": "US4278661081",
"lei_number": null,
"ein_number": "230691590",
"exchange": "NYSE",
"sic_code": "2060",
"sic_description": "Sugar & Confectionery Products",
"fiscal_year_end": "1231",
"state_of_incorporation": "DE",
"address_street": "19 EAST CHOCOLATE AVENUE",
"address_city": "HERSHEY",
"address_state": "PA",
"address_zip_code": "17033",
"address_country": "UNITED STATES",
"address_country_code": "US",
"phone_number": "7175344200",
"mailing_address": "19 EAST CHOCOLATE AVENUE, HERSHEY, PA, 17033",
"business_address": "19 EAST CHOCOLATE AVENUE, HERSHEY, PA, 17033",
"former_name": "HERSHEY FOODS CORP",
"industry": null,
"founding_date": null,
"chief_executive_officer": null,
"number_of_employees": null,
"website": null,
"market_cap": 24680833539.0,
"shares_issued": 221553025,
"shares_outstanding": 223805223,
"description": 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) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
This API endpoint provides basic information about the company, such as its LEI number, industry, contact information, and other key facts. The data covers a few 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 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 DividendsHSY Short Interest