1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brandName": "HubSpot",
10 "brandAliases": ["HubSpot CRM"],
11 "brandDomain": "hubspot.com",
12 "competitors": [
13 "Salesforce | salesforce.com",
14 "Pipedrive | pipedrive.com",
15 "Zoho CRM | zoho.com | Zoho",
16 ],
17 "prompts": ["What is the best CRM for a small business?"],
18 "engines": [
19 "perplexity",
20 "google_ai_overview",
21 ],
22}
23
24
25run = client.actor("technofystore/ai-visibility-tracker").call(run_input=run_input)
26
27
28print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
29for item in client.dataset(run.default_dataset_id).iterate_items():
30 print(item)
31
32