Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=SPGI&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=SPGI&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=SPGI&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "SPGI",
"central_index_key": "0000064040",
"registrant_name": "S&P Global Inc.",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 14.67,
"earnings_per_share_forecast": 17.72,
"price_to_earnings_ratio": 34.9512747102931,
"forward_price_to_earnings_ratio": 28.93539503386,
"earnings_growth_rate": 18.6893203883495,
"price_earnings_to_growth_ratio": 1.87012015332997,
"book_value_per_share": 118.608923884514,
"price_to_book_ratio": 4.32290575791104,
"ebitda": 7439000000.0,
"enterprise_value": 168342688960.0,
"dividend_yield": 0.0076016583126643,
"dividend_payout_ratio": 0.265712368597629,
"debt_to_equity_ratio": 0.443537764641629,
"capital_expenditures": 1192000000.0,
"free_cash_flow": 4459000000.0,
"return_on_equity": 0.143637356635718,
"one_year_beta": 0.726895602449849,
"three_year_beta": 0.833680027376258,
"five_year_beta": 0.896161556409375
},
...
]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
The API endpoint returns key financial metrics such as price-to-earnings ratio, price-to-book ratio, free cash flow, etc. This information is particularly important for value investors looking to identify undervalued stocks. Data is available for several thousand US and international companies.
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."