1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "financials": {
9 "company": "Example Technology Inc.",
10 "period": "Last 12 months - end of June 2026",
11 "currency": "USD",
12 "sectorProfile": "saas",
13 "incomeStatement": {
14 "netSales": 24500000,
15 "costOfSales": 13200000,
16 "operatingExpenses": 8100000,
17 "depreciation": 600000,
18 "ebitda": None,
19 "interestExpense": 900000,
20 "netProfit": 1100000,
21 },
22 "balanceSheet": {
23 "cashAndEquivalents": 2400000,
24 "tradeReceivables": 4900000,
25 "inventory": 1800000,
26 "totalCurrentAssets": 9800000,
27 "currentLiabilities": 7300000,
28 "tradePayables": 3100000,
29 "totalFinancialDebt": 5200000,
30 "equity": 6100000,
31 },
32 "monthlyRevenue": [
33 1650000,
34 1700000,
35 1780000,
36 1820000,
37 1900000,
38 1950000,
39 2050000,
40 2100000,
41 2200000,
42 2280000,
43 2350000,
44 2450000,
45 ],
46 "annualInflationRate": 3,
47 "customer": {
48 "largestCustomerShare": 22,
49 "annualChurnRate": 12,
50 "churnNotApplicable": False,
51 },
52 } }
53
54
55run = client.actor("bloom-consulting/financial-health-score").call(run_input=run_input)
56
57
58print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
59for item in client.dataset(run.default_dataset_id).iterate_items():
60 print(item)
61
62