Yelp.com, is a crowd-sourced local business review and social networking site. Its user community is primarily active in major metropolitan areas. The site has pages devoted to individual locations, such as restaurants or schools, where Yelp users can submit a review of their products or services using a one to five star rating system. Businesses can also update contact information, hours and other basic listing information or add special deals. In addition to writing reviews, users can react to reviews, plan events or discuss their personal lives

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.yelp.com/biz/iku-sushi-san-francisco"}'

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.yelp.com/biz/iku-sushi-san-francisco",
"dateFrom":"2018-05-13", *
"reviewLimit":"1" **
}

*  "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": "iKU Sushi",
    "location": "120 Montgomery St San Francisco, CA 94104",
    "value": "4",
    "ratingCount": "99",
    "reviews": [
        {
            "reviewId": "yZM8bO0dbhffVp6RCTFN5w",
            "customer": {
                "username": "Adam B.",
                "location": "",
                "level": ""
            },
            "title": null,
            "rating": "3",
            "text": "Thought this would be a quick-and-go sushi joint, but the
 only thing you can grab is a soda. Had to order the sushi and wait a few minutes. 
On one hand it's fresher. But on the other hand, it's not high end sushi anyway so 
there's not much marginal benefit to waiting for it to be freshly made (versus
 grabbing it quickly to go). Chicken Karaage: This was the free side that came with 
a sushi set. Was lukewarm, bordering on cold. And the batter wasn't crispy. Mega
 Set: The raw tuna and avocado roll with a creamy sauce was tasty and the main 
highlight. The tuna nigiri was a mixed experience with one piece being tender while 
the other piece felt overly firm. The salmon nigiri was just ok... and the color seemed a
 little off. The California roll was kinda bland.",
            "reviewedOn": "2021-11-18",
            "photos": [],
            "repliedTo": false,
            "externalSource": null,
            "replies": [],
            "followUpReviews": null,
            "comments": null,
            "selfReview": null,
            "commentsCount": null,
            "reviewerPhoto": {
                "photoUrl": null
            }
        }
    ]
}

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.yelp.com/biz/the-eleanor-dc-washington?osq=Bar"
}

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

Parameter content type: application/json

Response

{
    "valid": true,
    "title": "The Eleanor DC",
    "address": "100 Florida Ave NE Washington, DC 20002",
    "phoneNumber": "(202) 758-2235",
    "websiteURL": "http://eleanordc.com&cachebuster=1638971957",
    "categories": "",
    "description": null,
    "reviewCount": null,
    "rating": 4.0,
    "openingHours": null,
    "specialities": null
}