Code Snippets
curl "https://financialdata.net/api/v1/short-interest?identifier=HSY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/short-interest?identifier=HSY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/short-interest?identifier=HSY&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HSY",
"title_of_security": "The Hershey Company",
"market_code": "NYSE",
"settlement_date": "2026-09-30",
"shorted_securities": 8965719,
"previous_shorted_securities": 9178157,
"change_in_shorted_securities": -212438,
"percentage_change_in_shorted_securities": -2.31,
"average_daily_volume": 1599181,
"days_to_cover": 5.61,
"is_stock_split": false
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| offset | integer | (Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0. (e.g., 100) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
Short interest represents the number of shares of a company that are currently sold short and have not yet been covered. The short interest ratio, also known as days to cover, represents the number of days it would take for all short-sold shares to be covered or repurchased in the market. Our API provides short interest data for over 15,000 securities. There is a limit of 100 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 Income StatementsHSY Balance Sheet StatementsHSY Cash Flow StatementsHSY Insider TransactionsHSY Senate TradingHSY Institutional HoldingsHSY Analyst ConsensusHSY Earnings ReleasesHSY Stock SplitsHSY Dividends