Google Reviews are an integrated feature within Google My Business and GoogleMaps. They allow customers to publicly post a review on Google about their experience with a business and its service and products. So the better the reviewthat you receive, the better your product or site traffic will.

Submitting the API request

This is sample CURL request you can use to test JustLikeAPI features.

Please make sure to replace:
- YOUR_API_KEY with the one you received from our support team
- PAGE_SPECIFIC_URL - with the endpoint of the method you're trying to invoke
- JSON payload - with the contents of your request (the sample payload for each request is given below)

curl -X POST https://api.justlikeapi.io/reviews/get -H 'authorization: Bearer YOUR_API_KEY' -H 'cache-control: no-cache' -H 'content-type: application/json' -d '{ "propertyUrl": "https://www.google.com/search?q=centerton-orthodontics"}'

Read operations

Get method will pull in reviews for platform of your choice. Reviews will be ordered by date and can include information from the code example bellow:

Request

{
"propertyUrl":"https://www.google.com/search?q=centerton-orthodontics",
"reviewLimit":"1″ ,**
"dateFrom":"2018-03-10" *
}

*  "dateFrom" is optional

** “reviewLimit” is also optional (retrieves a specified number of reviews)

Base URL : https://justlikeapi.io/reviews/get

Parameter content type: application/json

Response

{
    "propertyName": "Centerton Orthodontics",
    "location": "681 Centerton Rd, Pittsgrove, NJ 08318",
    "ratingValue": "5.0",
    "ratingCount": "62",
    "reviews": [
        {
            "reviewId": "109112438172949792020",
            "customer": {
                "username": "Alfred Cobb",
                "location": null,
                "level": null,
                "userReviewCount": "5",
                "userPhotoCount": null
            },
            "title": null,
            "rating": "5.0",
            "text": "Everyone is very nice in the office and
 they don’t make you wait around in the office for your appointment.",
            "reviewedOn": "2021-04-30",
            "photos": [],
            "repliedTo": null,
            "externalSource": null,
            "replies": null,
            "followUpReviews": null,
            "comments": null,
            "selfReview": null,
            "commentsCount": null,
            "reviewerPhoto": {
                "photoUrl": "https://lh3.googleusercontent.com/a/AATXAJzMPmjq8FoU7urz80P9nLyyBnByw7nrRozHNweV=s40-c-c0x00000000-cc-rp-mo-br100"
            }
        }

Verify method will return propertyURL. This would be general information of that property. Bellow is a code example of request and response for Verify method:

Request

{
"propertyUrl":"https://www.google.com/search?rlz=1C1GCEU_enRS819RS819&ei=WcGXNy4LornrgSoz7jgCw&hotel_occupancy
=&q=stroudsmoor"
}

Base URL : https://justlikeapi.io/reviews/verify

Parameter content type: application/json

Response

{
"valid":true,
"title":"Stroudmoor Country Inn",
"address":"Stroudmoor Rd, USA",
"phoneNumber":"555-5555",
"websiteURL":"StroudmoorInn.com",
"categories":"Hotel, Tourism, Restauran"
}