1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "items",
10 "items": [
11 {
12 "businessName": "Bright Smile Dental",
13 "category": "Dentist",
14 "address": "123 Main St",
15 "city": "Austin",
16 "phone": "+1 512 555 0100",
17 "rating": 4.7,
18 "reviewCount": 34,
19 "googleMapsUrl": "https://www.google.com/maps/place/Bright+Smile+Dental",
20 },
21 {
22 "title": "Oak Street Bakery",
23 "categoryName": "Bakery",
24 "city": "Portland",
25 "contactPhone": "+1 503 555 0111",
26 "websiteUrl": "https://oakstreetbakery.business.site",
27 "rating": 4.6,
28 "reviews": 18,
29 "mapsUrl": "https://www.google.com/maps/place/Oak+Street+Bakery",
30 },
31 {
32 "name": "Cedar Family Dentistry",
33 "primaryCategory": "Dentist",
34 "streetAddress": "9 Cedar Ave",
35 "locality": "Raleigh",
36 "phoneNumber": "+1 919 555 0123",
37 "website": "https://cedarfamilydentistry.com",
38 "googleRating": "4.8",
39 "userRatingsTotal": "184",
40 "placeId": "sample-place-cedar-raleigh",
41 },
42 ],
43 "scrapedAt": "2026-07-08T00:00:00.000Z",
44}
45
46
47run = client.actor("rotvuvo/local-seo-smb-lead-gap-scorer").call(run_input=run_input)
48
49
50print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
51for item in client.dataset(run["defaultDatasetId"]).iterate_items():
52 print(item)
53
54