DataRivo APIDataRivo APIDataRivo API

Searching and paging

Find listings by address in a state, page through them, and narrow them by load time.

The listing lists, /data/listings/sale and /data/listings/rental, are searches: each request can name a state and add an address, a county and a zipCode (all optional), and returns up to 50 matching listings per page as summaries. Open one with /data/listings/{sale|rental}/{uniqueListingId} (such as S00057110_VA) for the whole listing and its photos.

All times are UTC: the loadedSinceDate and loadedSinceTime you pass, and every loadedAt and meta.latestLoadedAt the API returns.

Every parameter is optional. Without state, a search covers every state of your plan; with it, that state only (one outside your plan returns 403 not_entitled). Without address (or with a blank one), a search returns every listing in the states and counties asked for.

ParameterDescription
stateOptional. One of your plan's states, by code or name in any case: VA, Virginia. Without it, every state of your plan.
addressOptional. Up to 200 characters: an address in full or in part, such as 1308 Commerce St, Winchester or commerce winchester.

Every word of address must start a word of the listing's full address (street, unit, city, state, ZIP), in any order and any case. Punctuation is ignored, and long street words match their short forms: Avenue finds Ave, North finds N. To open a listing by its ID, use /{uniqueListingId}.

curl "https://api.datarivo.io/api/v1/data/listings/sale?state=VA&address=1308%20Commerce%20St%20Winchester" \
  -H "x-api-key: $DATARIVO_API_KEY"

county and zipCode narrow the search further.

Order

Results are ordered by when each listing was last updated in DataRivo. loadedAtOrder sets the direction:

loadedAtOrderReturns
desc (default)The most recently updated first
ascThe least recently updated first

Paging

A page holds up to limit listings: 50 at most, and by default. Its meta has two cursors; pass either as cursor, with the same other parameters (state, address and loadedAtOrder included):

CursorGetsIs null
meta.nextCursorThe next page, in the order you asked forOn the last page
meta.prevCursorThe previous pageOn the first page
curl "https://api.datarivo.io/api/v1/data/listings/sale?state=VA&address=commerce%20winchester&cursor=WyJhZnRlciIsIjIwMjYt..." \
  -H "x-api-key: $DATARIVO_API_KEY"

Treat a cursor as opaque. A cursor that isn't one of ours returns 400 bad_request. Each page costs 1 credit; a page with no listings costs nothing.

Only what was updated since

loadedSinceDate and loadedSinceTime keep only the listings updated at or after a moment, in UTC:

ParameterFormatExample
loadedSinceDateYYYY-MM-DD: listings updated on or after this date2026-10-19
loadedSinceTimeHH:MM, HH:MM:SS or HH:MM:SS.ffffff: at or after this time on that date; needs loadedSinceDate; default 00:00:0014:30

The API combines the two into one UTC timestamp: loadedSinceDate=2026-10-19&loadedSinceTime=14:30 means 2026-10-19 14:30:00 UTC. loadedSinceTime without loadedSinceDate returns 400 bad_request.

curl "https://api.datarivo.io/api/v1/data/listings/rental?state=VA&address=alexandria&loadedSinceDate=2026-10-19&loadedSinceTime=14:30" \
  -H "x-api-key: $DATARIVO_API_KEY"

Use it to check addresses you follow for anything new: keep the newest meta.latestLoadedAt you've seen, and pass its date and time next time (2026-10-19T14:30:07.123456Z is loadedSinceDate=2026-10-19&loadedSinceTime=14:30:07.123456).

Removed listings

A search returns listings of every market status, those taken off the market too: their marketStatus says how (sold, removed, leased_or_off_market…) and their active is false. With loadedSinceDate, a listing taken off the market since then comes in your next sync, so a copy you keep can drop or mark it. To keep only some statuses, pass marketStatus, such as marketStatus=active,pending; see Market status.

Listing history

GET /data/listings/{sale|rental}/{uniqueListingId}/property-history returns the property's history, newest first: the events of its public record combined with every change DataRivo saw to its listings. Each entry has a type (listed, price_changed, changed, removed, relisted, sold), and a price change its previousPrice and priceChange. A rental building's units changing the same way on the same day are one entry, with each unit's change in unitChanges. See Reading a property history.

On this page