1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "urls": [
10 "https://www.allbirds.com/products/mens-cruiser-medium-grey",
11 "https://www.allbirds.com/products/womens-tree-runner-nz-medium-grey",
12 "https://www.brooklinen.com/products/luxe-core-sheet-set",
13 "https://www.brooklinen.com/products/classic-core-sheet-set",
14 "https://www.apple.com/shop/buy-iphone/iphone-17",
15 "https://www.staples.com/hammermill-copy-plus-8-5-x-11-copy-paper-20-lbs-92-brightness-5000-sheets-carton-105007/product_122374",
16 "https://www.gymshark.com/products/gymshark-crest-hoodie-black-ss22",
17 "https://barefootbuttons.com/product/max-bore-standard-silver-footswitch-topper/",
18 "https://colourpop.com/products/mocha-moment-cloud-whip-lip-liner-fresh-kiss-glossy-balm",
19 ],
20 "mode": "snapshot",
21 "watch": [
22 "price",
23 "availability",
24 ],
25 "minChangePct": 0,
26 "historyDays": 30,
27 "stateKey": "",
28 "includeVariants": False,
29 "allowTextFallback": True,
30 "currencyHint": "",
31 "requestTimeoutSecs": 30,
32 "maxConcurrency": 8,
33 "maxRunSecs": 240,
34 "proxyConfiguration": { "useApifyProxy": True },
35}
36
37
38run = client.actor("insight.solutions/price-tracker-api").call(run_input=run_input)
39
40
41print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
42for item in client.dataset(run.default_dataset_id).iterate_items():
43 print(item)
44
45