A stock's financial statements from Investing.com: the income statement, balance sheet or cash flow statement, annual (about 10 years) or quarterly, every line the site shows (each with growth and margin lines where it has them) keyed by name, in millions of the reporting currency, newest period first; or the ratios page (about 50 valuation, profitability, growth, dividend and efficiency ratios, each with the industry value).
Every response includes credits_used: the credits this call cost.
Parameters
name
type
description
symbol
string
Ticker, e.g. AAPL. Combine with exchange or country when the ticker is listed in several places. Example: AAPL
id
string
Investing.com instrument id instead of symbol (see /investing/v1/search).
url
string
An investing.com /equities/ link instead of symbol.
exchange
string
With symbol: exchange short name, e.g. NASDAQ, NYSE, LSE, Xetra.
country
string
With symbol: country name, e.g. United States, Germany.
import os, requests
res = requests.get(
"https://api.api.sh/investing/v1/financials",
params={"symbol": "AAPL"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json()
const url = new URL("https://api.api.sh/investing/v1/financials");
url.searchParams.set("symbol", "AAPL");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json();
Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.