Code Snippets
curl "https://financialdata.net/api/v1/stock-quotes?identifiers=HSY&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/stock-quotes?identifiers=HSY&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/stock-quotes?identifiers=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",
"time": "2026-10-15 14:19:37",
"price": 169.07,
"change": 4.81,
"percentage_change": 2.93
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifiers | string | The trading symbols for the securities. (e.g., MSFT,AAPL) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
Get real-time stock quotes, including the last price, change, and percentage change. The data covers several thousand US and international companies. The timezone used for time values is EST (Eastern Standard Time). There is a limit of 300 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 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 DividendsHSY Short Interest