Introducing Reviews API: Collect Customer Feedback Across Google SERPs

Introducing Reviews API: Collect Customer Feedback Across Google SERPs

Introducing Reviews API: Collect Customer Feedback Across Google SERPs
Google is not only the largest search directory but also the world’s biggest repository of customer opinion, which keeps growing every day. According to the study by BrightLocal, the search engine is acquiring reviews at the incredible rate – in 2016 alone the number of reviews at Google has jumped by 278%, becoming not only the biggest but also the fastest-growing review platform on the web.

That opens incredible opportunities for software vendors that work in such fields as sentiment analysis, local SEO and reputation management.

Last week we rolled out the Reviews API endpoint, a new feature of our popular SERP API. As the name suggests, it can help you collect customer feedback at Google. However, you may find yourself wondering how to utilize it in the most effective way, or if it’s any different from other widely available solutions. In this blog post, we will provide answers to these and other questions, while also walking you through all the opportunities that Reviews API can create for your business.

Reviews on Google: What you need to know about them

Google Reviews are customer testimonials that appear at your Google My Business profile. Thus, you have to claim and verify your Google My Business profile in order to receive them.

When users search for a local establishment that has a verified Google My Business profile, they are often shown an Knowledge Graph feature on the right side of a search results page. Apart from the local establishment’s name, Knowledge Graphs can also provide pictures, work hours, phone numbers, a map, directions, reviews, and so on.

Although all the information included in the Knowledge Graph is equally important to customers (and, therefore, for businesses too), reviews are particularly crucial. With 85% of people trusting online reviews as much as personal recommendations, it’s hard to overestimate their practical value.

So, like it or not, getting positive reviews is a cornerstone of any local business. Now, it’s all the more essential that you start automating the process of collecting and analyzing customer feedback across Google, which is exactly the issue that Reviews API from DataForSEO is designed to help you with.

How to use Reviews API to scrape reviews from Google

Since Reviews API is the stand-alone endpoint withing SERP API, its configuration is nearly identical to other SERP API endpoints. However, there are a few peculiarities that should be clarified. In the following paragraphs, we will dive into the process of extracting customer feedback from Google SERPs with our Reviews API.

Let’s take the example of the “Hedonism Vines” query. As you might have noticed, it features a block of reviews for Hedonism Wines. However, Google displays only three of them, so you need to click on the “View all Google reviews” inscription to get to the rest.

All feedbacks in that dialogue come in blocks of ten, meaning that after each ten reviews Google loads another ten and so on – until all reviews are displayed.











1Making an API request

First things first, you’ll need to configure the request to Reviews API. You can use the following URL to do that:
https://api.dataforseo.com/v2/srp_google_reviews_tasks_post
Just like any other DataForSEO API, Reviews API allows getting data for any location and language. However, for now, the applicable search engines are limited to Google only. You’ll have to use a brand name of an establishment you want to extract the reviews for as an input for the keyword field.

Since Google provides ten reviews in each scrolling load element of the reviews window, Reviews API counts every ten reviews as a “search level.” For example, Hedonism Vines returns 389 reviews in total. Therefore, in this case there are 38 search levels.

The billing amount depends on the number of search levels you specify. However, if you set a search level that doesn’t reflect the actual number of reviews (e.g., there’re fewer reviews on Google than you specified in the API request), all extra credits will be refunded to you immediately.

We recommend checking our extensive documentation beforehand.

Request Sample


Response Sample

{
    "status": "ok",
    "results_time": "0.6490 sec.",
    "results_count": 2,
    "results": {
        "11913049": {
            "post_id": 11913049,
            "post_key": "hedonism wines",
            "task_id": 404227822,
            "loc_id": 1006886,
            "key_id": 30778900,
            "status": "ok"
        },
        "20469414": {
            "post_id": 20469414,
            "post_key": "hedonism wines",
            "task_id": 404227823,
            "loc_id": 1006886,
            "key_id": 30778900,
            "status": "ok"
        }
    }
}

2Getting API results

The API response provides the list of reviews structured in JSON for the specified search depth. In our case, there are 378 reviews. You can also set a pingback URL to obtain a list of completed GET requests, or a postback URL to get a list of completed POST requests.

Use the following URL to obtain Reviews API results:
https://api.dataforseo.com/v2/srp_google_reviews_tasks_get/$task_id

Request Sample


Response Sample

{
    "status": "ok",
    "results_time": "0.1376 sec.",
    "results_count": 100,
    "results": [
          {
              "task_id": 2467424648,
              "loc_id": 1006886,
              "key_id": 30778900,
              "post_id": 11577837,
              "post_key": "hedonism wines",
              "result_se_check_url": "https://google.com/search?q=hedonism%20wines&hl=en&gl=US&gws_rd=cr&uule=w+CAIQIFISCXXeIa8LoNhHEZkq1d1aOpZS",
              "result_datetime": "2018-11-01 16:11:04 +00:00",
              "result_title": "Hedonism Wines",
              "result_sub_title": "3-7 Davies St, London, UK",
              "result_stat": {
                  "rating": 4.8,
                  "rating_max": 5
              },
              "result_reviews_count": 377,
              "result_place_id": "ChIJDxnC6SwFdkgRTYAlUwkFFU4",
              "result": [
                  {
                      "position": 1,
                      "review_text": "I would say this is a unique place in London for what it is. It's not only the shop you can buy pretty much any type of alcohol and get brilliant service from knowledgeable staff but also some sort of a creative place with always unique front displays and a very interesting owner, who you can meet there sometimes.Great Russian businessman who saw the potential, the need on the market and made this all a reality!I would advise anyone to come in and have a look for themselves, it's a true gem in the heart of London!",
                      "time_ago": "a month ago",
                      "stat": {
                          "rating": 5,
                          "rating_max": 5
                      },
                      "reviews_count": 19,
                      "photos_count": 11,
                      "local_guide": true,
                      "profile_name": "Cho Lujas",
                      "profile_url": null,
                      "profile_image_url": "https://lh5.googleusercontent.com/-ScIRqgD8ARM/AAAAAAAAAAI/AAAAAAAABD4/2WECAm1k4_o/s40-ba2-c0x00000000-cc-rp-mo/photo.jpg",
                      "owner_answer": null,
                      "owner_time_ago": null
                  },
                  {
                      "position": 2,
                      "review_text": "The best...what more can be said..wines from everywhere..israel...sardinia..oz..etc",
                      "time_ago": "4 days ago",
                      "stat": [],
                      "reviews_count": 1,
                      "photos_count": null,
                      "local_guide": false,
                      "profile_name": "A Google User",
                      "profile_url": null,
                      "profile_image_url": "https://lh3.googleusercontent.com/-veRGrSi7dcE/AAAAAAAAAAI/AAAAAAAAAAA/iRdrhnwCCLI/s40-c0x00000000-cc-rp-mo/photo.jpg",
                      "owner_answer": null,
                      "owner_time_ago": null
                  },
                  {
                      "position": 3,
                      "review_text": "Aparr from a great selection of wines, they have a self service wine counter in the basement. You can top up your card and enjoy on of the most interesting wines. Well done!",
                      "time_ago": "3 months ago",
                      "stat": {
                          "rating": 4,
                          "rating_max": 5
                      },
                      "reviews_count": 17,
                      "photos_count": 4,
                      "local_guide": true,
                      "profile_name": "Maria Kovalevskaya",
                      "profile_url": null,
                      "profile_image_url": "https://lh5.googleusercontent.com/-EnTNVhiiOmk/AAAAAAAAAAI/AAAAAAAABBE/0WHlT4cJtZ4/s40-ba2-c0x00000000-cc-rp-mo/photo.jpg",
                      "owner_answer": null,
                      "owner_time_ago": null
                  }
              ]
          }
    ]
}

Reviews API: Use Cases

From conducting thought out sentiment analysis to building a Local SEO tool – Reviews API can be utilized for a variety of different purposes. In this part, we’ll take a look at some of the most obvious use cases, while also providing you with a few useful resources.

Sentiment Analysis

When it comes to customer feedback, having a set of reviews extracted from Google isn’t enough – you also need to understand what is being talked positively and negatively. At the same time, analyzing hundreds and thousands of customer reviews manually would be way too time-consuming. This is the reason why many organizations turn to sentiment automation (sometimes also called opinion mining). With our Reviews API, an appropriate natural language processing engine, and some coding you can build your own tool to analyze customer feedback.

Helpful Resources:

Local SEO

Customer reviews have always been a cornerstone of local search engine optimization. According to the study by Local SEO Guide, Google reviews are among the most important ranking factors for local pack. What’s more, reviews are often cited as a “link alternative” for local establishments.

Given the significant importance of reviews, it’s not surprising that plenty of SEO software solutions have already incorporated features that are necessary for displaying and analyzing customer feedback.

On the other hand, though, getting Google reviews in large volumes poses particular challenges. First of all, although Google allows collecting customer feedback through its Google My Business API, it requires connecting the GMB (Goole My Business) profile, so there’s no way you can use it for competitor analysis. Alternatively, it’s possible to get reviews through the Google Places API, but it gives a maximum of five reviews only. You can also try scraping and parsing Google SERPs on your own capacities, but this task can turn out to be pretty challenging and time-consuming.

So, if you want to collect Google Reviews for any business the optimal solution would be turning to the Reviews API from DataForSEO – it has everything you’ll need to incorporate the reviews monitoring feature into your local SEO software.

Helpful Resources:

Reputation Management

Reputation Management refers to the process of building a positive image of brands online. This often requires collecting and analyzing vast amounts of customer feedback. While its possible to do that manually, diving into search results, social media posts and forums, automating the process can save you a lot of time and money.

With Reviews API reputation management agencies can build custom in-house solutions for collecting and analyzing Google reviews, which, in turn, can help to optimize their budgets.

Helpful Resources:

How to use Reviews API to scrape reviews from Google

When it comes to collecting customer reviews, it’s essential to automate the process. DataForSEO Reviews API will empower your business with accurate and up-to-date customer feedback collected from Google – the world’s most extensive and rapidly-growing review platform.

What’s more, our friendly 24/7 customer support team is ready to assist you with API integration.
TRY IT FOR FREE

No Comments

Post a Comment