Code Snippets
curl "https://financialdata.net/api/v1/income-statements?identifier=HPQ&period=year&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/income-statements?identifier=HPQ&period=year&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/income-statements?identifier=HPQ&period=year&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "HPQ",
"central_index_key": "0000047217",
"registrant_name": "HP INC",
"fiscal_year": "2025",
"fiscal_period": "FY",
"period_end_date": "2025-10-31",
"revenue": 55295000000.0,
"cost_of_revenue": 43903000000.0,
"gross_profit": 11392000000.0,
"research_and_development_expenses": 1602000000.0,
"general_and_administrative_expenses": 5821000000.0,
"operating_expenses": 8218000000.0,
"operating_income": 3174000000.0,
"interest_expense": 430000000.0,
"interest_income": 89000000.0,
"net_income": 2529000000.0,
"earnings_per_share_basic": 2.67,
"earnings_per_share_diluted": 2.65,
"weighted_average_shares_outstanding_basic": 946000000,
"weighted_average_shares_outstanding_diluted": 953000000
},
...
]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
HP INC
NYSE: HPQ- Market Cap:$24.12B
- ISIN:US40434L1052
- Fiscal Year End:10/31
- CEO:Bruce D. Broussard
- Employees:55000
HP Inc. is an American multinational information technology company with its headquarters in Palo Alto, California, that develops personal computers (PCs), printers and other related supplies, as well as 3D printing services. It is the world's second-largest personal computer vendor by unit sales after Lenovo and ahead of Dell as of 2024.
HPQ Datasets
HPQ Stock QuotesHPQ Stock PricesHPQ Minute PricesHPQ Company InformationHPQ Key MetricsHPQ Market CapHPQ Employee CountHPQ Executive CompensationHPQ Balance Sheet StatementsHPQ Cash Flow StatementsHPQ Insider TransactionsHPQ Senate TradingHPQ Institutional HoldingsHPQ Analyst ConsensusHPQ Earnings ReleasesHPQ Stock SplitsHPQ DividendsHPQ Short Interest