Avvo.com is an online marketplace for legal services, that provides lawyer referrals and access to a database of legal information consisting primarily of previously answered questions. Lawyer profiles may include client reviews, disciplinary actions, peer endorsements, and lawyer-submitted legal guides.

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.avvo.com/attorneys/89503-nv-richard-davies-4287883.html?ad_impression_guid=26415f6d-8c11-4cd1-a0e1-40705cf6f4b2"}'

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.avvo.com/attorneys/89503-nv-richard-davies-4287883.html?ad_impression_guid=26415f6d-8c11-4cd1-a0e1-40705cf6f4b2",
"reviewLimit": 50
}

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

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

Parameter content type: application/json

Response

{
    "propertyName": "Richard P. Davies",
    "location": null,
    "ratingValue": "4.5",
    "ratingCount": "11",
    "reviews": [
        {
            "reviewId": "2129596",
            "customer": {
                "username": "Ryan",
                "location": null,
                "level": null
            },
            "title": "Common sense defense",
            "rating": "5.0",
            "text": "I was wrongfully accused of (...)",
            "reviewedOn": "2021-07-06",
            "photos": null,
            "repliedTo": null,
            "externalSource": null,
            "replies": null,
            "followUpReviews": null,
            "comments": null,
            "selfReview": null,
            "commentsCount": null,
            "reviewerPhoto": 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.avvo.com/attorneys/89502-nv-clifton-young-4279679.html?ad_impression_guid=57ac2d35-fa73-4569-b5d6-f88dbfd0bb26"
}

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

Parameter content type: application/json

Response

{
    "valid": true,
    "propertyUrl": "https://translate.google.com/translate?hl=en&sl=zh-CN&u=https://www.avvo.com/attorneys/89502-nv-clifton-young-4279679.html?ad_impression_guid=57ac2d35-fa73-4569-b5d6-f88dbfd0bb26",
    "businessName": "Clifton James Young",
    "streetAddress": "650 S Rock Blvd Ste 21 A",
    "city": "Reno",
    "region": "NV",
    "postalCode": "89502-4115",
    "country": "",
    "telephone": "(775) 414-4231",
    "websiteURL": "http://cliffyounglaw.com",
    "categories": "",
    "ratingValue": "7.9",
    "reviewCount": "5",
    "claimStatus": "claimed"
}