# Café Leads from San Francisco

**Use case:** 

This task extracts detailed business leads for cafes in San Francisco. You'll receive key information, including names, addresses, phone numbers, ratings, and reviews for up to 50 cafes. Perfect for understanding the local coffee scene and finding potential contacts without manual effort.

## Input

```json
{
  "searchTerms": [
    "Cafes in San Francisco"
  ],
  "startUrls": [],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "includeWebsite": true,
  "includePhone": true,
  "includeEmail": false,
  "maxEmailPagesFromWebsite": 10,
  "onlyBusinessesWithEmail": false,
  "includeOpeningHours": true,
  "includeSocialLinks": false,
  "skipClosedPlaces": false,
  "categoryFilterWords": [],
  "gridSize": 1,
  "language": "en",
  "countryCode": "us"
}
```

## Output

```json
{
  "businessName": {
    "label": "Business Name",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "email": {
    "label": "Email",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "rating": {
    "label": "Rating ⭐",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "integer"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "googleMapsUrl": {
    "label": "Google Maps",
    "format": "string"
  },
  "searchTerm": {
    "label": "Search Term",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "string"
  }
}
```

## How it works

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

The Google Maps Leads Scraper Actor is ready to run with the inputs already set for "Café Leads from San Francisco". [Sign up or log in](https://console.apify.com/create-task-from-example/q2QMIIEReFPPdBzZ9) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Café Leads from San Francisco" task

The Google Maps Leads Scraper Actor will start running based on the input automatically. You can also change all the input fields, like search terms, start urls, and more, to match your specific use case.

### 3. Receive the "Café Leads from San Francisco" 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 business name, category, phone, 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 "Café Leads from San Francisco" task via API](https://apify.com/upadhyay.labs/google-maps-leads-scraper.md).

## FAQ

### What types of information does this task provide about cafes?

The Café Leads from San Francisco task provides business name, address, phone number, ratings, and reviews for up to 50 cafes.

### How does this task help with understanding the local coffee scene?

The task enables users to gather key details about cafes in San Francisco, facilitating research into local coffee businesses without manual effort.

### Is an API key needed to run this Café Leads task?

No API key is required to run the Café Leads from San Francisco task; it extracts data directly from Google Maps.

### Can this task be scheduled to run automatically?

Yes, the Café Leads from San Francisco task can be scheduled to run automatically using the Apify Console.

### What is the maximum number of cafes this task can extract data for?

The task is configured to extract data for up to 50 cafes in San Francisco.

### What does the 'rating' field represent in the output?

The 'rating' field represents the Google Maps star rating for each cafe, ranging from 0.0 to 5.0.

### Does this task include email addresses for the cafes?

No, the task is currently configured to exclude email addresses in the output.

## About this Actor

This example demonstrates how to use [Google Maps Leads Scraper](https://apify.com/upadhyay.labs/google-maps-leads-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/upadhyay.labs/google-maps-leads-scraper.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/upadhyay.labs/google-maps-leads-scraper.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`).
