{"openapi":"3.0.0","info":{"title":"Zillow Trulia and HotPads Real Estate","version":"1.0.0","description":"US property listings from Zillow, Trulia and HotPads for sale, rent and sold homes with pricing and Zestimate metrics, one row per entity."},"servers":[{"url":"https://ah-zillow-com.opendata.best/s/zillow-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Zillow, Trulia and HotPads listings","description":"Search US residential listings by city, ZIP, detail URLs and price/bed/bath filters across Zillow Group brands.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"location":{"type":"string","description":"Location. US area to search, such as Austin, TX; Zillow also accepts recognized ZIP, county, and neighborhood locations. Use city and state for Trulia and HotPads.","example":"Austin, TX"},"locations":{"type":"array","items":{"type":"string"},"description":"Extra locations. Additional US areas to search in the same run; location is included too when filled. maxResults applies separately to each area.","example":[]},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Property page URLs. Property or building page URLs from zillow.com, trulia.com, or hotpads.com, with mixed brands allowed. When set, location search is skipped and brand is detected from each URL; maxResults applies separately to each URL.","example":[]},"maxPages":{"type":"integer","minimum":1,"maximum":50,"description":"Legacy page preference. Legacy page preference, not a page limit for current collection. Use maxResults to limit delivered rows.","default":1,"example":1},"brand":{"type":"string","enum":["zillow","trulia","hotpads","all"],"description":"Brand. Brand for location searches; all includes the supported paths for each brand and does not guarantee equal coverage. Ignored when detailUrls is filled.","default":"zillow","example":"zillow"},"channel":{"type":"string","enum":["","sale","rent","sold","new_homes","building","zestimate","mortgage"],"description":"Channel. Overrides listingType when filled: Zillow supports sale, rent, and sold; Trulia supports sale and rent; HotPads returns rentals only. The specialty options marked not available must not be selected.","default":"","example":""},"listingType":{"type":"string","enum":["sale","rent","sold","both","all","new_homes","building","zestimate","mortgage"],"description":"Listing type. Used when channel is empty: both requests sale and rent, while all also requests sold listings. Coverage depends on brand; the specialty options marked not available must not be selected.","default":"sale","example":"sale"},"geoType":{"type":"string","enum":["auto","city","zip","county","neighborhood","state"],"description":"Location hint (not applied). This hint is not applied to current searches. Leave auto selected.","default":"auto","example":"auto"},"propertyTypes":{"type":"array","items":{"type":"string"},"description":"Property types. Zillow search only: house, condo, townhouse, apartment, land, or multi_family. Not applied to Trulia, HotPads, or direct property URLs.","default":[],"example":[]},"saleStatuses":{"type":"array","items":{"type":"string"},"description":"Sale status filter (not available). Not applied to current searches. Leave empty.","default":[],"example":[]},"minBeds":{"type":"integer","minimum":0,"maximum":10,"description":"Min bedrooms. Minimum bedroom count for Zillow searches only. Leave empty for no limit; not applied to Trulia, HotPads, or direct property URLs."},"maxBeds":{"type":"integer","minimum":0,"maximum":10,"description":"Max bedrooms. Maximum bedroom count for Zillow searches only. Leave empty for no limit; not applied to Trulia, HotPads, or direct property URLs."},"minBaths":{"type":"number","minimum":0,"maximum":20,"description":"Min bathrooms. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"maxBaths":{"type":"number","minimum":0,"maximum":20,"description":"Max bathrooms. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"minPrice":{"type":"integer","minimum":0,"description":"Min price (USD). Minimum price in USD for Zillow searches only. Leave empty for no limit; not applied to Trulia, HotPads, or direct property URLs."},"maxPrice":{"type":"integer","minimum":0,"description":"Max price (USD). Maximum price in USD for Zillow searches only. Leave empty for no limit; not applied to Trulia, HotPads, or direct property URLs."},"minSqft":{"type":"integer","minimum":0,"description":"Min sqft. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"maxSqft":{"type":"integer","minimum":0,"description":"Max sqft. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"minLotSqft":{"type":"integer","minimum":0,"description":"Min lot sqft. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"maxLotSqft":{"type":"integer","minimum":0,"description":"Max lot sqft. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"minYearBuilt":{"type":"integer","minimum":1800,"maximum":2100,"description":"Min year built. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"maxYearBuilt":{"type":"integer","minimum":1800,"maximum":2100,"description":"Max year built. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"maxHoa":{"type":"integer","minimum":0,"description":"Max HOA. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"maxDaysOnMarket":{"type":"integer","minimum":0,"description":"Max days on market. This filter is not applied to current searches. Leave empty and filter the exported rows when the corresponding value is available."},"loanAmount":{"type":"integer","minimum":0,"description":"Loan amount (mortgage). Mortgage lookups are not available. Leave empty."},"creditBand":{"type":"string","description":"Credit band (mortgage). Mortgage lookups are not available. Leave empty."},"ltv":{"type":"number","minimum":0,"maximum":100,"description":"LTV % (mortgage). Mortgage lookups are not available. Leave empty."},"loanType":{"type":"string","description":"Loan type (mortgage). Mortgage lookups are not available. Leave empty."},"enrichDetails":{"type":"boolean","description":"Add property details. Add available property and contact details to search rows. Enabled by default; it can take longer but does not create a separate billed row.","default":true,"example":true},"expandUnits":{"type":"boolean","description":"Expand building units (not available). Individual building-unit expansion is not available. Leave false; apartment buildings are returned as listing rows.","default":false,"example":false},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"location":"Austin, TX","listingType":"sale","enrichDetails":false,"expandUnits":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"rowType":{"type":"string","enum":["listing"]},"id":{"type":"string"},"recordType":{"nullable":true,"type":"string","enum":["listing"]},"name":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"country":{"type":"string"},"authority":{"type":"string"},"brand":{"nullable":true,"type":"string"},"listingId":{"nullable":true,"type":"string"},"listingType":{"nullable":true,"type":"string"},"listingUrl":{"nullable":true,"type":"string"},"city":{"nullable":true,"type":"string"},"state":{"nullable":true,"type":"string"},"zipCode":{"nullable":true,"type":"string"},"price":{"nullable":true,"type":"integer"},"priceDisplay":{"nullable":true,"type":"string"},"beds":{"nullable":true,"type":"integer"},"baths":{"nullable":true,"type":"number"},"sqft":{"nullable":true,"type":"integer"},"propertyType":{"nullable":true,"type":"string"},"latitude":{"nullable":true,"type":"number"},"longitude":{"nullable":true,"type":"number"},"imageUrl":{"nullable":true,"type":"string"},"phones":{"nullable":true,"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"type":"string"},"e164":{"nullable":true,"type":"string"}}}},"emails":{"nullable":true,"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"type":"string"}}}},"address":{"nullable":true,"type":"object","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}}},"geo":{"nullable":true,"type":"object","properties":{"lat":{"nullable":true,"type":"number"},"lng":{"nullable":true,"type":"number"}}},"person":{"nullable":true,"type":"object","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}}},"org":{"nullable":true,"type":"object","properties":{"name":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"}}},"web":{"nullable":true,"type":"object","properties":{"website":{"nullable":true,"type":"string"},"socials":{"nullable":true,"type":"array","items":{"type":"string"}}}},"leadSource":{"nullable":true,"type":"string"},"leadReveal":{"nullable":true,"type":"string"},"leadAbsences":{"nullable":true,"type":"object","additionalProperties":{"type":"string"}},"daysOnMarket":{"nullable":true,"type":"integer"},"yearBuilt":{"nullable":true,"type":"integer"},"suburb":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"scrapedAt":{"nullable":true,"type":"string"}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: id; rowType=listing: id, listingId, listingType, price, city, state, listingUrl."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}