1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "current": {
10 "observedAt": "2026-11-18T02:00:00Z",
11 "items": [
12 {
13 "platform": "musinsa",
14 "productId": "demo-1",
15 "variantId": "black-M",
16 "matchKey": "demo-black-M",
17 "priceType": "sale",
18 "priceKrw": 45000,
19 "stock": "out_of_stock",
20 "rank": 3,
21 "rankContext": "weekly-outerwear",
22 },
23 {
24 "platform": "29cm",
25 "productId": "demo-2",
26 "variantId": "black-M",
27 "matchKey": "demo-black-M",
28 "priceType": "sale",
29 "priceKrw": 49000,
30 },
31 {
32 "platform": "kream",
33 "productId": "demo-3",
34 "variantId": "black-M",
35 "matchKey": "demo-black-M",
36 "priceType": "last_trade",
37 "priceKrw": 40000,
38 },
39 ],
40 },
41 "previous": {
42 "observedAt": "2026-11-17T02:00:00Z",
43 "items": [
44 {
45 "platform": "musinsa",
46 "productId": "demo-1",
47 "variantId": "black-M",
48 "matchKey": "demo-black-M",
49 "priceType": "sale",
50 "priceKrw": 50000,
51 "stock": "in_stock",
52 "rank": 6,
53 "rankContext": "weekly-outerwear",
54 },
55 {
56 "platform": "29cm",
57 "productId": "demo-2",
58 "variantId": "black-M",
59 "matchKey": "demo-black-M",
60 "priceType": "sale",
61 "priceKrw": 49000,
62 },
63 ],
64 },
65}
66
67
68run = client.actor("magenta_courser/korean-fashion-catalog-monitor").call(run_input=run_input)
69
70
71print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
72for item in client.dataset(run.default_dataset_id).iterate_items():
73 print(item)
74
75