Listing Sale History
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:listing: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.
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 property's sales (the Sold events of its history), newest first
creditsUsed*Creditsusedcurl -X GET 'https://api.datarivo.io/api/v1/data/listings/sale/S00000001_VA/sales-history'{ "uniqueListingId": "string", "listingId": "string", "state": "string", "data": [ { "date": "2019-08-24", "event": "string", "price": 0, "pricePerSqft": 0, "sourceName": "string", "sourceListingId": "string", "listingStatus": "string", "changedFields": [ "string" ], "uniqueListingId": "string", "unitName": "string", "floorPlanName": "string" } ], "creditsUsed": 0}Listing Property History GET
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:listing: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.
Listing Tax History GET
The listed property's tax years, the latest first: the tax billed, and the assessed and market values of its land and building, with its tax rate and parcel ID. It comes with the listing: the plan needs the category's `property_list` and `tax_history` options (else `403 not_entitled`, `details.missing`: `mls:listing:tax_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.

