1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "observations": [
10 {
11 "adapterHealth": "ok",
12 "availability": "in-stock",
13 "checkedAt": "2026-09-28T12:00:00Z",
14 "price": 999,
15 "sourceUrl": "https://www.newegg.com/p/synthetic-rtx5080-01",
16 "variantId": "syn-rtx5080-ne-01",
17 },
18 {
19 "adapterHealth": "degraded",
20 "availability": "in-stock",
21 "checkedAt": "2026-09-28T12:00:00Z",
22 "price": 999,
23 "sourceUrl": "https://www.bestbuy.com/site/synthetic-rtx5080-01",
24 "variantId": "syn-rtx5080-bb-01",
25 },
26 {
27 "adapterHealth": "ok",
28 "availability": "in-stock",
29 "checkedAt": "2026-09-28T12:00:00Z",
30 "price": 599,
31 "sourceUrl": "https://www.newegg.com/p/synthetic-rx9070-01",
32 "variantId": "syn-rx9070-ne-01",
33 },
34 {
35 "adapterHealth": "degraded",
36 "availability": "in-stock",
37 "checkedAt": "2026-09-28T12:00:00Z",
38 "price": 899,
39 "sourceUrl": "https://www.bestbuy.com/site/synthetic-rtx5080-02",
40 "variantId": "syn-rtx5080-bb-02",
41 },
42 ],
43 "storedBaseline": {
44 "variants": [
45 {
46 "availability": "out-of-stock",
47 "checkedAt": "2026-09-28T11:15:00Z",
48 "lastPrice": 999,
49 "retailer": "newegg",
50 "sku": "SYN-RTX5080-16G-NE",
51 "variantId": "syn-rtx5080-ne-01",
52 },
53 {
54 "availability": "in-stock",
55 "checkedAt": "2026-09-28T11:15:00Z",
56 "lastPrice": 1099,
57 "retailer": "bestbuy",
58 "sku": "SYN-RTX5080-16G-BB",
59 "variantId": "syn-rtx5080-bb-01",
60 },
61 {
62 "availability": "in-stock",
63 "checkedAt": "2026-09-28T11:15:00Z",
64 "lastPrice": 599,
65 "retailer": "newegg",
66 "sku": "SYN-RX9070-16G-NE",
67 "variantId": "syn-rx9070-ne-01",
68 },
69 ],
70 "watchlistId": "syn-watch-01",
71 },
72 "watchlist": {
73 "partition": "P1",
74 "partitionMode": "armed",
75 "priceDropPct": 5,
76 "scheduleHours": 1,
77 "skuUrls": [
78 "https://www.newegg.com/p/synthetic-rtx5080-01",
79 "https://www.bestbuy.com/site/synthetic-rtx5080-01",
80 "https://www.newegg.com/p/synthetic-rx9070-01",
81 "https://www.bestbuy.com/site/synthetic-rtx5080-02",
82 ],
83 "watchlistId": "syn-watch-01",
84 },
85}
86
87
88run = client.actor("steadyworks/gpu-restock-monitor").call(run_input=run_input)
89
90
91print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
92for item in client.dataset(run.default_dataset_id).iterate_items():
93 print(item)
94
95