1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "olderFiling": """DEMONSTRATION DOCUMENT — not a live company filing.
10FORM 10-K
11COMPANY NAME: Northstar Demonstration Company
12CIK: 0000000001
13FILING DATE: 2025-02-01
14
15ITEM 1. Business
16Northstar Demonstration Company supplies inventory software to small manufacturers. This document is a fictional example designed to show how a filing comparison works. It is not an investment recommendation or a verified company report. The company sells annual subscriptions and provides support to its business customers. Customer records are processed in the company's hosted service.
17
18ITEM 1A. Risk Factors
19We rely on a single hosting provider for our production systems. Service interruptions could prevent customers from accessing their inventory records. We maintain backups and test restoration procedures each quarter. Customers may cancel their subscriptions if interruptions continue for extended periods. Our operating results also depend on renewing annual subscriptions and retaining experienced support staff.
20
21ITEM 7. Management Discussion and Analysis
22Subscription revenue increased by 12 percent during the period. Management continued investing in customer support and routine infrastructure maintenance. The business had adequate cash to fund its planned operating expenses. These observations are part of this fictional demonstration and should not be interpreted as information about a real issuer.
23""",
24 "newerFiling": """DEMONSTRATION DOCUMENT — not a live company filing.
25FORM 10-K
26COMPANY NAME: Northstar Demonstration Company
27CIK: 0000000001
28FILING DATE: 2026-02-01
29
30ITEM 1. Business
31Northstar Demonstration Company supplies inventory software to small manufacturers. This document is a fictional example designed to show how a filing comparison works. It is not an investment recommendation or a verified company report. The company sells annual subscriptions and provides support to its business customers. Customer records are processed in the company's hosted service.
32
33ITEM 1A. Risk Factors
34We rely on two independent hosting providers for our production systems. Service interruptions could prevent customers from accessing their inventory records. We maintain backups and test restoration procedures each month. Customers may cancel their subscriptions if interruptions continue for extended periods. Our operating results also depend on renewing annual subscriptions and retaining experienced support staff.
35
36ITEM 7. Management Discussion and Analysis
37Subscription revenue increased by 18 percent during the period. Management continued investing in customer support and routine infrastructure maintenance. The business had adequate cash to fund its planned operating expenses. These observations are part of this fictional demonstration and should not be interpreted as information about a real issuer.
38
39The company added a second support team to improve response times for customers.
40""",
41}
42
43
44run = client.actor("thescrapelab/apify-sec-edgar-data").call(run_input=run_input)
45
46
47print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
48for item in client.dataset(run.default_dataset_id).iterate_items():
49 print(item)
50
51