1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": "Example Brand",
10 "website": "https://example.com",
11 "keywords": [
12 "best alternatives to X",
13 "what is the best Y tool",
14 "how to choose Z",
15 ],
16 "competitors": [
17 "Competitor A",
18 "Competitor B",
19 ],
20 "models": ["deepseek-chat"],
21}
22
23
24run = client.actor("upstanding_biobot/ai-citation-monitor").call(run_input=run_input)
25
26
27print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
28for item in client.dataset(run["defaultDatasetId"]).iterate_items():
29 print(item)
30
31