{"openapi":"3.1.0","info":{"title":"Zoopla UK Listings Sold Prices and Agents (x402 & MCP)","version":"0.1.0","description":"Zoopla UK properties for sale, rent, sold house prices, commercial listings and estate agents, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/zoopla-co-uk/v1/search":{"post":{"operationId":"zoopla_co_uk_search","summary":"Zoopla UK Listings Sold Prices and Agents: 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. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["zoopla-co-uk","Data"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"area":{"type":"string","description":"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)."},"postcode":{"type":"string","description":"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":"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."},"searchType":{"type":"string","description":"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","enum":["sale","rent","new-homes","detail","house-prices","agents","commercial","commercial-rent","overseas","postcode","map"]},"enrichDetails":{"type":"boolean","description":"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},"enrichAgents":{"type":"boolean","description":"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},"priceMin":{"type":"integer","description":"Optional minimum property listing price in GBP.","minimum":0},"priceMax":{"type":"integer","description":"Optional maximum property listing price in GBP.","minimum":0},"bedsMin":{"type":"integer","description":"Optional minimum bedroom count for property searches.","minimum":0},"bedsMax":{"type":"integer","description":"Optional maximum bedroom count for property searches.","minimum":0},"radius":{"type":"integer","description":"Optional search radius in miles, from 0 to 40.","minimum":0,"maximum":40},"sort":{"type":"string","description":"Order property search results by recommendation, newest listings, highest price, lowest price or most reduced. Leave empty to use the site default.","default":"","enum":["","recommended","newest_listings","highest_price","lowest_price","most_reduced"]},"maxPages":{"type":"integer","description":"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,"minimum":1,"maximum":8},"maxResults":{"type":"integer","description":"Maximum Dataset rows for each detail URL or area search (1–200; default 70). Larger values are collected in parts of up to 70 rows. All row types count together. The whole run stops at your maximum total charge. Free platform plan users: up to 200 rows per run and 10 runs total.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"area":"sheffield","searchType":"sale","enrichDetails":false,"enrichAgents":false,"maxResults":5}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_zoopla_co_uk"},"example":{"jobId":"job_zoopla-c_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"listingId":"example_listingId","title":"example_title","priceUnformatted":"example_priceUnformatted","offerPrice":"example_offerPrice","numberOfBeds":10,"outcode":"example_outcode"}],"meta":{"site":"zoopla-co-uk","endpoint":"search","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/zoopla-co-uk/v1/health":{"get":{"operationId":"zoopla_co_uk_health","summary":"Zoopla UK Listings Sold Prices and Agents: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["zoopla-co-uk","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"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"}}},"Row_zoopla_co_uk":{"type":"object","properties":{"listingId":{"type":["string","null"],"title":"listingId"},"title":{"type":["string","null"],"title":"Title"},"priceUnformatted":{"type":["string","null"],"title":"Price (source number)"},"offerPrice":{"type":["string","null"],"title":"Detail price"},"numberOfBeds":{"type":["number","null"],"title":"Beds"},"outcode":{"type":["string","null"],"title":"Outcode"},"propertyType":{"type":["string","null"],"title":"Type"},"url":{"type":["string","null"],"format":"uri","title":"URL"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address":{"type":["string","null"],"title":"Address"},"geo":{"type":["string","null"],"title":"Geo"},"person":{"type":["string","null"],"title":"Person"},"org":{"type":["string","null"],"title":"Agency"},"web":{"type":["string","null"],"title":"Web"},"leadSource":{"type":["string","null"],"title":"Lead Source"},"leadReveal":{"type":["string","null"],"title":"Lead Reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead Absences"}},"additionalProperties":true},"Response_zoopla_co_uk":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_zoopla_co_uk"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}