Rental Neighboring Properties
The listing's neighboring properties: up to 10 rentals like it nearby, the closest match first (rank), each with its uniqueListingId, status, distance in miles, address, type, beds, baths, size, price (and sold price and date when sold), price per square foot, year built, days on market and first photo (null without the category's photos option). It comes with the listing: the plan needs the category's property_list and comparables options (else 403 not_entitled, details.missing: mls:rental:comparables). An empty data means the source has none for this property yet. Costs 1 credit; one that finds nothing (an empty page, a 404) or is refused costs nothing.
ApiKeyx-api-key<token>A customer API key (dr_live_...), sent only in the x-api-key header.
unique_listing_id*Unique Listing IdThe listing's uniqueListingId from a search: its ID and its state's code, S00000001_VA
4 <= length <= 80Successful Response
application/json- response
uniqueListingId*UniquelistingidThe listing's ID with its state's code, S00000001_VA (a listing ID is only unique within its state): what /{uniqueListingId} and its history endpoints take
listingId*Listingidstate*string|nulldata*array<>The closest match first, at most 10
creditsUsed*Creditsusedcurl -X GET 'https://api.datarivo.io/api/v1/data/listings/rental/S00000001_VA/comparables'{ "uniqueListingId": "string", "listingId": "string", "state": "string", "data": [ { "rank": 0, "uniqueListingId": "string", "status": "string", "distanceMiles": 0, "fullAddress": "string", "unit": "string", "city": "string", "zipCode": "string", "latitude": 0, "longitude": 0, "propertyType": "string", "beds": 0, "baths": 0, "sqft": 0, "price": 0, "soldPrice": 0, "soldDate": "2019-08-24", "pricePerSqft": 0, "yearBuilt": 0, "listedSince": "2019-08-24", "daysOnMarket": 0, "photoUrl": "string", "match": "string" } ], "creditsUsed": 0}
