Apartments.com is one of the most popular online apartment listing websites, offering renters access to information of more than 500,000 available units for rent. In addition to serving renters nationwide, Apartments.com is an advertising partner for professional property owners and management companies, private landlords and classified listings. The company is a subsidiary of Washington, DC-based CoStar Group, Inc. along with ApartmentFinder.com, and ApartmentHomeLiving.com. CoStar operates websites with over 19 million unique monthly visitors with more than 9 million registered members.
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.apartments.com/the-abbey-sun-prairie-wi/4zyd90l/#reviewsWrapper" }'
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.apartments.com/the-abbey-sun-prairie-wi/4zyd90l/#reviewsWrapper",
"dateFrom":"2018-03-10", *
“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
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.apartments.com/alexan-garza-ranch-austin-tx/bcc8veb/#reviewsWrapper"
}
Base URL : https://justlikeapi.io/reviews/verify
Parameter content type: application/json
Response
