DataRivo APIDataRivo APIDataRivo API
Rentals

Rental Property History

GET
/data/listings/rental/{unique_listing_id}/property-history

The listed property's history, newest first. Each entry is one of:

  • an event of the property's public record: listed, price changed, removed, relisted, sold (uniqueListingId null);
  • a change the pipeline saw to one of the property's sale or rental listings that the record doesn't have: listed, a price change, sold, removed or relisted (uniqueListingId names the listing, changedFields what changed; other changes, such as a status flag, aren't listed);
  • for a rental building, its units changing the same way on one day, as one entry: unitChanges counts them (22 units), gives their rents (rent: {min, max}) and each unit's change (unitName, floorPlanName, rent, previousRent).

type says what happened (listed, price_changed, removed, relisted, sold) and event how the source names it; a price change gives the price before it (previousPrice) and the difference (priceChange). A building's own figures changing on its units' rows (its rent range, its count of units) are not its units' changes and aren't listed. Without a record of the property, the history is its listings' changes. It comes with the listing: the plan needs the category's property_list and property_history options (else 403 not_entitled, details.missing: mls:rental:property_history). 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.

Authorization

ApiKey
headerx-api-key<token>

A customer API key (dr_live_...), sent only in the x-api-key header.

Path Parameters

unique_listing_id*Unique Listing Id

The listing's uniqueListingId from a search: its ID and its state's code, S00000001_VA

Length4 <= length <= 80

Response Body

Successful Response

application/json
  1. response
uniqueListingId*Uniquelistingid

The 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*Listingid
state*string|null
data*array<>

Newest first

creditsUsed*Creditsused
Example Request
curl -X GET 'https://api.datarivo.io/api/v1/data/listings/rental/S00000001_VA/property-history'
Example Response
{  "uniqueListingId": "R00000001_VA",  "listingId": "R00000001",  "state": "VA",  "data": [    {      "date": "2026-10-24",      "type": "price_changed",      "event": "Price Changed for rent",      "listingStatus": "for_rent",      "changedFields": [],      "unitChanges": {        "count": 2,        "rent": {          "min": 1760,          "max": 2100        },        "units": [          {            "uniqueListingId": "R00000001_VA",            "unitName": "101",            "floorPlanName": "A1",            "rent": 1760,            "previousRent": 1800,            "changedFields": [              "unit_price"            ]          },          {            "uniqueListingId": "R00000002_VA",            "unitName": "301",            "floorPlanName": "B2",            "rent": 2100,            "previousRent": 2050,            "changedFields": [              "unit_price"            ]          }        ]      }    },    {      "date": "2026-10-20",      "type": "listed",      "event": "Listed for rent",      "listingStatus": "for_rent",      "changedFields": [],      "unitChanges": {        "count": 1,        "rent": {          "min": 1800,          "max": 1800        },        "units": [          {            "uniqueListingId": "R00000003_VA",            "unitName": "105",            "floorPlanName": "A1",            "rent": 1800,            "changedFields": []          }        ]      }    }  ],  "creditsUsed": 1}

Rental Details GET

The listing, by its `uniqueListingId` (`S00000001_VA`: its ID and state, as a search returns it), with `active`, in groups: `location`; `listing` (its `marketStatus`: `active`, `pending`, `sold`, `removed`...; its price, remarks, open house); `property` (a home's beds, baths and size; a rental building's ranges over its units: `rent: {min, max}`, its units on the market, pets, features); for a rental, the `unit` it rents (rent, beds, baths, size, deposit, available date, lease terms) and the building's `floorPlans`, each with its beds, baths, size and rents, its units on the market counted and listed, the cheapest first (each unit a listing of its own, `uniqueListingId`); its `agent`; and every photo (`photos`, in order). It must be in one of the plan's states. What the plan includes: where a listing is (`location`), its IDs, type and listing service always; its terms and property (`listing`, `property`, and a rental's `unit` and `floorPlans`) with the category's `property_list` option; its `agent` with `agent_details`; its photos with `photos`. A group the plan leaves out is null (photos and floor plans: empty) and named in `locked` (`mls:listing:photos`). Costs 1 credit; one that finds nothing (an empty page, a `404`) or is refused costs nothing.

Rental Sale History GET

The listed property's sales, newest first, with the sale price and its source (the listing service, or the public record). It comes with the listing: the plan needs the category's `property_list` and `sales_history` options (else `403 not_entitled`, `details.missing`: `mls:rental:sales_history`). 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.