1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "currentItems": [
10 {
11 "id": "biz-a",
12 "company": "Alpha Logistics LLC",
13 "state": "CA",
14 "status": "SUSPENDED",
15 "filingDate": "2026-09-20",
16 "industry": "Logistics",
17 "date": "2026-09-23",
18 },
19 {
20 "id": "biz-b",
21 "company": "Beta Retail Inc",
22 "state": "TX",
23 "status": "DISSOLVED",
24 "filingDate": "2026-09-18",
25 "industry": "Retail",
26 "date": "2026-09-23",
27 },
28 {
29 "id": "biz-c",
30 "company": "Gamma Health LLC",
31 "state": "FL",
32 "status": "ACTIVE",
33 "filingDate": "2026-09-21",
34 "industry": "Healthcare",
35 "date": "2026-09-23",
36 },
37 ],
38 "previousItems": [
39 {
40 "id": "biz-a",
41 "company": "Alpha Logistics LLC",
42 "state": "CA",
43 "status": "ACTIVE",
44 "filingDate": "2025-02-11",
45 "industry": "Logistics",
46 "date": "2026-08-23",
47 },
48 {
49 "id": "biz-b",
50 "company": "Beta Retail Inc",
51 "state": "TX",
52 "status": "ACTIVE",
53 "filingDate": "2024-07-04",
54 "industry": "Retail",
55 "date": "2026-08-23",
56 },
57 ],
58}
59
60
61run = client.actor("quanmatrix/state-business-dissolution-distress-intelligence").call(run_input=run_input)
62
63
64print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
65for item in client.dataset(run.default_dataset_id).iterate_items():
66 print(item)
67
68