> ## Content Index
> Fetch the complete content index at: https://serpapi.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Scrape Yelp Place Results
- URL: https://serpapi.com/blog/how-to-scrape-yelp-place-results/
- Published: 2025-01-15T08:26:49.000Z
- Updated: 2025-01-22T23:47:54.000Z
- Author: Andy L
- Tags: yelp, webscraping

In my [previous blog post](https://serpapi.com/blog/how-to-scrape-yelp-results/), we discussed how to easily scrape basic information like title, link, rating, reviews, etc. of local businesses from Yelp. Yelp also provides a lot more useful information when you visit the detail page. It will show information like images, phone, address, and popular drinks or foods. You can scrape review highlights, operating hours, and more!

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2025/01/Screenshot-2025-01-13-at-21.29.29.png)

  
Obviously with more information, you can do your competitive analysis on what menu items are popular, how customers review them, etc. Or you can build new lead generation by identifying businesses that are lacking websites, have poor reviews, or benefit from social media. Besides that, you can build aggregated directories, do market research and trend analysis, improve local SEO, real estate and urban planning or automated recommendation system.

Just like the previous blog post, we will use SerpApi Yelp Place API to quickly scrape Yelp Place results. Let's do it!

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2025/01/Screenshot-2025-01-13-at-21.31.39.png)

### **Setting Up a SerpApi Account**

[SerpApi](https://serpapi.com/) offers a free plan for newly created accounts. Head to the[ sign-up](https://serpapi.com/users/sign%5Fup?plan=free) page to register an account and complete your first search with our[ interactive playground](https://serpapi.com/playground?engine=yelp%5Fplace). When you want to do more searches with us, please visit the[ pricing page](https://serpapi.com/pricing).

Once you are familiar with all the results, you can utilize SERP APIs using your[ API Key](https://serpapi.com/manage-api-key).

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2025/01/Screenshot-2025-01-13-at-21.32.50.png)

### Scrape your first Yelp Place result with SerpApi

Head to the Yelp Place API from the [documentation](https://serpapi.com/yelp-place) on [SerpApi](https://serpapi.com/) for details.

Let's find information from one of the best coffee shops "% Arabica" . The data contains: "name", "review", "rating", "price", "website", "phone", "address", "business\_map" and more. You can also scrape more information with [SerpApi](https://serpapi.com/).

First, you need to install the [SerpApi client library](https://github.com/serpapi/google-search-results-python?ref=serpapi.com).

```python
pip install google-search-results
```

Set up the[ SerpApi](https://serpapi.com/?ref=serpapi.com)[ credentials](https://serpapi.com/manage-api-key?ref=serpapi.com) and search.

```python
from serpapi import GoogleSearch
import os, json, csv

params = {
    'api_key': 'YOUR_API_KEY',             # your serpapi api
    'engine': 'yelp_place',                # SerpApi search engine
    'place_id': 'arabica-brooklyn',

}

```

To retrieve Yelp Place Results for a query, you can use the following code:

```python
item = GoogleSearch(params).get_dict()['place_results']
```

You can store Yelp Place Results JSON data in databases or export them to a CSV file.

```python
import csv

header = ["name", "reviews", "rating", "price", "website", "phone", "address", "business_map"]

with open("yelp_place_results.csv", "w", encoding="UTF8", newline="") as f:
    writer = csv.writer(f)
    writer.writerow(header)
    writer.writerow([item.get('name'), item.get('reviews'), item.get('rating'), item.get('price'), item.get('website'), item.get('phone'), item.get('address'), item.get('business_map')])
  
```

![](https://storage.ghost.io/c/a5/00/a5004977-0dd2-4bcd-9292-dd0e05d4c59e/content/images/2025/01/Screenshot-2025-01-13-at-21.40.37.png)

This example uses Python, but you can also use all your favorite programming languages like Ruby, NodeJS, Java, PHP, and more.

If you have any questions, please feel free to [contact me](mailto:andy@serpapi.com).