{"openapi":"3.0.0","info":{"title":"Zoopla UK Listings Sold Prices and Agents","version":"1.0.0","description":"Zoopla UK properties for sale, rent, sold house prices, commercial listings and estate agents, one row per entity."},"servers":[{"url":"https://ah-zoopla-co-uk.opendata.best/s/zoopla-co-uk"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Zoopla UK listings and sold prices","description":"Query Zoopla UK properties by area name, postcode or detail URLs across sale, rent and sold price channels.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"area":{"type":"string","description":"Area. UK place: a Zoopla place slug or free-text name, for example Islington, London; London; N1; or Didsbury, Manchester. Fill this or Detail URLs. Each area search is one input with its own Max results allowance. Overseas mode also accepts country slugs such as spain or france. Leave both empty to get a small example run (3 Sheffield sale listings).","example":"sheffield"},"postcode":{"type":"string","description":"Postcode. A full UK postcode such as \"SE24 9BD\". Required when Search type is Postcode addresses; returns one row per address with its UPRN."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Detail URLs. Zoopla listing links, for example https://www.zoopla.co.uk/for-sale/details/12345678/ (also to-rent, new-homes, commercial and overseas details links). Each URL is one input with its own Max results allowance. When filled, Area is not searched.","example":[]},"searchType":{"type":"string","enum":["sale","rent","new-homes","detail","house-prices","agents","commercial","commercial-rent","overseas","postcode","map"],"description":"Search type. Which Zoopla listings to collect: for sale, to rent, new homes, listing details, sold house prices, estate agents, commercial or overseas. Map pins are not available yet. Postcode mode looks up every address on a UK postcode.","default":"sale","example":"sale"},"enrichDetails":{"type":"boolean","description":"Enrich listing or agent details. Add available property-detail or agent-profile fields, including prices, addresses and agency phone numbers, to the same row. Off by default; when enabled, maxPages is limited to 3.","default":false,"example":false},"enrichAgents":{"type":"boolean","description":"Enrich agent contact fields. When detail enrichment is on, also fetch the listing's agency branch to add the agent phone, email and address to the row's lead fields.","default":true,"example":true},"priceMin":{"type":"integer","minimum":0,"description":"Min price (GBP). Optional minimum property listing price in GBP."},"priceMax":{"type":"integer","minimum":0,"description":"Max price (GBP). Optional maximum property listing price in GBP."},"bedsMin":{"type":"integer","minimum":0,"description":"Min bedrooms. Optional minimum bedroom count for property searches."},"bedsMax":{"type":"integer","minimum":0,"description":"Max bedrooms. Optional maximum bedroom count for property searches."},"radius":{"type":"integer","minimum":0,"maximum":40,"description":"Radius (miles). Optional search radius in miles, from 0 to 40."},"sort":{"type":"string","enum":["","recommended","newest_listings","highest_price","lowest_price","most_reduced"],"description":"Sort. Order property search results by recommendation, newest listings, highest price, lowest price or most reduced. Leave empty to use the site default.","default":"","example":""},"maxPages":{"type":"integer","minimum":1,"maximum":8,"description":"Max pages. Page limit for listing, sold-price and agent searches, from 1 to 8. Enabling enrichDetails reduces this limit to at most 3; the row limit still applies.","default":1,"example":1},"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":{"area":"sheffield","searchType":"sale","enrichDetails":false,"enrichAgents":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":{"name":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"country":{"nullable":true,"type":"string"},"authority":{"type":"string"},"listingId":{"nullable":true,"type":"string"},"uprn":{"nullable":true,"type":"string"},"agentId":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"title":{"nullable":true,"type":"string"},"price":{"nullable":true,"description":"Price text as shown by Zoopla (e.g. \"£3,292 pcm\", \"Non quoting\")."},"priceUnformatted":{"nullable":true,"description":"Numeric price as collected. On the SSR channel it is Zoopla's own number (commercial lettings give the yearly rent while price shows pcm); on the GraphQL channel it is parsed from the price text, so a pcm label yields the monthly figure. Read pricePeriod for the unit."},"pricePeriod":{"nullable":true,"type":"string","description":"Period printed on the price text (pcm -> month, pw -> week, pa -> year); null for sale prices and unpriced rows.","enum":["month","week","year"]},"offerPrice":{"nullable":true},"priceCurrency":{"nullable":true,"type":"string","description":"Currency given by Zoopla, or GBP when the price text starts with £; null when the source gives neither."},"numberOfBeds":{"nullable":true,"type":"integer"},"outcode":{"nullable":true,"type":"string"},"propertyType":{"nullable":true,"type":"string"},"phones":{"nullable":true,"type":"array","items":{"type":"object","properties":{"value":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}}}},"emails":{"nullable":true,"type":"array","items":{"type":"object","properties":{"value":{"nullable":true,"type":"string"},"type":{"nullable":true,"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"}}},"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=sale: id, listingId, title, url, price, address."},"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"}}}}}}