RealSelf is a healthcare marketplace where consumers research aesthetic treatments and connect with physicians. The website primarily targets plastic surgery, dermatology and minimally-invasive treatments. There are 20,000 registered doctors and practices. The site has more than 2 million reviews and had 94 million visitors in 2017. RealSelf’s website has been compared in the media to Yelp, Avvo and Trip Advisor due to its emphasis on user-generated content and connecting consumers to businesses through its marketplace.

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.realself.com/dr/john-betty-mcdonald-tx#reviews”}’

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.realself.com/dr/john-betty-mcdonald-tx#reviews”,
“datefrom”:”2018-03-10″ *
}
{
“propertyUrl”:”https://www.realself.com/dr/john-betty-mcdonald-tx#reviews”,
“reviewLimit”: “10”
}

*  “datefrom” is optional

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

Parameter content type: application/json

Response

{
        “propertyName”: “Dr John Betty McDonald”,
        “location”: “TX, Dallas”,
        “reviews”: [
              {
                       “reviewId”: “13233335”,
                       “customer”: {
                               “username”: “”,
                               “location”: null,
                               “level”: null
                        },
                        “title”: ”  “,
                        “rating”: “5”,
                        “text”: “Every one of his staff was pleasant and super helpful with any questions I had. I would definitely recommend anyone needing this surgery “,
                        “reviewedOn”: “2019-07-12”,
                        “photos”: null,
                        “repliedTo”: true,
                        “externalSource”: null,
                        “replies”: [
                                {
                                      “repliedBy”: “DrJohn”,
                                      “text”: “Thanks for sharing your experience with us”
                                 }
                              ]
     }
                ]
}

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.realself.com/dr/john-betty-mcdonald-tx#reviews”
}

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

Parameter content type: application/json

Response

{
“valid”:true,
“title”:” Dr John Betty McDonald”,
“address”:”TX, Dallas”,
“phoneNumber”:”555-5555″,
“websiteURL”:”drjohnbettymcdonaldplastic.com”,
“categories”:”Plastic Surgeon”
}