Code Snippets
curl "https://financialdata.net/api/v1/minute-prices?identifier=PEP&date=2020-01-15&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/minute-prices?identifier=PEP&date=2020-01-15&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/minute-prices?identifier=PEP&date=2020-01-15&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "PEP",
"time": "2020-01-15 20:59:00",
"open": 139.175,
"high": 139.21,
"low": 139.17,
"close": 139.2,
"volume": 2305.0
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security. (e.g., MSFT) |
| date | string | The date in YYYY-MM-DD format. (e.g., 2020-01-15) |
| offset | integer | (Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0. (e.g., 300) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
The API endpoint provides more than 7 years of one-minute historical prices and volumes. The data is available for over 10,000 securities, including US stocks, international stocks, and exchange-traded funds. The timezone used for time values is UTC (Coordinated Universal Time). There is a limit of 300 records per API call.
Company Profile
PEPSICO INC
NASDAQ: PEP- Market Cap:$179.00B
- ISIN:US7134481081
- Fiscal Year End:12/26
- CEO:Ramón Laguarta
- Employees:318000
PepsiCo, Inc. is an American multinational food and beverage corporation headquartered in Harrison, New York, in the hamlet of Purchase. PepsiCo's business encompasses all aspects of the food and beverage market. It oversees the manufacturing, distribution, and marketing of its products. PepsiCo was formed in 1965 with the merger of the Pepsi-Cola Company and Frito-Lay, Inc., PepsiCo has since expanded from its namesake product Pepsi to a diversified range of food and beverage brands. Significant acquisitions include Tropicana Products in 1998, the Quaker Oats Company in 2001, which added the Gatorade brand to the Pepsi portfolio, and Pioneer Foods in 2020 for US$1.7 billion.