{"uid":"cap_9CmgUqfD9P26YaOf1ysQy","slug":"sg-property-data-hdb-town-price-statistics-c9b4aa9d","name":"SG Property Data — HDB Town Price Statistics","description":"District, market-segment, town, and project-level price trends, CAGR, and rental yield for Singapore private residential property (condo and landed) and HDB resale flats, computed from URA and HDB records. REST and MCP access, priced per call for AI agents.","url":"https://sgpropertydata.com/private/hdb/towns/%7Btown%7D/stats","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["town"],"properties":{"town":{"type":"string","description":"HDB town name"}}},"queryParams":{"type":"object","properties":{"flat_type":{"enum":["ALL","2 ROOM","3 ROOM","4 ROOM","5 ROOM","EXECUTIVE"],"type":"string","description":"Defaults to ALL (blended across flat types) if omitted"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"cagr":{"unit":"percent_per_year","value":2.1,"confidence":"high"},"snapshot":{"p25_psf":510,"p75_psf":565,"median_psf":540,"transaction_count":38},"yearly_breakdown":[{"year":2025,"median_psf":540,"yoy_change_pct":1.8}],"median_remaining_lease_years":61.3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IOVzU0zRTG5yvxV64PtwS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns computed price metrics (median PSF, CAGR, percentile distribution, yearly trends, and remaining lease years) for HDB resale flats in a specified Singapore town, optionally filtered by flat type.","exampleAgentPrompt":"What are the current HDB resale price stats for Tampines — specifically 4-room flats? I want to see the median PSF, CAGR, and how prices have changed year-over-year.","exampleUseCases":null,"resultDescription":"A JSON object containing: a CAGR value in percent per year with confidence level; a price snapshot with median, P25, and P75 PSF plus transaction count; a yearly breakdown array with median PSF and YoY change percent per year; and the median remaining lease years for the town and flat type specified.","failureModes":["Invalid or unrecognized town name returns 400 or empty result","Town name spelling mismatch (e.g. 'Ang Mo Kio' vs 'ANG MO KIO') may cause no match","Insufficient transaction data for a town/flat_type combination may return low-confidence or null CAGR","Network or upstream data refresh lag may cause stale snapshot values","Payment failure (x402) returns 402 before data is served"],"whenToPreferThis":"Use this endpoint when you need aggregated, pre-computed HDB resale price statistics at the town level — including CAGR, PSF percentiles, and lease data — without having to process raw transaction records yourself. Prefer this over raw URA/HDB APIs when you need derived metrics like CAGR and remaining lease statistics ready to consume. Use the flat_type filter when the user cares about a specific flat configuration rather than a blended market view.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:02.999Z","isFirstParty":false}