# Scan cafes near a location

**Use case:** 

Scan cafes within a 5 km radius of central Berlin using coordinates instead of a text location.

## Input

```json
{
  "queries": [
    "cafe"
  ],
  "locations": [
    "Berlin, Germany"
  ],
  "geo": {
    "lat": 52.52,
    "lng": 13.405,
    "radiusKm": 5
  },
  "maxResultsTotal": 10,
  "language": "en",
  "includeClosed": false,
  "mode": "fast",
  "enrichWebsite": false,
  "emailScanDepth": 1,
  "maxWebsitesToEnrich": 25,
  "maxRunTimeSec": 120,
  "searchAreaCoverage": "singleView",
  "emailMxCheck": false,
  "emailDomainPolicy": "ownDomainOnly",
  "dedupeBy": "placeId",
  "newOnlyOutput": true,
  "googleSheetsSheetName": "Leads",
  "googleSheetsOperation": "APPEND",
  "googleSheetsUpsertKey": "placeId",
  "batchSize": 50,
  "resourceProfile": "auto",
  "debug": false,
  "proxyMode": "unblocker"
}
```

## Output

```json
{
  "name": {
    "label": "Name"
  },
  "isNew": {
    "label": "Is new"
  },
  "value": {
    "label": "Value"
  },
  "leadScore": {
    "label": "Lead score"
  },
  "emailQuality": {
    "label": "Email quality"
  },
  "placeJudge": {
    "label": "Place judge"
  },
  "website": {
    "label": "Website",
    "format": "link"
  },
  "phone": {
    "label": "Phone"
  },
  "phones": {
    "label": "Phones"
  },
  "emails": {
    "label": "Emails"
  },
  "address": {
    "label": "Address"
  },
  "googleUrl": {
    "label": "Maps Link",
    "format": "link"
  },
  "category": {
    "label": "Category"
  }
}
```

## How it works

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

The Local Business Lead Finder Actor is ready to run with the inputs already set for "Scan cafes near a location". [Sign up or log in](https://console.apify.com/create-task-from-example/VEnMFwSIpWSfJErFs) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scan cafes near a location" task

The Local Business Lead Finder Actor will start running based on the input automatically. You can also change all the input fields, like 🔎 search queries, 📍 locations (text), and more, to match your specific use case.

### 3. Receive the "Scan cafes near a location" 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 name, is new, value, 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 "Scan cafes near a location" task via API](https://apify.com/solutionssmart/local-business-lead-finder.md).

## FAQ

### What output fields does the Scan cafes near a location task return?

The Scan cafes near a location task returns fields such as name, address, phone, website, category, emails, and a Google Maps URL.

### What is the purpose of the 'lead score' field in the output?

The 'lead score' field indicates the potential value of a cafe lead, helping users prioritize outreach efforts based on likelihood of engagement.

### How many results can the Scan cafes near a location task return?

The Scan cafes near a location task can return up to 10 business results within the specified 5 km radius.

### How does the task determine if a cafe is new?

The task uses the 'isNew' field to identify cafes that have not been previously recorded, helping users target fresh leads.

### How does the Scan cafes near a location task handle duplicate entries?

The task removes duplicates by place ID across scheduled runs, ensuring that only new cafes are added to the results.

### Can I schedule the Scan cafes near a location task to run automatically?

Yes, the task can be scheduled to run automatically using the Apify Console for recurring lead generation.

### What type of businesses can be scanned with this task?

The Scan cafes near a location task specifically searches for cafes using a keyword query.

## About this Actor

This example demonstrates how to use [Local Business Lead Finder](https://apify.com/solutionssmart/local-business-lead-finder.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/solutionssmart/local-business-lead-finder.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/solutionssmart/local-business-lead-finder.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`).
