Skip to content

Errors

When a request fails, the body contains an error object and no data:

{
"error": {
"code": "invalid_zpid",
"message": "zpid must be numeric",
"request_id": "5b9d2a71..."
}
}
  • code is a fixed, machine-readable string. Write your error handling against it.
  • message is written for people and may be reworded over time, so don’t parse it. For lookups and searches it often says what to change, for example to add a ZIP code or widen the search box.
  • request_id identifies the call. Include it when you email support@zillodata.com.
  • Some errors add a details field with extra context.

HTTP status codes

Status Meaning
200 The request worked
201 A resource was created (for example, a webhook)
202 A background job was accepted. Poll it or wait for a webhook
204 Done, with no body (for example, revoking a webhook)
400 Something in the request is missing or invalid
401 No API key, or the key is not valid
402 Your credit balance is zero
403 The account is suspended or closed
404 The property, job, or route doesn’t exist
409 The job exists but isn’t finished
429 You hit your per-minute rate limit
500 Something failed on our side
502 The property or search could not be loaded
504 The lookup took too long

Error codes

Authentication and account

Code Status Cause
missing_api_key 401 No Authorization: Bearer header
invalid_api_key 401 Malformed, unknown, or revoked key
out_of_credits 402 Balance is zero. Add credits at /console/billing or wait for renewal
account_suspended 403 Account is suspended or closed
rate_limited 429 Per-minute limit reached

Request validation

Code Status Cause
invalid_json 400 The body isn’t valid JSON
missing_url 400 url query parameter not sent
invalid_url 400 The URL doesn’t match what the endpoint accepts (property, building, or https:// webhook URL)
missing_address 400 address query parameter not sent
invalid_address 400 The address is too short to be real
invalid_zpid 400 The zpid contains something other than digits
invalid_status 400 status isn’t one of the allowed values
invalid_extract_units 400 Bad extract_units value on /v1/properties/by-url
invalid_include_units 400 Bad include_units value on /v1/buildings/by-url
missing_input 400 A search needs filters or searchUrls, or GET /v1/listings was called without bbox
invalid_filters 400 filters failed validation, for example a missing bbox or west greater than east
invalid_search_url 400 A searchUrls entry isn’t a zillow.com URL with a searchQueryState parameter
invalid_bbox 400 bbox isn’t four comma-separated numbers
empty_input 400 A batch had no valid urls or addresses
too_many 400 A batch had more than 500 entries
invalid_job_id 400 Job ID isn’t a UUID
invalid_event 400 Unknown webhook event name
invalid_id 400 Webhook ID isn’t a UUID

Lookups and jobs

Code Status Cause
property_not_found 404 No property matched the address, URL, or zpid
job_not_found 404 No job with that ID on your account
not_found 404 The route doesn’t exist
job_not_ready 409 You asked for results before the job reached succeeded
property_lookup_failed 502 The property couldn’t be loaded. Check the input and retry
lookup_timeout 504 The lookup ran past its time limit
internal_error 500 Unexpected failure on our side

Searches and building lookups that fail while loading results return a 5xx status. The code varies, so treat any 5xx from these endpoints the same way: wait, then retry.

Retrying safely

  • GET requests can be retried after a 429, 502, 504, or 500. Wait a few seconds and back off further on each attempt.
  • Don’t retry a 4xx other than 429 without changing the request. It will fail the same way.
  • A POST that starts a background job creates a new job every time. If a call timed out on your side, list recent jobs with GET /v1/jobs before sending it again, so you don’t pay twice.
  • Webhook deliveries can arrive more than once. Use the job id in the payload to ignore repeats. See Webhooks.