Errors
The error format, status codes and how to handle them.
Every error response has the same shape:
{
"error": {
"code": "not_entitled",
"message": "Your plan doesn't include Rental Data. Add it to your plan.",
"details": { "missing": "mls:rental" },
"requestId": "9f2c1e7a4b3d4e8f9a0b1c2d3e4f5a6b"
}
}| Field | Type | Description |
|---|---|---|
error.code | string | A stable, machine-readable code. Branch on this, not on the message. |
error.message | string | A human-readable explanation. |
error.details | any | Extra context when there is some, such as what your plan is missing or the invalid fields of a validation error. Often null. |
error.requestId | string | The ID of this request, also returned in the X-Request-ID header of every response. Include it when you contact support. |
A request that returns an error uses no credits.
Error codes
| Status | Code | What to do |
|---|---|---|
| 400 | bad_request | Fix the request; for details.field: "cursor", start again without the cursor |
| 400 | search_too_broad | The search matches too many listings to answer quickly; add more of the address or a county or zipCode filter |
| 401 | unauthorized | Send a valid, active API key; see Authentication |
| 402 | out_of_credits | No credits left this cycle; details has creditsRequired, creditsRemaining and resetDate. Buy a top-up or wait for the reset; see Running out |
| 403 | subscription_required | No active plan: choose one in the portal. With details.reason: "payment_overdue", your plan is paused until the overdue invoice is paid; see Overdue payments |
| 403 | not_entitled | Your plan doesn't include this dataset, state, county or listing service; details.missing says what to add |
| 403 | product_blocked | This endpoint is switched off, for everyone or for your workspace; details.product names it. Contact support |
| 403 | forbidden | The key's team member has a role without access to property data |
| 403 | workspace_deactivated | Your workspace is deactivated; contact support |
| 404 | not_found | No record has this ID |
| 422 | validation_error | Fix the parameters listed in details, such as an unknown state |
| 429 | too_many_requests | Too many requests at once or too fast; wait the number of seconds in the Retry-After header, then retry. See Rate limits |
| 429 | product_limit_reached | Your workspace reached its monthly request limit for this endpoint; details has product, monthlyLimit, used and resetDate (when the limit resets) |
| 500 | internal_error | Retry later; contact support with the requestId if it persists |
Rate limits
Data requests are limited so one client can't slow the API for everyone:
| Limit | Default | Applies to |
|---|---|---|
| Requests per second | 20 per second, with short bursts of up to 40 | Each API key |
| Requests running at once | 10 | Your whole workspace, all keys together |
A request over a limit is refused with 429 too_many_requests before anything is read, and uses no credits. The response has a Retry-After header with the number of seconds to wait, and details says which limit you hit:
| Field | Description |
|---|---|
scope | rate (too many requests per second for this key) or concurrency (too many of your workspace's requests running at once). |
limit | The limit: requests per second for rate, requests at once for concurrency. |
retryAfterSeconds | Seconds to wait before retrying; the same as the Retry-After header. |
{
"error": {
"code": "too_many_requests",
"message": "Too many requests. Slow down and retry after the Retry-After delay.",
"details": { "scope": "rate", "limit": 20, "retryAfterSeconds": 1 },
"requestId": "5e1b7c9d2a4f4b6e8c0d1e2f3a4b5c6d"
}
}To stay under the limits:
- Wait at least
Retry-Afterseconds before retrying a429, and add some random jitter so parallel workers don't retry together. If the retry is refused again, double the wait each time. - Run at most a few requests in parallel across all your keys, and page through a feed one page at a time with
cursor. - Spread large syncs over time instead of sending them in a burst. Using more keys doesn't raise the workspace's limit on requests at once.
What your plan is missing
not_entitled errors name what to add to your plan in details.missing:
missing | Add to your plan |
|---|---|
state:VA | That state |
county:VA:Fairfax County | That county: you filtered by a county your plan doesn't include. If its state isn't in your plan either, the message says so |
mls:listing, mls:rental | Listing Data or Rental Data |
mls:listing:property_list, mls:rental:tax_history, ... | That option or detail of the category; see Options |
mls:Bright MLS | That listing service |
A county filter outside your plan is refused rather than returning an empty list, so you can tell "not in my plan" from "no matching records". For example, with Virginia bought by county:
{
"error": {
"code": "not_entitled",
"message": "Your plan doesn't include Fairfax County (VA). In Virginia it includes: Arlington County, Loudoun County.",
"details": { "missing": "county:VA:Fairfax County" },
"requestId": "8f14e45fceea167a5a36dedd4bea2543"
}
}A county name with no data anywhere isn't an error: the list is empty. A refused request uses no credits.
Validation errors
Invalid parameters return 422 with one entry per problem in details:
{
"error": {
"code": "validation_error",
"message": "Invalid request",
"details": [
{
"field": "query.state",
"message": "Value error, Unknown US state: 'Floridaa'. Use its code or name, such as FL or Florida",
"type": "value_error"
}
],
"requestId": "c41d2e0b8a7f4f61b2e9d3a5c6f70812"
}
}Retries
Retry 500 responses with exponential backoff. Retry 429 too_many_requests after the Retry-After delay (see Rate limits). Don't retry other 4xx errors without changing the request; a 402 or a 429 product_limit_reached succeeds again once credits are added or the cycle resets, and a 403 with payment_overdue once the invoice is paid.
Send your own X-Request-ID header to correlate DataRivo requests with your logs. It's echoed back in the response and used as requestId in errors.
Searching and paging
Find listings by address in a state, page through them, and narrow them by load time.
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.

