Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=ODFL&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=ODFL&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=ODFL&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "ODFL",
"central_index_key": "0000878927",
"registrant_name": "OLD DOMINION FREIGHT LINE, INC.",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 4.86,
"earnings_per_share_forecast": 5.86,
"price_to_earnings_ratio": 32.2633744855967,
"forward_price_to_earnings_ratio": 26.7576791808874,
"earnings_growth_rate": -11.7967332123412,
"price_earnings_to_growth_ratio": -2.73494143716366,
"book_value_per_share": 20.4766760871114,
"price_to_book_ratio": 7.65749281440723,
"ebitda": 1720108000.0,
"enterprise_value": 32931792000.0,
"dividend_yield": 0.00713900398547335,
"dividend_payout_ratio": 0.230215208903364,
"debt_to_equity_ratio": 0.00927730716620077,
"capital_expenditures": 363456000.0,
"free_cash_flow": 1006677000.0,
"return_on_equity": 0.237459861931772,
"one_year_beta": 1.12636020927311,
"three_year_beta": 1.16859863390474,
"five_year_beta": 1.19406345611609
},
...
]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
OLD DOMINION FREIGHT LINE, INC.
NASDAQ: ODFL- Market Cap:$30.42B
- ISIN:US6795801009
- Fiscal Year End:12/31
- CEO:Kevin "Marty" Freeman
- Employees:21895
Old Dominion Freight Line, Inc. (ODFL) is an American regional, inter-regional and national less than truckload shipping (LTL) company. In addition to its core LTL services, the company offers expedited, logistics and household moving services.
ODFL Datasets
ODFL Stock QuotesODFL Stock PricesODFL Minute PricesODFL Company InformationODFL Market CapODFL Employee CountODFL Executive CompensationODFL Income StatementsODFL Balance Sheet StatementsODFL Cash Flow StatementsODFL Insider TransactionsODFL Senate TradingODFL Institutional HoldingsODFL Analyst ConsensusODFL Earnings ReleasesODFL Stock SplitsODFL DividendsODFL Short Interest