Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| ticker | path | yes | Ticker symbol. |
| frequency | enum | no | quarterly · yearly. Default quarterly. |
| limit | int | no | Most recent periods. Default 8, max 200. Pass 200 to get the full history available for the ticker. |
Example
curl -H "X-API-Key: rk_YOUR_KEY" \
"https://api.rockmoon.ai/v1/financials/AAPL/income?frequency=quarterly&limit=2"
r = requests.get(
"https://api.rockmoon.ai/v1/financials/AAPL/income",
params={"frequency": "quarterly", "limit": 2},
headers={"X-API-Key": "rk_YOUR_KEY"},
)
for s in r.json()["income"]:
print(s["period"], s["revenue"], s["net_income"])
const r = await fetch(
"https://api.rockmoon.ai/v1/financials/AAPL/income?frequency=quarterly&limit=2",
{ headers: { "X-API-Key": "rk_YOUR_KEY" } },
);
const { income } = await r.json();
Response 200
{
"ticker": "AAPL",
"market": "US",
"accounting_standard": "USGAAP",
"currency": "USD",
"frequency": "quarterly",
"income": [
{ "period": "2025Q4",
"report_date": "2025-12-27",
"revenue": 143756000000,
"cost_of_revenue": 74525000000,
"gross_profit": 69231000000,
"research_and_development": 10887000000,
"selling_and_marketing_expenses": 5397000000,
"general_and_administrative_expenses": 2095000000,
"sga": 7492000000,
"operating_expenses": 18379000000,
"cost_and_expenses": 92904000000,
"operating_income": 50852000000,
"ebit": 50852000000,
"ebitda": 54066000000,
"depreciation_and_amortization": 3214000000,
"interest_expense": null,
"interest_income": null,
"net_interest_income": null,
"non_operating_income_excluding_interest": 150000000,
"total_other_income_expense_net": 150000000,
"income_before_tax": 51002000000,
"tax_provision": 8905000000,
"net_income_from_continuing_ops": 42097000000,
"net_income_from_discontinued_ops": null,
"minority_interest": null,
"net_income": 42097000000,
"eps": 2.85,
"eps_diluted": 2.84,
"weighted_average_shares": 14748158000,
"weighted_average_shares_diluted": 14810356000 }
],
"trace_id": "3a62d77e8f15445885482f4cd16f33bc"
}
Errors
| HTTP | Code | Cause |
|---|---|---|
| 404 | ticker_not_found | Unknown ticker. |
| 429 | rate_limit_exceeded | Rate limit hit. Honor Retry-After. |
Notes
- Sign convention: revenue and expense magnitudes are positive; net income and operating income are signed (negative if loss).
- EPS dilution:
eps_dilutedis null when not separately disclosed — never silently copied fromeps. - Null fields mean the filer didn't disclose that line in the period — not zero.