# Google Maps Lead Scorer - Rank Local Businesses 0-100 (`that_red_bird/maps-lead-scorer`) Actor

Turn a Google Maps scrape into a ranked call list. Scores every business 0-100 from website quality, reviews, rating, hours, socials, category fit and contactability, with point-by-point reasons and weights you control. Goal presets for web, SEO and review agencies. No LLM.

- **URL**: https://apify.com/that_red_bird/maps-lead-scorer.md
- **Developed by:** [mohamed alaya](https://apify.com/that_red_bird) (community)
- **Categories:** Lead generation, AI, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 scoring runs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Maps Lead Scorer - Rank Local Businesses 0-100

You scraped 5,000 local businesses from Google Maps. Who do you call first? This Actor turns the scrape into a
**ranked call list**: every business gets a **0-100 score, a tier (Hot / Warm / Cool / Cold) and the reasons**, based on
website quality signals, review volume, rating, Maps profile completeness, opening hours, social profiles,
category fit and how easily you can reach them. Deterministic rubric, **no LLM, no network calls, weights you control**.

Built to sit right behind the **Google Maps scraper**: it reads that Actor's output as-is (`title`, `categoryName`,
`website`, `phone`, `totalScore`, `reviewsCount`, `openingHours`, `emails`, `facebooks`, `claimThisBusiness`,
`permanentlyClosed` ...), and also accepts CSV exports from other directories.

### Pick what you sell: the score changes with your offer

A good lead depends on the offer, so `goal` switches the rubric:

| Goal | Who it is for | What scores high |
|---|---|---|
| `bestOverall` | general prospecting, partnerships | established, well-rated, reachable, complete profile, own https website |
| `websiteAgency` | web design / SEO agencies | **no website**, a social page or free-builder site as "website", or no https, on a business with real reviews and a phone |
| `reputationMgmt` | review / reputation tools | many reviews but a rating between 3.0 and 4.4 |
| `localMarketing` | social media / local marketing | good ratings with few social profiles and a thin Maps profile |

Then override any weight: `{"reviewVolume": 40, "email": 0}`. Weights are relative; the score is always scaled to 0-100.

### How a score is built

`score = 100 x sum(weight x signal) / sum(weight)` over the criteria that apply:

| Criterion | Reads |
|---|---|
| Phone | a phone number is listed |
| E-mail | an e-mail is present (e.g. from the Maps scraper's contact enrichment) |
| Website | none / social page / free builder subdomain (Wix, Square, business.site ...) / own domain without https / own https domain |
| Social profiles | Facebook, Instagram, LinkedIn, X, YouTube, TikTok links found |
| Review volume | log-scaled review count (500+ reviews = full marks) |
| Rating | the star rating, interpreted by your goal |
| Maps profile | opening hours, description, photos, claimed listing |
| Category fit | only when you set `targetCategories` |

**Missing data is not zero.** If your records have no `emails` column the e-mail criterion is left out and the other
weights are rescaled; the row lists it under `leadNotScored`. Closed businesses, excluded categories and businesses below
your `minReviews` become tier **Skip** (kept at the end of the dataset with the reason, unless you turn that off).

It does not visit the website, so "website quality" means what the listing itself shows (does a site exist, is it a
social page, a free-builder subdomain, https or not). It cannot judge design, speed or SEO of the site.

### Output

One row per business, your original columns plus:

```json
{
  "title": "Greenleaf Plumbing Co.",
  "categoryName": "Plumber",
  "phone": "(512) 555-0190",
  "website": null,
  "totalScore": 4.9,
  "reviewsCount": 64,
  "leadRank": 4,
  "leadScore": 76,
  "leadTier": "A",
  "leadTierLabel": "Hot",
  "leadWhy": "Strengths: no website: strong web-design / SEO opening (+33.3); phone number listed (+15.6); rating 4.9 (well liked) (+11.1). Weak spots: no e-mail found (0/8.9); Maps profile 33% complete (2.2/6.7).",
  "leadBreakdown": [
    "Phone: 15.6/15.6 - phone number listed",
    "Website: 33.3/33.3 - no website: strong web-design / SEO opening",
    "Review volume: 13.4/20 - 64 reviews (established)",
    "Rating: 11.1/11.1 - rating 4.9 (well liked)"
  ],
  "leadNotScored": ["Category fit (no data: no target categories set)"],
  "leadWebsiteStatus": "none",
  "leadGoal": "websiteAgency"
}
```

(the example above was run with `goal: websiteAgency`; the breakdown is abridged.)

Key-value store: **`TOP_LEADS.csv`** (rank, score, tier, name, category, phone, e-mail, website, address, rating,
reviews, why, Maps link: your call sheet) and `SUMMARY` (tier counts, score range, weights used, warnings).

Started with no input it scores a built-in sample of 15 Google Maps businesses (two are closed and come out as tier Skip).

### Input

| Field | Default | What it does |
|---|---|---|
| `datasetIds` / `places` / `sourceUrl` / `csvText` | built-in sample | Google Maps scraper dataset IDs, pasted rows, a CSV / JSON URL or pasted CSV. |
| `goal` | `bestOverall` | The rubric preset (table above). |
| `weightOverrides` | `{}` | Your own weights: `phone, email, website, socials, reviewVolume, rating, profile, categoryFit`. |
| `targetCategories` / `excludeCategories` | `[]` | Words matched against Maps categories (dentist, plumber ...). |
| `minReviews`, `excludeClosed` | 0, `true` | Skip rules. |
| `tierACutoff` / `tierBCutoff` / `tierCCutoff` | 75 / 55 / 35 | Where Hot / Warm / Cool start. |
| `topN`, `csvTopCount`, `includeSkipped` | 0 (all), 100, `true` | Output size. |
| `fieldMap` | `{}` | Rename columns: `{"name":"Business","rating":"Stars","reviews":"Votes"}`. |

### Pipelines

- **Maps scraper -> [Remove Duplicate Leads](https://apify.com/that_red_bird/lead-list-deduplicator) -> this Actor.**
  Overlapping searches return the same business twice; merge first, then score the clean list.
- **Maps scraper with contact enrichment -> this Actor -> export `TOP_LEADS.csv` -> your CRM or dialer.**
- **Schedule it** after a weekly scrape and diff the top tier.

Make, Zapier and n8n work through the Apify integrations (trigger on "run succeeded"). From code:

```bash
curl -X POST "https://api.apify.com/v2/acts/that_red_bird~maps-lead-scorer/runs?token=$APIFY_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"datasetIds":["YOUR_MAPS_DATASET_ID"],"goal":"websiteAgency","targetCategories":["plumber","roofing"]}'
```

AI agents can call it as an Apify Actor tool (MCP) with the same JSON.

### Pricing

Pay per event: **$0.002 per run + $0.002 per business scored** (skipped rows included, they are delivered output).
1,000 businesses cost about $2. Rows that cannot be read are not charged and the run stops cleanly at your maximum cost.
Scoring 100,000 rows took about 4 seconds in testing.

### FAQ

**Is the score "accurate"?** It is a transparent ranking rule, not a prediction of who will buy. Check the `leadWhy`
and `leadBreakdown` on a few rows, tune the goal and weights until the top of the list matches your instinct, then trust it for the rest.

**Why do two goals rank the same business differently?** Because "good" changes with what you sell. A business without a
website is a great web-agency lead and a poor partnership lead.

**My file is not from the Maps scraper.** Use `fieldMap` to point at your columns. Anything it cannot find is left out of the
score and listed in `leadNotScored`.

**Does it scrape or call anything?** No. It only reads the data you give it.

### Support

Open an issue on the Actor page with a row that scored surprisingly and we will check the rubric. A short review helps others find it.

# Actor input Schema

## `datasetIds` (type: `array`):

Datasets (pick from your storage or pass dataset IDs) of a Google Maps scraper run to score. Works with the official Google Maps Scraper output (title, categoryName, website, phone, totalScore, reviewsCount, openingHours, emails, socials...) and similar business-directory exports. Rows from several datasets are scored together. Use the picker rather than typing an ID: it gives this Actor permission to read your dataset.

## `places` (type: `array`):

Optional: businesses pasted directly as an array of objects. Combined with the datasets above. The default is a small Google Maps sample so an empty run shows real output.

## `sourceUrl` (type: `string`):

Optional: a public URL to a CSV, JSON or NDJSON export of businesses. Leave empty to skip.

## `csvText` (type: `string`):

Optional: CSV text with a header row, e.g. a Google Maps scraper CSV export. Leave empty to skip.

## `goal` (type: `string`):

Picks the rubric. A good lead depends on your offer: a web agency wants businesses with NO or a weak website, a review-management service wants busy businesses with a middling rating. Each preset has its own weights; you can still override any weight below.

## `weightOverrides` (type: `object`):

Optional. Change how much each criterion counts, e.g. {"reviewVolume":40,"website":10,"email":0}. Keys: phone, email, website, socials, reviewVolume, rating, profile, categoryFit. Any number from 0 (ignore the criterion) upwards; weights are relative, the score is always scaled to 0-100. Criteria whose data is missing from your records are left out, not scored as zero.

## `targetCategories` (type: `array`):

Optional. Words that describe the businesses you want, e.g. dentist, plumber, restaurant. Matched against the Google Maps categories (partial match, case-insensitive). When set, category fit becomes part of the score.

## `excludeCategories` (type: `array`):

Optional. Businesses whose category contains any of these words are tier Skip, e.g. "bank", "government", "school".

## `minReviews` (type: `integer`):

Businesses with fewer reviews than this are tier Skip. 0 keeps everyone. Only applied when your data has a review-count column.

## `excludeClosed` (type: `boolean`):

Mark permanently and temporarily closed businesses as tier Skip (they are never ranked).

## `tierACutoff` (type: `integer`):

Scores at or above this are tier A (Hot). Must be higher than the tier B cutoff.

## `tierBCutoff` (type: `integer`):

Scores at or above this (and below tier A) are tier B (Warm).

## `tierCCutoff` (type: `integer`):

Scores at or above this (and below tier B) are tier C (Cool). Everything lower is tier D (Cold).

## `topN` (type: `integer`):

Return only the N highest-ranked businesses in the dataset (skipped rows are then left out too). 0 returns every business.

## `csvTopCount` (type: `integer`):

Size of the call-list file TOP_LEADS.csv saved in the key-value store (rank, score, name, phone, e-mail, website, reasons, Maps link).

## `includeSkipped` (type: `boolean`):

Keep closed / excluded / invalid businesses in the dataset, marked tier Skip with the reason, after the ranked rows.

## `fieldMap` (type: `object`):

Optional. If your columns are named differently, map them, e.g. {"name":"Business","website":"Site","phone":"Tel","rating":"Stars","reviews":"Votes","category":"Type"}. Supported keys: name, category, website, phone, email, rating, reviews, images, hours, description.

## `maxRecords` (type: `integer`):

Upper limit of rows read from all sources.

## Actor input object example

```json
{
  "places": [
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Blue Door Dental Care",
      "categoryName": "Dentist",
      "categories": [
        "Dentist",
        "Cosmetic dentist"
      ],
      "address": "120 Main St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0134",
      "website": "https://www.bluedoordental.com/",
      "emails": [
        "hello@bluedoordental.com"
      ],
      "facebooks": [
        "https://facebook.com/bluedoordental"
      ],
      "instagrams": [
        "https://instagram.com/bluedoordental"
      ],
      "totalScore": 4.8,
      "reviewsCount": 212,
      "imagesCount": 84,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Family and cosmetic dentistry in downtown Austin.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bluedoor_A",
      "placeId": "ChIJ_bluedoor_A"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Lakeside Pizza & Pasta",
      "categoryName": "Pizza restaurant",
      "categories": [
        "Pizza restaurant",
        "Italian restaurant"
      ],
      "address": "45 Lake Ave, Austin, TX 78702",
      "city": "Austin",
      "phone": "(512) 555-0178",
      "website": "https://www.facebook.com/lakesidepizzaatx",
      "emails": [],
      "facebooks": [
        "https://www.facebook.com/lakesidepizzaatx"
      ],
      "instagrams": [],
      "totalScore": 4.4,
      "reviewsCount": 891,
      "imagesCount": 1200,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lakeside_1",
      "placeId": "ChIJ_lakeside_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Hill Country Coffee",
      "categoryName": "Coffee shop",
      "categories": [
        "Coffee shop",
        "Cafe"
      ],
      "address": "900 Congress Ave, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0102",
      "website": "https://hillcountrycoffee.com",
      "emails": [
        "info@hillcountrycoffee.com"
      ],
      "facebooks": [
        "https://facebook.com/hillcountrycoffee"
      ],
      "instagrams": [
        "https://instagram.com/hillcountrycoffee"
      ],
      "tiktoks": [
        "https://tiktok.com/@hillcountrycoffee"
      ],
      "totalScore": 4.6,
      "reviewsCount": 540,
      "imagesCount": 310,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": "Small-batch roasters and an all-day cafe.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_hcc_congress",
      "placeId": "ChIJ_hcc_congress"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Greenleaf Plumbing Co.",
      "categoryName": "Plumber",
      "categories": [
        "Plumber",
        "Water heater installation service"
      ],
      "address": "77 Industrial Blvd, Round Rock, TX 78664",
      "city": "Round Rock",
      "phone": "(512) 555-0190",
      "website": null,
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 4.9,
      "reviewsCount": 64,
      "imagesCount": 6,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_greenleaf_1",
      "placeId": "ChIJ_greenleaf_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Austin Bike Works",
      "categoryName": "Bicycle shop",
      "categories": [
        "Bicycle shop",
        "Bicycle repair shop"
      ],
      "address": "301 E 6th St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0155",
      "website": "http://austinbikeworks.wixsite.com/home",
      "emails": [],
      "facebooks": [
        "https://facebook.com/austinbikeworks"
      ],
      "instagrams": [],
      "totalScore": 4.7,
      "reviewsCount": 158,
      "imagesCount": 40,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Repairs, tune-ups and custom builds.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bike_1",
      "placeId": "ChIJ_bike_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Maria's Taqueria",
      "categoryName": "Mexican restaurant",
      "categories": [
        "Mexican restaurant",
        "Taco restaurant"
      ],
      "address": "15 Cesar Chavez St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0143",
      "website": "http://mariastaqueriaatx.com",
      "emails": [
        "orders@mariastaqueriaatx.com"
      ],
      "facebooks": [
        "https://facebook.com/mariastaqueria"
      ],
      "instagrams": [
        "https://instagram.com/mariastaqueriaatx"
      ],
      "totalScore": 4.5,
      "reviewsCount": 1210,
      "imagesCount": 2300,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": "Family-run taqueria since 1998.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_maria_1",
      "placeId": "ChIJ_maria_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Oak Street Veterinary Clinic",
      "categoryName": "Veterinarian",
      "categories": [
        "Veterinarian",
        "Animal hospital"
      ],
      "address": "8 Oak St, Cedar Park, TX 78613",
      "city": "Cedar Park",
      "phone": "(512) 555-0111",
      "website": "https://oakstreetvet.com",
      "emails": [
        "frontdesk@oakstreetvet.com"
      ],
      "facebooks": [
        "https://facebook.com/oakstreetvet"
      ],
      "instagrams": [],
      "totalScore": 3.6,
      "reviewsCount": 300,
      "imagesCount": 55,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Full-service veterinary care.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_oak_1",
      "placeId": "ChIJ_oak_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Sunrise Roofing & Repair",
      "categoryName": "Roofing contractor",
      "categories": [
        "Roofing contractor"
      ],
      "address": "2210 Ranch Rd 620 S, Lakeway, TX 78734",
      "city": "Lakeway",
      "phone": "(512) 555-0188",
      "website": "http://www.sunriseroofingtx.com",
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 4.2,
      "reviewsCount": 37,
      "imagesCount": 12,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_sunrise_1",
      "placeId": "ChIJ_sunrise_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": true,
      "temporarilyClosed": false,
      "title": "The Daily Grind Cafe",
      "categoryName": "Cafe",
      "categories": [
        "Cafe"
      ],
      "address": "600 W 6th St, Austin, TX 78701",
      "city": "Austin",
      "phone": null,
      "website": null,
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 3.1,
      "reviewsCount": 9,
      "imagesCount": 2,
      "openingHours": null,
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_grind_1",
      "placeId": "ChIJ_grind_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Capital City Accounting",
      "categoryName": "Accountant",
      "categories": [
        "Accountant",
        "Tax preparation service"
      ],
      "address": "1100 Guadalupe St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0166",
      "website": "https://capitalcityacct.com",
      "emails": [
        "info@capitalcityacct.com"
      ],
      "facebooks": [],
      "instagrams": [],
      "linkedIns": [
        "https://linkedin.com/company/capital-city-accounting"
      ],
      "totalScore": 4.9,
      "reviewsCount": 88,
      "imagesCount": 9,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Tax and bookkeeping for small business.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_capital_1",
      "placeId": "ChIJ_capital_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Zen Garden Yoga",
      "categoryName": "Yoga studio",
      "categories": [
        "Yoga studio"
      ],
      "address": "3300 Bee Caves Rd, Austin, TX 78746",
      "city": "Austin",
      "phone": "(512) 555-0120",
      "website": "https://zengardenyoga.square.site",
      "emails": [],
      "facebooks": [
        "https://facebook.com/zengardenyoga"
      ],
      "instagrams": [
        "https://instagram.com/zengardenyoga"
      ],
      "totalScore": 4.3,
      "reviewsCount": 121,
      "imagesCount": 70,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": "Vinyasa, yin and prenatal classes.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_zen_1",
      "placeId": "ChIJ_zen_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Mike's Auto Repair",
      "categoryName": "Auto repair shop",
      "categories": [
        "Auto repair shop"
      ],
      "address": "950 N Lamar Blvd, Austin, TX 78703",
      "city": "Austin",
      "phone": "(512) 555-0177",
      "website": null,
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 3.8,
      "reviewsCount": 412,
      "imagesCount": 18,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_mikes_1",
      "placeId": "ChIJ_mikes_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": true,
      "title": "Pearl Nail Studio",
      "categoryName": "Nail salon",
      "categories": [
        "Nail salon",
        "Beauty salon"
      ],
      "address": "2400 S Congress Ave, Austin, TX 78704",
      "city": "Austin",
      "phone": "(512) 555-0109",
      "website": "https://pearlnailstudio.com",
      "emails": [
        "book@pearlnailstudio.com"
      ],
      "facebooks": [
        "https://facebook.com/pearlnailstudio"
      ],
      "instagrams": [
        "https://instagram.com/pearlnailstudio"
      ],
      "totalScore": 4.1,
      "reviewsCount": 260,
      "imagesCount": 150,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Gel, acrylic and spa manicures.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_pearl_1",
      "placeId": "ChIJ_pearl_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Barton Springs Law Group",
      "categoryName": "Personal injury attorney",
      "categories": [
        "Personal injury attorney",
        "Law firm"
      ],
      "address": "700 Lavaca St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0150",
      "website": "https://bartonspringslaw.com",
      "emails": [
        "contact@bartonspringslaw.com"
      ],
      "facebooks": [
        "https://facebook.com/bartonspringslaw"
      ],
      "instagrams": [],
      "linkedIns": [
        "https://linkedin.com/company/barton-springs-law"
      ],
      "totalScore": 4,
      "reviewsCount": 73,
      "imagesCount": 25,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Austin personal injury lawyers.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_barton_1",
      "placeId": "ChIJ_barton_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Quick Lube Express",
      "categoryName": "Oil change service",
      "categories": [
        "Oil change service"
      ],
      "address": "5100 Burnet Rd, Austin, TX 78756",
      "city": "Austin",
      "phone": "(512) 555-0199",
      "website": "https://quicklubeexpress.business.site",
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 2.9,
      "reviewsCount": 187,
      "imagesCount": 7,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lube_1",
      "placeId": "ChIJ_lube_1"
    }
  ],
  "sourceUrl": "",
  "csvText": "",
  "goal": "bestOverall",
  "weightOverrides": {},
  "targetCategories": [],
  "excludeCategories": [],
  "minReviews": 0,
  "excludeClosed": true,
  "tierACutoff": 75,
  "tierBCutoff": 55,
  "tierCCutoff": 35,
  "topN": 0,
  "csvTopCount": 100,
  "includeSkipped": true,
  "fieldMap": {},
  "maxRecords": 200000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `downloadCsv` (type: `string`):

No description

## `topLeads` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "places": [
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Blue Door Dental Care",
            "categoryName": "Dentist",
            "categories": [
                "Dentist",
                "Cosmetic dentist"
            ],
            "address": "120 Main St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0134",
            "website": "https://www.bluedoordental.com/",
            "emails": [
                "hello@bluedoordental.com"
            ],
            "facebooks": [
                "https://facebook.com/bluedoordental"
            ],
            "instagrams": [
                "https://instagram.com/bluedoordental"
            ],
            "totalScore": 4.8,
            "reviewsCount": 212,
            "imagesCount": 84,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": "Family and cosmetic dentistry in downtown Austin.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bluedoor_A",
            "placeId": "ChIJ_bluedoor_A"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Lakeside Pizza & Pasta",
            "categoryName": "Pizza restaurant",
            "categories": [
                "Pizza restaurant",
                "Italian restaurant"
            ],
            "address": "45 Lake Ave, Austin, TX 78702",
            "city": "Austin",
            "phone": "(512) 555-0178",
            "website": "https://www.facebook.com/lakesidepizzaatx",
            "emails": [],
            "facebooks": [
                "https://www.facebook.com/lakesidepizzaatx"
            ],
            "instagrams": [],
            "totalScore": 4.4,
            "reviewsCount": 891,
            "imagesCount": 1200,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM"
                }
            ],
            "description": null,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lakeside_1",
            "placeId": "ChIJ_lakeside_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Hill Country Coffee",
            "categoryName": "Coffee shop",
            "categories": [
                "Coffee shop",
                "Cafe"
            ],
            "address": "900 Congress Ave, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0102",
            "website": "https://hillcountrycoffee.com",
            "emails": [
                "info@hillcountrycoffee.com"
            ],
            "facebooks": [
                "https://facebook.com/hillcountrycoffee"
            ],
            "instagrams": [
                "https://instagram.com/hillcountrycoffee"
            ],
            "tiktoks": [
                "https://tiktok.com/@hillcountrycoffee"
            ],
            "totalScore": 4.6,
            "reviewsCount": 540,
            "imagesCount": 310,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM"
                }
            ],
            "description": "Small-batch roasters and an all-day cafe.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_hcc_congress",
            "placeId": "ChIJ_hcc_congress"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": true,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Greenleaf Plumbing Co.",
            "categoryName": "Plumber",
            "categories": [
                "Plumber",
                "Water heater installation service"
            ],
            "address": "77 Industrial Blvd, Round Rock, TX 78664",
            "city": "Round Rock",
            "phone": "(512) 555-0190",
            "website": null,
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 4.9,
            "reviewsCount": 64,
            "imagesCount": 6,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": null,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_greenleaf_1",
            "placeId": "ChIJ_greenleaf_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Austin Bike Works",
            "categoryName": "Bicycle shop",
            "categories": [
                "Bicycle shop",
                "Bicycle repair shop"
            ],
            "address": "301 E 6th St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0155",
            "website": "http://austinbikeworks.wixsite.com/home",
            "emails": [],
            "facebooks": [
                "https://facebook.com/austinbikeworks"
            ],
            "instagrams": [],
            "totalScore": 4.7,
            "reviewsCount": 158,
            "imagesCount": 40,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": "Repairs, tune-ups and custom builds.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bike_1",
            "placeId": "ChIJ_bike_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Maria's Taqueria",
            "categoryName": "Mexican restaurant",
            "categories": [
                "Mexican restaurant",
                "Taco restaurant"
            ],
            "address": "15 Cesar Chavez St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0143",
            "website": "http://mariastaqueriaatx.com",
            "emails": [
                "orders@mariastaqueriaatx.com"
            ],
            "facebooks": [
                "https://facebook.com/mariastaqueria"
            ],
            "instagrams": [
                "https://instagram.com/mariastaqueriaatx"
            ],
            "totalScore": 4.5,
            "reviewsCount": 1210,
            "imagesCount": 2300,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM"
                }
            ],
            "description": "Family-run taqueria since 1998.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_maria_1",
            "placeId": "ChIJ_maria_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Oak Street Veterinary Clinic",
            "categoryName": "Veterinarian",
            "categories": [
                "Veterinarian",
                "Animal hospital"
            ],
            "address": "8 Oak St, Cedar Park, TX 78613",
            "city": "Cedar Park",
            "phone": "(512) 555-0111",
            "website": "https://oakstreetvet.com",
            "emails": [
                "frontdesk@oakstreetvet.com"
            ],
            "facebooks": [
                "https://facebook.com/oakstreetvet"
            ],
            "instagrams": [],
            "totalScore": 3.6,
            "reviewsCount": 300,
            "imagesCount": 55,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": "Full-service veterinary care.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_oak_1",
            "placeId": "ChIJ_oak_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": true,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Sunrise Roofing & Repair",
            "categoryName": "Roofing contractor",
            "categories": [
                "Roofing contractor"
            ],
            "address": "2210 Ranch Rd 620 S, Lakeway, TX 78734",
            "city": "Lakeway",
            "phone": "(512) 555-0188",
            "website": "http://www.sunriseroofingtx.com",
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 4.2,
            "reviewsCount": 37,
            "imagesCount": 12,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": null,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_sunrise_1",
            "placeId": "ChIJ_sunrise_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": true,
            "permanentlyClosed": true,
            "temporarilyClosed": false,
            "title": "The Daily Grind Cafe",
            "categoryName": "Cafe",
            "categories": [
                "Cafe"
            ],
            "address": "600 W 6th St, Austin, TX 78701",
            "city": "Austin",
            "phone": null,
            "website": null,
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 3.1,
            "reviewsCount": 9,
            "imagesCount": 2,
            "openingHours": null,
            "description": null,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_grind_1",
            "placeId": "ChIJ_grind_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Capital City Accounting",
            "categoryName": "Accountant",
            "categories": [
                "Accountant",
                "Tax preparation service"
            ],
            "address": "1100 Guadalupe St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0166",
            "website": "https://capitalcityacct.com",
            "emails": [
                "info@capitalcityacct.com"
            ],
            "facebooks": [],
            "instagrams": [],
            "linkedIns": [
                "https://linkedin.com/company/capital-city-accounting"
            ],
            "totalScore": 4.9,
            "reviewsCount": 88,
            "imagesCount": 9,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": "Tax and bookkeeping for small business.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_capital_1",
            "placeId": "ChIJ_capital_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Zen Garden Yoga",
            "categoryName": "Yoga studio",
            "categories": [
                "Yoga studio"
            ],
            "address": "3300 Bee Caves Rd, Austin, TX 78746",
            "city": "Austin",
            "phone": "(512) 555-0120",
            "website": "https://zengardenyoga.square.site",
            "emails": [],
            "facebooks": [
                "https://facebook.com/zengardenyoga"
            ],
            "instagrams": [
                "https://instagram.com/zengardenyoga"
            ],
            "totalScore": 4.3,
            "reviewsCount": 121,
            "imagesCount": 70,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM"
                }
            ],
            "description": "Vinyasa, yin and prenatal classes.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_zen_1",
            "placeId": "ChIJ_zen_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": true,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Mike's Auto Repair",
            "categoryName": "Auto repair shop",
            "categories": [
                "Auto repair shop"
            ],
            "address": "950 N Lamar Blvd, Austin, TX 78703",
            "city": "Austin",
            "phone": "(512) 555-0177",
            "website": null,
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 3.8,
            "reviewsCount": 412,
            "imagesCount": 18,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": null,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_mikes_1",
            "placeId": "ChIJ_mikes_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": true,
            "title": "Pearl Nail Studio",
            "categoryName": "Nail salon",
            "categories": [
                "Nail salon",
                "Beauty salon"
            ],
            "address": "2400 S Congress Ave, Austin, TX 78704",
            "city": "Austin",
            "phone": "(512) 555-0109",
            "website": "https://pearlnailstudio.com",
            "emails": [
                "book@pearlnailstudio.com"
            ],
            "facebooks": [
                "https://facebook.com/pearlnailstudio"
            ],
            "instagrams": [
                "https://instagram.com/pearlnailstudio"
            ],
            "totalScore": 4.1,
            "reviewsCount": 260,
            "imagesCount": 150,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": "Gel, acrylic and spa manicures.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_pearl_1",
            "placeId": "ChIJ_pearl_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": false,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Barton Springs Law Group",
            "categoryName": "Personal injury attorney",
            "categories": [
                "Personal injury attorney",
                "Law firm"
            ],
            "address": "700 Lavaca St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0150",
            "website": "https://bartonspringslaw.com",
            "emails": [
                "contact@bartonspringslaw.com"
            ],
            "facebooks": [
                "https://facebook.com/bartonspringslaw"
            ],
            "instagrams": [],
            "linkedIns": [
                "https://linkedin.com/company/barton-springs-law"
            ],
            "totalScore": 4,
            "reviewsCount": 73,
            "imagesCount": 25,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": "Austin personal injury lawyers.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_barton_1",
            "placeId": "ChIJ_barton_1"
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": true,
            "permanentlyClosed": false,
            "temporarilyClosed": false,
            "title": "Quick Lube Express",
            "categoryName": "Oil change service",
            "categories": [
                "Oil change service"
            ],
            "address": "5100 Burnet Rd, Austin, TX 78756",
            "city": "Austin",
            "phone": "(512) 555-0199",
            "website": "https://quicklubeexpress.business.site",
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 2.9,
            "reviewsCount": 187,
            "imagesCount": 7,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM"
                },
                {
                    "day": "Saturday",
                    "hours": "Closed"
                },
                {
                    "day": "Sunday",
                    "hours": "Closed"
                }
            ],
            "description": null,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lube_1",
            "placeId": "ChIJ_lube_1"
        }
    ],
    "sourceUrl": "",
    "csvText": "",
    "goal": "bestOverall",
    "weightOverrides": {},
    "targetCategories": [],
    "excludeCategories": [],
    "minReviews": 0,
    "excludeClosed": true,
    "tierACutoff": 75,
    "tierBCutoff": 55,
    "tierCCutoff": 35,
    "topN": 0,
    "csvTopCount": 100,
    "includeSkipped": true,
    "fieldMap": {},
    "maxRecords": 200000
};

// Run the Actor and wait for it to finish
const run = await client.actor("that_red_bird/maps-lead-scorer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "places": [
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Blue Door Dental Care",
            "categoryName": "Dentist",
            "categories": [
                "Dentist",
                "Cosmetic dentist",
            ],
            "address": "120 Main St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0134",
            "website": "https://www.bluedoordental.com/",
            "emails": ["hello@bluedoordental.com"],
            "facebooks": ["https://facebook.com/bluedoordental"],
            "instagrams": ["https://instagram.com/bluedoordental"],
            "totalScore": 4.8,
            "reviewsCount": 212,
            "imagesCount": 84,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": "Family and cosmetic dentistry in downtown Austin.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bluedoor_A",
            "placeId": "ChIJ_bluedoor_A",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Lakeside Pizza & Pasta",
            "categoryName": "Pizza restaurant",
            "categories": [
                "Pizza restaurant",
                "Italian restaurant",
            ],
            "address": "45 Lake Ave, Austin, TX 78702",
            "city": "Austin",
            "phone": "(512) 555-0178",
            "website": "https://www.facebook.com/lakesidepizzaatx",
            "emails": [],
            "facebooks": ["https://www.facebook.com/lakesidepizzaatx"],
            "instagrams": [],
            "totalScore": 4.4,
            "reviewsCount": 891,
            "imagesCount": 1200,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM",
                },
            ],
            "description": None,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lakeside_1",
            "placeId": "ChIJ_lakeside_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Hill Country Coffee",
            "categoryName": "Coffee shop",
            "categories": [
                "Coffee shop",
                "Cafe",
            ],
            "address": "900 Congress Ave, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0102",
            "website": "https://hillcountrycoffee.com",
            "emails": ["info@hillcountrycoffee.com"],
            "facebooks": ["https://facebook.com/hillcountrycoffee"],
            "instagrams": ["https://instagram.com/hillcountrycoffee"],
            "tiktoks": ["https://tiktok.com/@hillcountrycoffee"],
            "totalScore": 4.6,
            "reviewsCount": 540,
            "imagesCount": 310,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM",
                },
            ],
            "description": "Small-batch roasters and an all-day cafe.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_hcc_congress",
            "placeId": "ChIJ_hcc_congress",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": True,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Greenleaf Plumbing Co.",
            "categoryName": "Plumber",
            "categories": [
                "Plumber",
                "Water heater installation service",
            ],
            "address": "77 Industrial Blvd, Round Rock, TX 78664",
            "city": "Round Rock",
            "phone": "(512) 555-0190",
            "website": None,
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 4.9,
            "reviewsCount": 64,
            "imagesCount": 6,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": None,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_greenleaf_1",
            "placeId": "ChIJ_greenleaf_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Austin Bike Works",
            "categoryName": "Bicycle shop",
            "categories": [
                "Bicycle shop",
                "Bicycle repair shop",
            ],
            "address": "301 E 6th St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0155",
            "website": "http://austinbikeworks.wixsite.com/home",
            "emails": [],
            "facebooks": ["https://facebook.com/austinbikeworks"],
            "instagrams": [],
            "totalScore": 4.7,
            "reviewsCount": 158,
            "imagesCount": 40,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": "Repairs, tune-ups and custom builds.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bike_1",
            "placeId": "ChIJ_bike_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Maria's Taqueria",
            "categoryName": "Mexican restaurant",
            "categories": [
                "Mexican restaurant",
                "Taco restaurant",
            ],
            "address": "15 Cesar Chavez St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0143",
            "website": "http://mariastaqueriaatx.com",
            "emails": ["orders@mariastaqueriaatx.com"],
            "facebooks": ["https://facebook.com/mariastaqueria"],
            "instagrams": ["https://instagram.com/mariastaqueriaatx"],
            "totalScore": 4.5,
            "reviewsCount": 1210,
            "imagesCount": 2300,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM",
                },
            ],
            "description": "Family-run taqueria since 1998.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_maria_1",
            "placeId": "ChIJ_maria_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Oak Street Veterinary Clinic",
            "categoryName": "Veterinarian",
            "categories": [
                "Veterinarian",
                "Animal hospital",
            ],
            "address": "8 Oak St, Cedar Park, TX 78613",
            "city": "Cedar Park",
            "phone": "(512) 555-0111",
            "website": "https://oakstreetvet.com",
            "emails": ["frontdesk@oakstreetvet.com"],
            "facebooks": ["https://facebook.com/oakstreetvet"],
            "instagrams": [],
            "totalScore": 3.6,
            "reviewsCount": 300,
            "imagesCount": 55,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": "Full-service veterinary care.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_oak_1",
            "placeId": "ChIJ_oak_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": True,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Sunrise Roofing & Repair",
            "categoryName": "Roofing contractor",
            "categories": ["Roofing contractor"],
            "address": "2210 Ranch Rd 620 S, Lakeway, TX 78734",
            "city": "Lakeway",
            "phone": "(512) 555-0188",
            "website": "http://www.sunriseroofingtx.com",
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 4.2,
            "reviewsCount": 37,
            "imagesCount": 12,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": None,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_sunrise_1",
            "placeId": "ChIJ_sunrise_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": True,
            "permanentlyClosed": True,
            "temporarilyClosed": False,
            "title": "The Daily Grind Cafe",
            "categoryName": "Cafe",
            "categories": ["Cafe"],
            "address": "600 W 6th St, Austin, TX 78701",
            "city": "Austin",
            "phone": None,
            "website": None,
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 3.1,
            "reviewsCount": 9,
            "imagesCount": 2,
            "openingHours": None,
            "description": None,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_grind_1",
            "placeId": "ChIJ_grind_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Capital City Accounting",
            "categoryName": "Accountant",
            "categories": [
                "Accountant",
                "Tax preparation service",
            ],
            "address": "1100 Guadalupe St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0166",
            "website": "https://capitalcityacct.com",
            "emails": ["info@capitalcityacct.com"],
            "facebooks": [],
            "instagrams": [],
            "linkedIns": ["https://linkedin.com/company/capital-city-accounting"],
            "totalScore": 4.9,
            "reviewsCount": 88,
            "imagesCount": 9,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": "Tax and bookkeeping for small business.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_capital_1",
            "placeId": "ChIJ_capital_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Zen Garden Yoga",
            "categoryName": "Yoga studio",
            "categories": ["Yoga studio"],
            "address": "3300 Bee Caves Rd, Austin, TX 78746",
            "city": "Austin",
            "phone": "(512) 555-0120",
            "website": "https://zengardenyoga.square.site",
            "emails": [],
            "facebooks": ["https://facebook.com/zengardenyoga"],
            "instagrams": ["https://instagram.com/zengardenyoga"],
            "totalScore": 4.3,
            "reviewsCount": 121,
            "imagesCount": 70,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Sunday",
                    "hours": "8 AM to 6 PM",
                },
            ],
            "description": "Vinyasa, yin and prenatal classes.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_zen_1",
            "placeId": "ChIJ_zen_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": True,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Mike's Auto Repair",
            "categoryName": "Auto repair shop",
            "categories": ["Auto repair shop"],
            "address": "950 N Lamar Blvd, Austin, TX 78703",
            "city": "Austin",
            "phone": "(512) 555-0177",
            "website": None,
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 3.8,
            "reviewsCount": 412,
            "imagesCount": 18,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": None,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_mikes_1",
            "placeId": "ChIJ_mikes_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": True,
            "title": "Pearl Nail Studio",
            "categoryName": "Nail salon",
            "categories": [
                "Nail salon",
                "Beauty salon",
            ],
            "address": "2400 S Congress Ave, Austin, TX 78704",
            "city": "Austin",
            "phone": "(512) 555-0109",
            "website": "https://pearlnailstudio.com",
            "emails": ["book@pearlnailstudio.com"],
            "facebooks": ["https://facebook.com/pearlnailstudio"],
            "instagrams": ["https://instagram.com/pearlnailstudio"],
            "totalScore": 4.1,
            "reviewsCount": 260,
            "imagesCount": 150,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": "Gel, acrylic and spa manicures.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_pearl_1",
            "placeId": "ChIJ_pearl_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": False,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Barton Springs Law Group",
            "categoryName": "Personal injury attorney",
            "categories": [
                "Personal injury attorney",
                "Law firm",
            ],
            "address": "700 Lavaca St, Austin, TX 78701",
            "city": "Austin",
            "phone": "(512) 555-0150",
            "website": "https://bartonspringslaw.com",
            "emails": ["contact@bartonspringslaw.com"],
            "facebooks": ["https://facebook.com/bartonspringslaw"],
            "instagrams": [],
            "linkedIns": ["https://linkedin.com/company/barton-springs-law"],
            "totalScore": 4,
            "reviewsCount": 73,
            "imagesCount": 25,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": "Austin personal injury lawyers.",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_barton_1",
            "placeId": "ChIJ_barton_1",
        },
        {
            "state": "Texas",
            "countryCode": "US",
            "claimThisBusiness": True,
            "permanentlyClosed": False,
            "temporarilyClosed": False,
            "title": "Quick Lube Express",
            "categoryName": "Oil change service",
            "categories": ["Oil change service"],
            "address": "5100 Burnet Rd, Austin, TX 78756",
            "city": "Austin",
            "phone": "(512) 555-0199",
            "website": "https://quicklubeexpress.business.site",
            "emails": [],
            "facebooks": [],
            "instagrams": [],
            "totalScore": 2.9,
            "reviewsCount": 187,
            "imagesCount": 7,
            "openingHours": [
                {
                    "day": "Monday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Tuesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Wednesday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Thursday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Friday",
                    "hours": "8 AM to 6 PM",
                },
                {
                    "day": "Saturday",
                    "hours": "Closed",
                },
                {
                    "day": "Sunday",
                    "hours": "Closed",
                },
            ],
            "description": None,
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lube_1",
            "placeId": "ChIJ_lube_1",
        },
    ],
    "sourceUrl": "",
    "csvText": "",
    "goal": "bestOverall",
    "weightOverrides": {},
    "targetCategories": [],
    "excludeCategories": [],
    "minReviews": 0,
    "excludeClosed": True,
    "tierACutoff": 75,
    "tierBCutoff": 55,
    "tierCCutoff": 35,
    "topN": 0,
    "csvTopCount": 100,
    "includeSkipped": True,
    "fieldMap": {},
    "maxRecords": 200000,
}

# Run the Actor and wait for it to finish
run = client.actor("that_red_bird/maps-lead-scorer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "places": [
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Blue Door Dental Care",
      "categoryName": "Dentist",
      "categories": [
        "Dentist",
        "Cosmetic dentist"
      ],
      "address": "120 Main St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0134",
      "website": "https://www.bluedoordental.com/",
      "emails": [
        "hello@bluedoordental.com"
      ],
      "facebooks": [
        "https://facebook.com/bluedoordental"
      ],
      "instagrams": [
        "https://instagram.com/bluedoordental"
      ],
      "totalScore": 4.8,
      "reviewsCount": 212,
      "imagesCount": 84,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Family and cosmetic dentistry in downtown Austin.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bluedoor_A",
      "placeId": "ChIJ_bluedoor_A"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Lakeside Pizza & Pasta",
      "categoryName": "Pizza restaurant",
      "categories": [
        "Pizza restaurant",
        "Italian restaurant"
      ],
      "address": "45 Lake Ave, Austin, TX 78702",
      "city": "Austin",
      "phone": "(512) 555-0178",
      "website": "https://www.facebook.com/lakesidepizzaatx",
      "emails": [],
      "facebooks": [
        "https://www.facebook.com/lakesidepizzaatx"
      ],
      "instagrams": [],
      "totalScore": 4.4,
      "reviewsCount": 891,
      "imagesCount": 1200,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lakeside_1",
      "placeId": "ChIJ_lakeside_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Hill Country Coffee",
      "categoryName": "Coffee shop",
      "categories": [
        "Coffee shop",
        "Cafe"
      ],
      "address": "900 Congress Ave, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0102",
      "website": "https://hillcountrycoffee.com",
      "emails": [
        "info@hillcountrycoffee.com"
      ],
      "facebooks": [
        "https://facebook.com/hillcountrycoffee"
      ],
      "instagrams": [
        "https://instagram.com/hillcountrycoffee"
      ],
      "tiktoks": [
        "https://tiktok.com/@hillcountrycoffee"
      ],
      "totalScore": 4.6,
      "reviewsCount": 540,
      "imagesCount": 310,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": "Small-batch roasters and an all-day cafe.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_hcc_congress",
      "placeId": "ChIJ_hcc_congress"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Greenleaf Plumbing Co.",
      "categoryName": "Plumber",
      "categories": [
        "Plumber",
        "Water heater installation service"
      ],
      "address": "77 Industrial Blvd, Round Rock, TX 78664",
      "city": "Round Rock",
      "phone": "(512) 555-0190",
      "website": null,
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 4.9,
      "reviewsCount": 64,
      "imagesCount": 6,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_greenleaf_1",
      "placeId": "ChIJ_greenleaf_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Austin Bike Works",
      "categoryName": "Bicycle shop",
      "categories": [
        "Bicycle shop",
        "Bicycle repair shop"
      ],
      "address": "301 E 6th St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0155",
      "website": "http://austinbikeworks.wixsite.com/home",
      "emails": [],
      "facebooks": [
        "https://facebook.com/austinbikeworks"
      ],
      "instagrams": [],
      "totalScore": 4.7,
      "reviewsCount": 158,
      "imagesCount": 40,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Repairs, tune-ups and custom builds.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_bike_1",
      "placeId": "ChIJ_bike_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Maria'\''s Taqueria",
      "categoryName": "Mexican restaurant",
      "categories": [
        "Mexican restaurant",
        "Taco restaurant"
      ],
      "address": "15 Cesar Chavez St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0143",
      "website": "http://mariastaqueriaatx.com",
      "emails": [
        "orders@mariastaqueriaatx.com"
      ],
      "facebooks": [
        "https://facebook.com/mariastaqueria"
      ],
      "instagrams": [
        "https://instagram.com/mariastaqueriaatx"
      ],
      "totalScore": 4.5,
      "reviewsCount": 1210,
      "imagesCount": 2300,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": "Family-run taqueria since 1998.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_maria_1",
      "placeId": "ChIJ_maria_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Oak Street Veterinary Clinic",
      "categoryName": "Veterinarian",
      "categories": [
        "Veterinarian",
        "Animal hospital"
      ],
      "address": "8 Oak St, Cedar Park, TX 78613",
      "city": "Cedar Park",
      "phone": "(512) 555-0111",
      "website": "https://oakstreetvet.com",
      "emails": [
        "frontdesk@oakstreetvet.com"
      ],
      "facebooks": [
        "https://facebook.com/oakstreetvet"
      ],
      "instagrams": [],
      "totalScore": 3.6,
      "reviewsCount": 300,
      "imagesCount": 55,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Full-service veterinary care.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_oak_1",
      "placeId": "ChIJ_oak_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Sunrise Roofing & Repair",
      "categoryName": "Roofing contractor",
      "categories": [
        "Roofing contractor"
      ],
      "address": "2210 Ranch Rd 620 S, Lakeway, TX 78734",
      "city": "Lakeway",
      "phone": "(512) 555-0188",
      "website": "http://www.sunriseroofingtx.com",
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 4.2,
      "reviewsCount": 37,
      "imagesCount": 12,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_sunrise_1",
      "placeId": "ChIJ_sunrise_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": true,
      "temporarilyClosed": false,
      "title": "The Daily Grind Cafe",
      "categoryName": "Cafe",
      "categories": [
        "Cafe"
      ],
      "address": "600 W 6th St, Austin, TX 78701",
      "city": "Austin",
      "phone": null,
      "website": null,
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 3.1,
      "reviewsCount": 9,
      "imagesCount": 2,
      "openingHours": null,
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_grind_1",
      "placeId": "ChIJ_grind_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Capital City Accounting",
      "categoryName": "Accountant",
      "categories": [
        "Accountant",
        "Tax preparation service"
      ],
      "address": "1100 Guadalupe St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0166",
      "website": "https://capitalcityacct.com",
      "emails": [
        "info@capitalcityacct.com"
      ],
      "facebooks": [],
      "instagrams": [],
      "linkedIns": [
        "https://linkedin.com/company/capital-city-accounting"
      ],
      "totalScore": 4.9,
      "reviewsCount": 88,
      "imagesCount": 9,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Tax and bookkeeping for small business.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_capital_1",
      "placeId": "ChIJ_capital_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Zen Garden Yoga",
      "categoryName": "Yoga studio",
      "categories": [
        "Yoga studio"
      ],
      "address": "3300 Bee Caves Rd, Austin, TX 78746",
      "city": "Austin",
      "phone": "(512) 555-0120",
      "website": "https://zengardenyoga.square.site",
      "emails": [],
      "facebooks": [
        "https://facebook.com/zengardenyoga"
      ],
      "instagrams": [
        "https://instagram.com/zengardenyoga"
      ],
      "totalScore": 4.3,
      "reviewsCount": 121,
      "imagesCount": 70,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Sunday",
          "hours": "8 AM to 6 PM"
        }
      ],
      "description": "Vinyasa, yin and prenatal classes.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_zen_1",
      "placeId": "ChIJ_zen_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Mike'\''s Auto Repair",
      "categoryName": "Auto repair shop",
      "categories": [
        "Auto repair shop"
      ],
      "address": "950 N Lamar Blvd, Austin, TX 78703",
      "city": "Austin",
      "phone": "(512) 555-0177",
      "website": null,
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 3.8,
      "reviewsCount": 412,
      "imagesCount": 18,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_mikes_1",
      "placeId": "ChIJ_mikes_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": true,
      "title": "Pearl Nail Studio",
      "categoryName": "Nail salon",
      "categories": [
        "Nail salon",
        "Beauty salon"
      ],
      "address": "2400 S Congress Ave, Austin, TX 78704",
      "city": "Austin",
      "phone": "(512) 555-0109",
      "website": "https://pearlnailstudio.com",
      "emails": [
        "book@pearlnailstudio.com"
      ],
      "facebooks": [
        "https://facebook.com/pearlnailstudio"
      ],
      "instagrams": [
        "https://instagram.com/pearlnailstudio"
      ],
      "totalScore": 4.1,
      "reviewsCount": 260,
      "imagesCount": 150,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Gel, acrylic and spa manicures.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_pearl_1",
      "placeId": "ChIJ_pearl_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": false,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Barton Springs Law Group",
      "categoryName": "Personal injury attorney",
      "categories": [
        "Personal injury attorney",
        "Law firm"
      ],
      "address": "700 Lavaca St, Austin, TX 78701",
      "city": "Austin",
      "phone": "(512) 555-0150",
      "website": "https://bartonspringslaw.com",
      "emails": [
        "contact@bartonspringslaw.com"
      ],
      "facebooks": [
        "https://facebook.com/bartonspringslaw"
      ],
      "instagrams": [],
      "linkedIns": [
        "https://linkedin.com/company/barton-springs-law"
      ],
      "totalScore": 4,
      "reviewsCount": 73,
      "imagesCount": 25,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": "Austin personal injury lawyers.",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_barton_1",
      "placeId": "ChIJ_barton_1"
    },
    {
      "state": "Texas",
      "countryCode": "US",
      "claimThisBusiness": true,
      "permanentlyClosed": false,
      "temporarilyClosed": false,
      "title": "Quick Lube Express",
      "categoryName": "Oil change service",
      "categories": [
        "Oil change service"
      ],
      "address": "5100 Burnet Rd, Austin, TX 78756",
      "city": "Austin",
      "phone": "(512) 555-0199",
      "website": "https://quicklubeexpress.business.site",
      "emails": [],
      "facebooks": [],
      "instagrams": [],
      "totalScore": 2.9,
      "reviewsCount": 187,
      "imagesCount": 7,
      "openingHours": [
        {
          "day": "Monday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Tuesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Wednesday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Thursday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Friday",
          "hours": "8 AM to 6 PM"
        },
        {
          "day": "Saturday",
          "hours": "Closed"
        },
        {
          "day": "Sunday",
          "hours": "Closed"
        }
      ],
      "description": null,
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ_lube_1",
      "placeId": "ChIJ_lube_1"
    }
  ],
  "sourceUrl": "",
  "csvText": "",
  "goal": "bestOverall",
  "weightOverrides": {},
  "targetCategories": [],
  "excludeCategories": [],
  "minReviews": 0,
  "excludeClosed": true,
  "tierACutoff": 75,
  "tierBCutoff": 55,
  "tierCCutoff": 35,
  "topN": 0,
  "csvTopCount": 100,
  "includeSkipped": true,
  "fieldMap": {},
  "maxRecords": 200000
}' |
apify call that_red_bird/maps-lead-scorer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,that_red_bird/maps-lead-scorer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/powx7ZmpWcZp0otzo/builds/qIOLg6K3u4NvGAgR9/openapi.json
