# Clean Sample Business Listings and Find Missing Websites

**Use case:** 

Analyze four clearly fictional business records to preview duplicate removal, missing-website checks and CSV-ready quality results. Uses your own existing data, not a live Google Maps scraper.

## Input

```json
{
  "records": [
    {
      "placeId": "demo-001",
      "title": "Example Riverside Cafe",
      "categoryName": "Cafe",
      "address": "101 Sample Avenue",
      "city": "Demo City",
      "countryCode": "US",
      "website": "https://riverside.example",
      "location": {
        "lat": 40.7128,
        "lng": -74.006
      },
      "totalScore": 4.4,
      "reviewsCount": 88
    },
    {
      "placeId": "demo-001",
      "title": "Example Riverside Cafe (duplicate)",
      "categoryName": "Cafe",
      "address": "101 Sample Avenue",
      "city": "Demo City",
      "countryCode": "US",
      "location": {
        "lat": 40.7128,
        "lng": -74.006
      },
      "totalScore": 4.4,
      "reviewsCount": 88
    },
    {
      "placeId": "demo-002",
      "title": "Example Northside Bakery",
      "categoryName": "Bakery",
      "address": "20 Sample Street",
      "city": "Demo City",
      "countryCode": "US",
      "website": "",
      "location": {
        "lat": 40.713,
        "lng": -74.0065
      },
      "totalScore": 4.1,
      "reviewsCount": 31
    },
    {
      "placeId": "demo-003",
      "title": "Example Garden Florist",
      "categoryName": "Florist",
      "address": "8 Example Road",
      "city": "Demo City",
      "countryCode": "US",
      "website": "https://garden.example",
      "location": {
        "lat": 40.714,
        "lng": -74.0045
      },
      "totalScore": 4.7,
      "reviewsCount": 52
    }
  ],
  "onlyMissingWebsite": false,
  "includeBusinessRows": true
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "placeId": {
    "label": "Place id"
  },
  "name": {
    "label": "Name"
  },
  "category": {
    "label": "Category"
  },
  "segment": {
    "label": "Location"
  },
  "websiteStatus": {
    "label": "Website"
  },
  "missingWebsite": {
    "label": "Missing website"
  },
  "rating": {
    "label": "Rating"
  },
  "reviewsCount": {
    "label": "Reviews count"
  },
  "completenessScore": {
    "label": "Score"
  },
  "missingFields": {
    "label": "Missing fields"
  },
  "duplicateCount": {
    "label": "Duplicate count"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Maps Data Cleaning & Duplicate Audit Actor is ready to run with the inputs already set for "Clean Sample Business Listings and Find Missing Websites". [Sign up or log in](https://console.apify.com/create-task-from-example/DgYjtBiY8fYNKfiuf) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Clean Sample Business Listings and Find Missing Websites" task

The Google Maps Data Cleaning & Duplicate Audit Actor will start running based on the input automatically. You can also change all the input fields, like business records (json array), only list businesses without a website, and more, to match your specific use case.

### 3. Receive the "Clean Sample Business Listings and Find Missing Websites" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, place id, name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Clean Sample Business Listings and Find Missing Websites" task via API](https://apify.com/practical_ai_lab_jp/pal-maps-business-dataset-quality.md).

## About this Actor

This example demonstrates how to use [Google Maps Data Cleaning & Duplicate Audit](https://apify.com/practical_ai_lab_jp/pal-maps-business-dataset-quality.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/practical_ai_lab_jp/pal-maps-business-dataset-quality.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/practical_ai_lab_jp/pal-maps-business-dataset-quality.md

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`).
