# Compare two fictional restaurant lists

**Use case:** 

See a changed address and a listing seen in just one list. Open Changes between your two lists. One completed review costs $0.10 at the base rate.

## Input

```json
{
  "inputSource": "example",
  "mode": "analyze_supplied",
  "market": {
    "label": "Exampleville (fictional)",
    "countryCode": "US"
  },
  "rightsBasis": "otherwise_authorized",
  "freshnessHorizonDays": 30,
  "records": [
    {
      "name": "Amber Kitchen",
      "address": "10 Example Road Unit B",
      "sourceLabel": "fictional-directory",
      "observedAt": "2026-10-01T12:00:00Z",
      "sourceRecordId": "00017",
      "declaredBrand": "Amber Bowl",
      "phone": ""
    },
    {
      "name": "Birch Table",
      "address": "20 Example Road",
      "sourceLabel": "fictional-directory",
      "observedAt": "2026-10-01T12:00:00Z",
      "sourceRecordId": "00018",
      "category": "restaurant"
    },
    {
      "name": "Dawn Noodles",
      "address": "40 Example Road",
      "sourceLabel": "fictional-directory",
      "observedAt": "2026-10-01T12:00:00Z",
      "sourceRecordId": "00020"
    },
    {
      "name": "Dawn Market",
      "address": "41 Example Road",
      "sourceLabel": "fictional-directory",
      "observedAt": "2026-10-01T12:00:00Z",
      "sourceRecordId": "00020"
    },
    {
      "name": "Elm Pantry",
      "address": "50 Example Road",
      "sourceLabel": "fictional-directory",
      "observedAt": "2026-10-01T12:00:00Z",
      "sourceRecordId": "00021"
    },
    {
      "name": "Unlabelled listing",
      "address": "90 Example Road",
      "sourceLabel": "fictional-directory",
      "observedAt": "2026-10-01T12:00:00Z"
    }
  ],
  "captureChanges": {
    "earlier": {
      "market": {
        "label": "Exampleville (fictional)",
        "countryCode": "US"
      },
      "context": {
        "geographicScope": "Exampleville fictional municipal boundary",
        "filterScope": "All supplied restaurant listings from the declared directory; no cuisine filter",
        "sourceNamespaces": {
          "fictional-directory": "fictional-directory-stable-v1"
        },
        "coverage": "partial",
        "capturedAt": "2026-10-02T12:00:00Z"
      },
      "records": [
        {
          "name": "Amber Kitchen",
          "address": "10 Example Road Unit A",
          "sourceLabel": "fictional-directory",
          "observedAt": "2026-10-01T12:00:00Z",
          "sourceRecordId": "00017",
          "declaredBrand": "Amber",
          "phone": null
        },
        {
          "name": "Birch Table",
          "address": "20 Example Road",
          "sourceLabel": "fictional-directory",
          "observedAt": "2026-10-01T12:00:00Z",
          "sourceRecordId": "00018",
          "category": "restaurant"
        },
        {
          "name": "Birch Table",
          "address": "20 Example Road",
          "sourceLabel": "fictional-directory",
          "observedAt": "2026-10-01T12:00:00Z",
          "sourceRecordId": "00018",
          "category": "restaurant"
        },
        {
          "name": "Cedar Lunch",
          "address": "30 Example Road",
          "sourceLabel": "fictional-directory",
          "observedAt": "2026-10-01T12:00:00Z",
          "sourceRecordId": "00019"
        },
        {
          "name": "Dawn Noodles",
          "address": "40 Example Road",
          "sourceLabel": "fictional-directory",
          "observedAt": "2026-10-01T12:00:00Z",
          "sourceRecordId": "00020"
        },
        {
          "name": "Dawn Market",
          "address": "41 Example Road",
          "sourceLabel": "fictional-directory",
          "observedAt": "2026-10-01T12:00:00Z",
          "sourceRecordId": "00020"
        },
        {
          "name": "Unlabelled listing",
          "address": "90 Example Road",
          "sourceLabel": "fictional-directory",
          "observedAt": "2026-10-01T12:00:00Z"
        }
      ]
    },
    "later": {
      "geographicScope": "Exampleville fictional municipal boundary",
      "filterScope": "All supplied restaurant listings from the declared directory; no cuisine filter",
      "sourceNamespaces": {
        "fictional-directory": "fictional-directory-stable-v1"
      },
      "coverage": "partial",
      "capturedAt": "2026-10-08T12:00:00Z"
    }
  }
}
```

## Output

```json
{
  "priority": {
    "label": "Priority",
    "format": "string"
  },
  "whatToInspect": {
    "label": "What to inspect",
    "format": "string"
  },
  "why": {
    "label": "Why",
    "format": "string"
  },
  "freshness": {
    "label": "Freshness status",
    "format": "string"
  },
  "conflictState": {
    "label": "Conflict status",
    "format": "string"
  },
  "candidateLabel": {
    "label": "Investigation assessment",
    "format": "string"
  },
  "actionId": {
    "label": "Action ID",
    "format": "string"
  }
}
```

## How it works

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

The Ghost Kitchen & Virtual Brand Research Actor is ready to run with the inputs already set for "Compare two fictional restaurant lists". [Sign up or log in](https://console.apify.com/create-task-from-example/LaNGhr9j0NnO1ivB5) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare two fictional restaurant lists" task

The Ghost Kitchen & Virtual Brand Research Actor will start running based on the input automatically. You can also change all the input fields, like input source, analysis mode (fixed), and more, to match your specific use case.

### 3. Receive the "Compare two fictional restaurant lists" 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 priority, what to inspect, why, 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 "Compare two fictional restaurant lists" task via API](https://apify.com/critd/ghost-kitchen-detector.md).

## About this Actor

This example demonstrates how to use [Ghost Kitchen & Virtual Brand Research](https://apify.com/critd/ghost-kitchen-detector.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/critd/ghost-kitchen-detector.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/critd/ghost-kitchen-detector.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`).
