# Snapshot Compare

**Use case:** 

Snapshot Compare preset for Google Maps Lead Enrichment & ICP Intelligence.

## Input

```json
{
  "currentItems": [
    {
      "placeId": "qm-a",
      "name": "Northstar Dental",
      "address": "Austin TX",
      "rating": 4.6,
      "reviews": 184,
      "website": "https://northstar.example",
      "phone": "+1 555 0101",
      "email": "hello@northstar.example",
      "category": "dentist",
      "rank": 2
    },
    {
      "placeId": "qm-b",
      "name": "Lakeview Dental",
      "address": "Austin TX",
      "rating": 3.8,
      "reviews": 57,
      "website": "",
      "phone": "+1 555 0102",
      "category": "dentist",
      "rank": 5
    }
  ],
  "previousItems": [
    {
      "placeId": "qm-a",
      "name": "Northstar Dental",
      "address": "Austin TX",
      "rating": 4.4,
      "reviews": 150,
      "website": "https://northstar.example",
      "phone": "+1 555 0101",
      "category": "dentist",
      "rank": 4
    }
  ],
  "queries": [],
  "urls": [],
  "directFetch": true,
  "language": "en",
  "countryCode": "us",
  "maxResults": 20,
  "maxItems": 20000,
  "mcpToolName": "",
  "mcpToolArguments": {},
  "mcpFailOnError": false,
  "mcpActionPreset": "AUTO_SAFE_WRITE"
}
```

## Output

```json
{
  "entityId": {
    "label": "Entity Id",
    "format": "string"
  },
  "signalScore": {
    "label": "Signal Score",
    "format": "number"
  },
  "changeScore": {
    "label": "Change Score",
    "format": "number"
  },
  "agentAction": {
    "label": "Agent Action",
    "format": "string"
  },
  "agentReason": {
    "label": "Agent Reason",
    "format": "string"
  },
  "observedAt": {
    "label": "Observed At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Maps Lead Enrichment & ICP Intelligence](https://apify.com/quanmatrix/google-maps-lead-enrichment-icp-intelligence.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/quanmatrix/google-maps-lead-enrichment-icp-intelligence.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/quanmatrix/google-maps-lead-enrichment-icp-intelligence.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`).
