Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=GNRC&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=GNRC&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=GNRC&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "GNRC",
"central_index_key": "0001474735",
"registrant_name": "GENERAC HOLDINGS INC.",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 2.73,
"earnings_per_share_forecast": 9.8,
"price_to_earnings_ratio": 49.952380952381,
"forward_price_to_earnings_ratio": 13.915306122449,
"earnings_growth_rate": -50.0,
"price_earnings_to_growth_ratio": -0.999047619047619,
"book_value_per_share": 45.0936734251775,
"price_to_book_ratio": 3.02414927952753,
"ebitda": 514501000.0,
"enterprise_value": 8950330059.54,
"dividend_yield": 3.67127937840002e-5,
"dividend_payout_ratio": 0.00183636887824812,
"debt_to_equity_ratio": 0.497972589501227,
"capital_expenditures": 318417000.0,
"free_cash_flow": 119561000.0,
"return_on_equity": 0.0606111026271624,
"one_year_beta": 1.30986289916879,
"three_year_beta": 1.50362557320863,
"five_year_beta": 1.64865424133899
},
...
]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
GENERAC HOLDINGS INC.
NYSE: GNRC- Market Cap:$8.00B
- ISIN:US3687361044
- Fiscal Year End:12/31
- CEO:Aaron Jagdfeld
- Employees:9239
Generac Holdings Inc., commonly referred to as Generac (derived from a combination of generating and AC), is an American manufacturer of backup power generation products for residential, light commercial, and industrial markets. Generac's power systems range in output from 800 watts to 250 kilowatts and are available through independent dealers, retailers, and wholesalers. Generac has headquarters in Waukesha, Wisconsin, and manufacturing facilities in Berlin, Oshkosh, Jefferson, Eagle, and Whitewater, all in Wisconsin.