Code Snippets
curl "https://financialdata.net/api/v1/stock-prices?identifier=SPGI&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/stock-prices?identifier=SPGI&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/stock-prices?identifier=SPGI&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "SPGI",
"date": "2026-10-14",
"open": 409.0,
"high": 411.12,
"low": 405.845,
"close": 408.57,
"volume": 1199432.0
},
...
]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., 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 10 years of daily historical stock prices and volumes. The data covers several thousand US and international companies. There is a limit of 300 records per API call.
Company Profile
S&P Global Inc.
NYSE: SPGI- Market Cap:$161.00B
- ISIN:US78409V1044
- Fiscal Year End:12/31
- CEO:Martina Cheung
- Employees:42350
S&P Global Inc. (prior to 2016, McGraw Hill Financial, Inc., and prior to 2013, The McGraw–Hill Companies, Inc.) is an American publicly traded corporation headquartered in Manhattan, New York. Its primary areas of business are financial information, analytics, and energy and commodities intelligence. It is the parent company of S&P Global Ratings, S&P Global Energy, S&P Global Market Intelligence, and the Indian credit rating agency CRISIL. It is also the majority owner of the S&P Dow Jones Indices joint venture. "S&P" is a shortening of "Standard and Poor's."