1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brandName": "Coolblue",
10 "brandAliases": ["Cool Blue"],
11 "brandDomains": [
12 "coolblue.nl",
13 "coolblue.be",
14 ],
15 "competitors": [
16 "Bol, bol.com",
17 "MediaMarkt, Media Markt, mediamarkt.nl",
18 "BCC, bcc.nl",
19 ],
20 "language": "nl",
21 "country": "NL",
22 "prompts": [],
23 "category": "webwinkels voor elektronica",
24 "keywords": [
25 "een nieuwe wasmachine",
26 "een gaming laptop",
27 ],
28 "engines": [
29 "chatgpt",
30 "perplexity",
31 "gemini",
32 ],
33}
34
35
36run = client.actor("prevailing_glow/ai-search-visibility-tracker").call(run_input=run_input)
37
38
39print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
40for item in client.dataset(run.default_dataset_id).iterate_items():
41 print(item)
42
43