Skip to content

Google Maps Reviews API

prod-global
GET
/api/v1/google/maps/reviews
API health status
Healthy Available Limited Mostly unavailable No data
Loading health status...

Get Google maps Reviews data, including ratings and reviewer metadata, for reputation analysis and review monitoring.

Tags: Google Maps

Parameters

NameRequiredTypeDefaultDescription
data_idYesstringThe unique Google Maps location ID (feature ID). You can get this from our Google Maps Search API.
languageNostringenSet the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See Google Language.
sort_byNostringRELEVANCESorting order for reviews.

Available Values:
- RELEVANCE: Relevance. Legacy value qualityScore is also accepted.
- NEWEST: Newest first. Legacy value newestFirst is also accepted.
- HIGHEST_RATING: Highest rating first. Legacy value ratingHigh is also accepted.
- LOWEST_RATING: Lowest rating first. Legacy value ratingLow is also accepted.
topic_idNostringFilter reviews by a specific topic ID. Topic IDs are obtained from previous Maps Reviews API responses.
next_page_tokenNostringToken for retrieving the next page of reviews.
resultsNointeger10The maximum number of reviews to return per page (range: 1-20).

Copy Request

bash
curl -X GET "https://api.justserpapi.com/api/v1/google/maps/reviews?data_id=YOUR_VALUE" \
  -H "X-API-Key: YOUR_API_KEY"
js
const res = await fetch("https://api.justserpapi.com/api/v1/google/maps/reviews?data_id=YOUR_VALUE", {
  headers: { "X-API-Key": "YOUR_API_KEY" }
});
const data = await res.json();
console.log(data);
python
import requests

url = "https://api.justserpapi.com/api/v1/google/maps/reviews"
headers = { "X-API-Key": "YOUR_API_KEY" }
params = {
  "data_id": "YOUR_VALUE"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
php
<?php
$url = "https://api.justserpapi.com/api/v1/google/maps/reviews?data_id=YOUR_VALUE";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "X-API-Key: YOUR_API_KEY"
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
go
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	client := &http.Client{}
	req, _ := http.NewRequest("GET", "https://api.justserpapi.com/api/v1/google/maps/reviews?data_id=YOUR_VALUE", nil)
	req.Header.Set("X-API-Key", "YOUR_API_KEY")
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}

Response

Loading the latest response example...