All endpoints
Every DataRivo endpoint, with parameters, responses and a live playground.
Base URL: https://api.datarivo.io/api/v1. Send your API key in the x-api-key header; see Authentication.
Every endpoint page has a playground: paste your API key and send a real request. Requests made there use credits like any other.
There are two datasets, sale listings and rentals, each with its own endpoints. Each needs the dataset in your plan; otherwise it returns 403 not_entitled. Every request that returns data uses 1 credit. A request that finds nothing, or is refused or fails, uses none. Every /{uniqueListingId} endpoint takes the listing's uniqueListingId from a search: its ID and its state's code, such as S00057110_VA (a listing ID alone is only unique within its state). See Plans and credits; your plan and credit balance are in the customer portal.
Listings
For-sale and sold listings, in your plan's states only.
| Endpoint | Returns | Plan must include | |
|---|---|---|---|
GET | /data/listings/sale | Up to 50 listings per page in your plan's states, by state, address, county or zipCode (all optional), as summaries | Listing Data |
GET | /data/listings/sale/{uniqueListingId} | One listing in full, with every photo | Listing Data |
GET | /data/listings/sale/{uniqueListingId}/property-history | The property's history: its record's events and every change to its sale listings | Listing Data |
GET | /data/listings/sale/{uniqueListingId}/sales-history | The property's sales | Listing Data |
GET | /data/listings/sale/{uniqueListingId}/tax-history | The property's tax years, tax rate and parcel | Listing Data |
GET | /data/listings/sale/{uniqueListingId}/comparables | Neighboring properties: similar homes nearby, the closest match first | Listing Data |
Rentals
Rental homes and apartment communities, in your plan's states only.
| Endpoint | Returns | Plan must include | |
|---|---|---|---|
GET | /data/listings/rental | Up to 50 rentals per page in your plan's states, by state, address, county or zipCode (all optional), as summaries | Rental Data |
GET | /data/listings/rental/{uniqueListingId} | One rental in full, with every photo and its property's floor plans | Rental Data |
GET | /data/listings/rental/{uniqueListingId}/property-history | The property's history: its record's events and every change to its rentals | Rental Data |
GET | /data/listings/rental/{uniqueListingId}/sales-history | The property's sales | Rental Data |
GET | /data/listings/rental/{uniqueListingId}/tax-history | The property's tax years, tax rate and parcel | Rental Data |
GET | /data/listings/rental/{uniqueListingId}/comparables | Neighboring properties: similar rentals nearby, the closest match first | Rental Data |
Listings
Search for-sale, sold and rental listings by address, then open one by its uniqueListingId: its terms, the property, a rental's unit and floor plans, its agent and photos, and the property's history, sales and taxes.
Listings Address Search GET
Sale listings (Listing Data) in the plan's states (or one of them, `state`), found by any of `state`, `address`, `county` and `zipCode` (all optional: without any, every listing of the plan's states). Up to 50 listings per page (the default), each as a summary (where it is, what it is, its price and size, and its `uniqueListingId`); `/{uniqueListingId}` returns one in full with every photo. Sorted by when each listing was last updated, the most recently updated first (`loadedAtOrder=desc`, the default) or the oldest first (`loadedAtOrder=asc`). Pass a date and time as `loadedSinceDate` and `loadedSinceTime` (the newest `latestLoadedAt` of your last sync, split in two) to get only what was updated since; follow `nextCursor` and `prevCursor` to page forward and back. All times are UTC. Every market status is listed (active, pending, sold, removed...; `active: false` once taken off the market), or only `marketStatus`'s. A summary's price and size need the category's `property_list` option (else null). Costs 1 credit; one that finds nothing (an empty page, a `404`) or is refused costs nothing.

