{"openapi":"3.0.0","info":{"title":"99.co Singapore and Indonesia Property","version":"1.0.0","description":"99.co property listings in Singapore and Indonesia including condos, HDB, landed homes and floor area metrics, one row per entity."},"servers":[{"url":"https://ah-ninetynine-co-sg.opendata.best/s/ninetynine-co-sg"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search 99.co Singapore and Indonesia listings","description":"Search 99.co listings by market, query or location with bedroom, price and property type filters.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"startUrls":{"type":"array","items":{"type":"string"},"description":"Start URLs. 99.co Singapore or Indonesia search, listing or project URLs; use www.99.co addresses.","example":[{"url":"https://www.99.co/singapore/sale/condos-apartments"}]},"query":{"type":"string","description":"Search query (Singapore). Singapore place, project or keyword, such as Orchard or Tampines. A resolved location takes precedence; this field does not filter Indonesia searches."},"location":{"type":"string","description":"Location (Singapore). Singapore region, area or place name, such as east-region, bedok or Tampines. Combines with locations; unresolved places are skipped with a warning, and this field is ignored for Indonesia."},"locations":{"type":"array","items":{"type":"string"},"description":"Locations (Singapore, multiple). Several Singapore regions or areas to search within the market row allowance. Combines with location; ignored for Indonesia."},"market":{"type":"string","enum":["SG","ID","all"],"description":"Market. Choose SG for Singapore, ID for Indonesia, or all for both, each with its own maxResults allowance. Non-empty markets replaces this selection; omitted market means SG.","example":"SG"},"markets":{"type":"array","items":{"type":"string","enum":["SG","ID","all"]},"description":"Markets (multiple). Several market codes; a non-empty list replaces market. Each market gets its own maxResults allowance, subject to the total run limits; all selects SG and ID."},"propertyType":{"type":"string","enum":["all","apartemen","apartment","commercial","condo","condos-apartments","executive-condo","executive-condominiums","gedung-bertingkat","gudang","hdb","hotel","houses","industrial","kios","komersial","kost","landed","office","offices","pabrik","retail","room","rooms","ruang-kantor","ruko","rumah","shophouse","tanah","toko","vila","villa","warehouse"],"description":"Property type. Choose one category; omitted means condo, and non-empty propertyTypes replaces it. all searches Singapore residential homes or Indonesia categories; a supported counterpart is used when a category belongs to the other market.","example":"condo"},"propertyTypes":{"type":"array","items":{"type":"string","enum":["all","apartemen","apartment","commercial","condo","condos-apartments","executive-condo","executive-condominiums","gedung-bertingkat","gudang","hdb","hotel","houses","industrial","kios","komersial","kost","landed","office","offices","pabrik","retail","room","rooms","ruang-kantor","ruko","rumah","shophouse","tanah","toko","vila","villa","warehouse"]},"description":"Property types (multiple). Several property categories, replacing propertyType. Categories share each URL or market row allowance rather than receiving separate allowances."},"channel":{"type":"string","enum":["BUY","RENT"],"description":"Sale or rent. Choose BUY for sale listings or RENT for rental listings. Some categories, including Singapore rooms and Indonesia kios, are rental-only.","default":"BUY"},"rooms":{"type":"integer","minimum":0,"maximum":20,"description":"Bedrooms (Singapore). Filter Singapore searches by bedroom count. Does not filter Indonesia searches."},"priceMin":{"type":"integer","minimum":0,"description":"Minimum price (Singapore, SGD). Minimum Singapore asking price in SGD. Does not filter Indonesia searches."},"priceMax":{"type":"integer","minimum":0,"description":"Maximum price (Singapore, SGD). Maximum Singapore asking price in SGD. Does not filter Indonesia searches."},"floorAreaMin":{"type":"integer","minimum":0,"description":"Minimum floor area (Singapore, sqft). Minimum Singapore floor area in square feet. Does not filter Indonesia searches."},"floorAreaMax":{"type":"integer","minimum":0,"description":"Maximum floor area (Singapore, sqft). Maximum Singapore floor area in square feet. Does not filter Indonesia searches."},"tenure":{"type":"string","enum":["freehold","99"],"description":"Tenure (Singapore). Filter Singapore searches to freehold or 99-year tenure using freehold or 99. Unsupported values are ignored."},"furnishing":{"type":"string","enum":["fully","partial","unfurnished"],"description":"Furnishing (Singapore). Filter Singapore searches using fully, partial or unfurnished. Does not filter Indonesia searches."},"sort":{"type":"string","enum":["relevance","price,asc","price,desc","floorarea,desc"],"description":"Sort (Singapore). Sort Singapore searches by relevance, ascending price, descending price or descending floor area. Does not change Indonesia search order."},"supplyMode":{"type":"string","enum":["search","projects","auto"],"description":"Collection setting. Leave as search. The values search, projects and auto are accepted, but the supplied URL type determines collection rather than this setting.","default":"search"},"scrapeDetails":{"type":"boolean","description":"Include listing details. Add available listing descriptions and property details to each row. Off by default; detail information does not create extra listing rows.","default":false},"scrapeAgentProfile":{"type":"boolean","description":"Include agent email and agency. Add available Singapore agent email and agency information when an agent licence number is available. On by default; information is merged into the listing row without submitting an enquiry form.","default":true},"maxPages":{"type":"integer","minimum":1,"maximum":200,"description":"Search page setting. Use maxResults to limit rows; Singapore searches and Indonesia listing pagination may continue beyond this setting.","default":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":{"market":"SG","location":"orchard","channel":"BUY","propertyType":"condo","scrapeDetails":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"},"url":{"nullable":true,"type":"string"},"source":{"type":"string"},"sourceCountry":{"nullable":true,"type":"string"},"sourceLayer":{"nullable":true,"type":"string"},"pageType":{"nullable":true,"type":"string"},"channel":{"nullable":true,"type":"string"},"operationType":{"nullable":true,"type":"string"},"propertyType":{"nullable":true,"type":"string"},"propertySubType":{"nullable":true,"type":"string"},"propertySegment":{"nullable":true,"type":"string"},"listingType":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"districtNumber":{"nullable":true,"type":"number"},"whatsappNumber":{"nullable":true,"type":"string"},"title":{},"price":{},"priceCurrency":{},"pricePeriod":{},"priceFormatted":{},"pricePsf":{},"bedrooms":{},"bathrooms":{},"floorAreaSqft":{},"tenure":{},"builtYear":{},"furnishingStatus":{},"mrt":{},"listingTags":{},"scrapedAt":{"type":"string"},"phones":{"nullable":true,"type":"array","items":{}},"emails":{"nullable":true,"type":"array","items":{}},"address":{"nullable":true,"type":"object"},"geo":{"nullable":true,"type":"object"},"person":{"nullable":true,"type":"object"},"org":{"nullable":true,"type":"object"},"web":{"nullable":true,"type":"object"},"leadSource":{"nullable":true,"type":"string"},"leadReveal":{"nullable":true,"type":"string"},"leadAbsences":{"nullable":true,"type":"object"},"addressRegion":{"nullable":true,"type":"string"},"geoClusterId":{"nullable":true,"type":"string"},"locationSlug":{"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, url, title, price|priceFormatted."},"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"}}}}}}