---
updatedAt: 2026-06-05T13:06:41.000Z
agentTools:
  projectIndex: https://developer.realestateapi.com/llms.txt
---

# Sales Data Analysis & Trend Data

Different options for accessing our nationwide sales data from the County Recorder

<br />

# Last/Latest Sale Searches (saleHistory\[0] / lastSale)

## "last\_sale\_date\_min/max" & "last\_sale\_price\_min/max"

* will grab properties with a last sale that was non-arms length OR arms length, whichever is most recent
* the list of results may contain a mixture of non-arms length sales and arms length sales

```json
{
  "size": 100,
  "city": "Richmond",
  "state": "VA",
  "last_sale_date_min": "2025-01-01",
  "last_sale_date_max": "2026-01-01"
}
```

<br />

## "latest\_arms\_length\_sale\_date\_min/max" & "latest\_arms\_length\_sale\_amount\_min/max"

```json
{
  "size": 10,
  "city": "Richmond",
  "state": "VA",
  "latest_arms_length_sale_date_min": "2025-01-01",
  "latest_arms_length_sale_date_max": "2026-01-01",
  
  "latest_arms_length_sale_amount_min": 100000,
  "latest_arms_length_sale_amount_max": 500000
}
```

<br />

<br />

## "latest\_non\_arms\_length\_sale\_date\_min/max"

* there is no associated filter for the sale price for this since by their very nature, **all non-arms length transactions will have a saleAmount of 0**

```json
{
  "size": 10,
  "city": "Richmond",
  "state": "VA",
  "latest_non_arms_length_sale_date_min": "2025-01-01",
  "latest_non_arms_length_sale_date_max": "2026-01-01"
}
```

<br />

<br />

# Prior Sale Searches (saleHistory\[1])

* access the second sale entry from the saleHistory array

<br />

## "prior\_arms\_length\_sale\_date\_min/max" & "prior\_arms\_length\_sale\_amount\_min/max"

* useful for looking at flips

```json
{
  "size": 10,
  "city": "Richmond",
  "state": "VA",
  "prior_arms_length_sale_date_min": "2025-01-01",
  "prior_arms_length_sale_date_max": "2026-01-01",
  
  "prior_arms_length_sale_amount_min": 100000,
  "prior_arms_length_sale_amount_max": 500000
}
```

<br />

## "prior\_non\_arms\_length\_sale\_date\_min/max"

* there is no associated filter for the sale price for this since by their very nature, **all non-arms length transactions will have a saleAmount of 0**

```json
{
  "size": 10,
  "city": "Richmond",
  "state": "VA",
  "prior_non_arms_length_sale_date_min": "2025-01-01",
  "prior_non_arms_length_sale_date_max": "2026-01-01"
}
```

<br />

## Find Flipped Properties

* the below range filters are used to specify a range of what you define as a "flip" property
* common month values include 12 (for 12 months/1 year), 18 months, or 24 months
* "prior\_owner\_individual" \[bool] flag can be passed without the min/max filters here, but the min/max filters require the flag to be passed

```json
{
	"prior_owner_individual": true,
  "prior_owner_months_owned_min": 12,
  "prior_owner_months_owned_max": 18 
}
```