Code Snippets
curl "https://financialdata.net/api/v1/income-statements?identifier=CSX&period=year&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/income-statements?identifier=CSX&period=year&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/income-statements?identifier=CSX&period=year&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "CSX",
"central_index_key": "0000277948",
"registrant_name": "CSX CORP",
"fiscal_year": "2025",
"fiscal_period": "FY",
"period_end_date": "2025-12-31",
"revenue": 14092000000.0,
"cost_of_revenue": null,
"gross_profit": null,
"research_and_development_expenses": null,
"general_and_administrative_expenses": null,
"operating_expenses": null,
"operating_income": 4521000000.0,
"interest_expense": 844000000.0,
"interest_income": null,
"net_income": 2889000000.0,
"earnings_per_share_basic": 1.54,
"earnings_per_share_diluted": 1.54,
"weighted_average_shares_outstanding_basic": 1870000000,
"weighted_average_shares_outstanding_diluted": 1873000000
},
...
]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) |
| period | string | (Optional) The accounting period for which the entity's financial statements are prepared. By default, statements are returned for all accounting periods. (e.g., year, quarter) |
| offset | integer | (Optional) The initial position of the record subset, which indicates how many records to skip. Defaults to 0. (e.g., 50) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
An income statement, also called a profit and loss statement, is a financial statement that shows a company's income and expenses over a period of time. It indicates how revenue is turned into net income, or profit. Using our API, you can access all the individual financial items that make up an income statement. There is a limit of 50 records per API call.
Company Profile
CSX CORP
NASDAQ: CSX- Market Cap:$61.00B
- ISIN:US1264081035
- Fiscal Year End:12/31
- CEO:Steve Angel
- Employees:23500
CSX Corporation is an American holding company focused on rail transportation and real estate in North America, among other industries. The company was established in 1980 as part of the Chessie System and Seaboard Coast Line Industries merger. The various railroads of the former Chessie System and Seaboard Coast Line Industries that are now owned by CSX Corporation were eventually merged into a single line in 1986 and it became known as CSX Transportation. CSX Corporation currently has a number of subsidiaries beyond CSX Transportation. Previously based in Richmond, Virginia after the merger, the corporation moved its headquarters to Jacksonville, Florida, in 2003. CSX is a Fortune 500 company.