Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=PCG&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=PCG&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=PCG&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "PCG",
"central_index_key": "0001004980",
"registrant_name": "PG&E Corp",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 1.18,
"earnings_per_share_forecast": 1.65,
"price_to_earnings_ratio": 13.6186440677966,
"forward_price_to_earnings_ratio": 9.73939393939394,
"earnings_growth_rate": 1.72413793103448,
"price_earnings_to_growth_ratio": 7.89881355932207,
"book_value_per_share": 14.8111060537096,
"price_to_book_ratio": 1.08499661954518,
"ebitda": 10365000000.0,
"enterprise_value": 94654790000.0,
"dividend_yield": 0.00784573861681044,
"dividend_payout_ratio": 0.102478727339993,
"debt_to_equity_ratio": 1.84578979717271,
"capital_expenditures": 12753000000.0,
"free_cash_flow": -4037000000.0,
"return_on_equity": 0.0830669944683466,
"one_year_beta": 0.572355744406933,
"three_year_beta": 0.495873001634773,
"five_year_beta": 0.677934134742444
},
...
]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
PG&E Corp
NYSE: PCG- Market Cap:$37.25B
- ISIN:US69331C1080
- Fiscal Year End:12/31
- CEO:Patti Poppe
- Employees:28400
Pacific Gas and Electric Company (PG&E) is an American investor-owned utility (IOU). The company is headquartered at Kaiser Center, in Oakland, California. PG&E provides natural gas and electricity to 5.2 million households in the northern two-thirds of California, from Bakersfield and northern Santa Barbara County, almost to the Oregon and Nevada state lines.: 27
PCG Datasets
PCG Stock QuotesPCG Stock PricesPCG Minute PricesPCG Company InformationPCG Market CapPCG Employee CountPCG Executive CompensationPCG Income StatementsPCG Balance Sheet StatementsPCG Cash Flow StatementsPCG Insider TransactionsPCG Institutional HoldingsPCG Analyst ConsensusPCG Earnings ReleasesPCG Stock SplitsPCG DividendsPCG Short Interest