1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "tickersOrCiks": [
10 "AAPL",
11 "MSFT",
12 "GOOGL",
13 "AMZN",
14 "META",
15 ],
16 "formTypes": [
17 "10-K",
18 "10-Q",
19 "8-K",
20 ],
21 "maxFilingsPerCompany": 5,
22 "userAgentContact": "your-bot@example.com",
23}
24
25
26run = client.actor("smartmoney-data/sec-edgar-filings").call(run_input=run_input)
27
28
29print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
30for item in client.dataset(run.default_dataset_id).iterate_items():
31 print(item)
32
33