Code Snippets
curl "https://financialdata.net/api/v1/stock-prices?identifier=ODFL&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/stock-prices?identifier=ODFL&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/stock-prices?identifier=ODFL&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "ODFL",
"date": "2026-10-14",
"open": 182.6,
"high": 184.76,
"low": 180.02,
"close": 184.37,
"volume": 1911266.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
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 Minute PricesODFL Company InformationODFL Key MetricsODFL 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