Vitals empowers patients to choose the best healthcare providers they can. Their platform directs people to find doctors and medical service providers that are most suited for their needs. It is powered by predictive analytics, engagement and incentive designs. More than 280 million people each year rely on Vitals to find best and most affordable healthcare. In doing so, they are able to achieve measurable savings on their health plans.

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.vitals.com/pharmacy/prime-aid-pharmacy-of-newark-corp-25-branford-st-newark-nj”}’

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.vitals.com/pharmacy/prime-aid-pharmacy-of-newark-corp-25-branford-st-newark-nj”,
“datefrom”: “2018-03-10” *
}

* “datefrom” is optional

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

Parameter content type: application/json

Response

{
        “propertyName”: “Prime Aid Pharmacy Of Newark Corp”,
        “location”: “Westminister”,
        “reviews”: [
              {
                       “reviewId”: “13233335”,
                       “customer”: {
                               “username”: “Kevin”,
                               “location”: “San Francisco”,
                               “level”: null
                        },
                        “title”: ”  “,
                        “rating”: “5”,
                        “text”: “They are great “,
                        “reviewedOn”: “2018-03-10”,
                        “photos”: null,
                        “repliedTo”: false,
                        “externalSource”: 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.vitals.com/pharmacy/prime-aid-pharmacy-of-newark-corp-25-branford-st-newark-nj”
}

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

Parameter content type: application/json

Response

{
“valid”:true,
“title”:”Prime Aid Pharmacy Of Newark Corp”,
“address”:”Flower Alley 10″,
“phoneNumber”:”555-5555″,
}