1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "schemaVersion": "1.0",
10 "rows": [
11 {
12 "evidenceId": "evidence-001",
13 "brandName": "Northstar Coffee",
14 "eventType": "price_change",
15 "observedAt": "2026-07-31T09:30:00Z",
16 "sourceName": "Buyer newsroom note",
17 "sourceUrl": "https://example.com/northstar-price-note",
18 "excerpt": "The buyer-supplied note says the seasonal blend price changed on July 31.",
19 },
20 {
21 "evidenceId": "evidence-002",
22 "brandName": "Northstar Coffee",
23 "eventType": "product_launch",
24 "observedAt": "2026-08-01T12:00:00Z",
25 "sourceName": "Buyer product page",
26 "sourceUrl": "https://example.com/northstar-seasonal",
27 "excerpt": "The buyer-supplied excerpt describes a seasonal blend launch for August.",
28 },
29 {
30 "evidenceId": "evidence-003",
31 "brandName": "Harbor Supply",
32 "eventType": "campaign",
33 "observedAt": "2026-08-02T15:45:00Z",
34 "sourceName": "Buyer campaign brief",
35 "sourceUrl": "https://example.com/harbor-campaign",
36 "excerpt": "The buyer-supplied brief names a back-to-school campaign and its stated launch date.",
37 },
38 ],
39}
40
41
42run = client.actor("zinin/us-brand-evidence-citation-table").call(run_input=run_input)
43
44
45print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
46for item in client.dataset(run["defaultDatasetId"]).iterate_items():
47 print(item)
48
49