DataRivo APIDataRivo APIDataRivo API

Quickstart

Create an API key, search listings by address and open one.

Create an account and choose a plan

Sign up in the customer portal and confirm your email. Then open Billing and build your plan: the states you want, and Listing Data (for sale and sold), Rental Data, or both. See Plans and credits.

Every data request returns 403 subscription_required until your workspace has a plan.

Create an API key

In the portal, open API Keys and select Create key. Copy the key, which starts with dr_live_, and store it in a secret manager or an environment variable.

export DATARIVO_API_KEY="dr_live_..."

Search listings by address

Send the key in the x-api-key header. A search takes a state and an address (both optional; without a state, every state of your plan), uses 1 credit when it finds something, and returns up to 50 matching listings as summaries.

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

The listings are in data, and meta has the cost and the cursors for the next and previous pages:

{
  "data": [
    {
      "uniqueListingId": "S00057110_VA",
      "state": "Virginia",
      "city": "Winchester",
      "county": "Winchester",
      "zipCode": "22601",
      "fullAddress": "1308 Commerce St, Winchester, VA 22601",
      "addressLine": "1308 Commerce St",
      "latitude": 39.172253,
      "longitude": -78.165437,
      "propertyType": "single_family",
      "propertyName": null,
      "price": 299900,
      "sqft": 2228,
      "loadedAt": "2026-10-20T01:02:24.807762Z"
    }
  ],
  "meta": {
    "count": 1,
    "creditsUsed": 1,
    "nextCursor": null,
    "prevCursor": null,
    "latestLoadedAt": "2026-10-20T01:02:24.807762Z"
  }
}

Rentals work the same way at /data/listings/rental, where price is the lowest monthly rent, sqft the smallest unit, and propertyName the community's name.

Open a listing

GET /data/listings/sale/{uniqueListingId} returns the whole listing, with all of its photos in photos. It uses 1 credit.

Pass the uniqueListingId the search result gave you: the listing's ID and its state's code, such as S00057110_VA. A listing ID alone is only unique within its state.

curl "https://api.datarivo.io/api/v1/data/listings/sale/S00057110_VA" \
  -H "x-api-key: $DATARIVO_API_KEY"

See Listings for every field, and Searching and paging for paging and narrowing a search by load time.

Next steps

On this page