Screen London districts on several criteria
find_london_districtsFind the London postcode districts that meet several open-data criteria at once: a maximum Land Registry median house price, a maximum commute to a work hub, crime at or below the London rate or under a rate per 1,000 residents, a minimum number of Outstanding state schools, a maximum share of postcodes in flood zone 3, a maximum ONS official borough rent for a number of bedrooms, and an optional borough. Each match carries the figures that qualified it, with sample sizes, and its page URL; districts that cannot be checked for lack of data are counted, not hidden. When nothing matches, it returns the districts that miss by only one criterion, closest first, with by how much, and names the criterion that rules out most of them. Houses only: flat medians are not compared across districts (retirement flats are not identified in Land Registry data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hub | No | Work hub for the commute criterion or sort. canary-wharf (Canary Wharf), city-of-london (Bank / Liverpool Street / Moorgate), kings-cross (King's Cross), westminster (Westminster), oxford-circus (Oxford Circus), london-bridge (London Bridge), paddington (Paddington), stratford (Stratford), hammersmith (Hammersmith), victoria (Victoria), waterloo (Waterloo), farringdon (Farringdon). | |
| limit | No | Districts to return (default 20, max 50). | |
| borough | No | Only districts with postcodes in this London borough, e.g. "Lewisham". | |
| sort_by | No | Order of the matches (lowest first, Outstanding schools most first). Default: the first criterion given. | |
| bedrooms | No | Bedrooms for the rent criterion: all (default), 1, 2, 3 or 4+. | |
| max_commute_minutes | No | Only districts whose typical door-to-door minutes to hub are at or under this (needs hub). | |
| max_flood_zone_3_pct | No | Only districts with at most this % of postcodes in Environment Agency Flood Zone 3. | |
| min_outstanding_schools | No | Only districts with at least this many state schools currently graded Outstanding by Ofsted. | |
| max_official_rent_gbp_pcm | No | Only districts whose borough(s) have an ONS official average monthly rent at or under this (see bedrooms). | |
| max_median_house_price_gbp | No | Only districts whose median sold price of existing houses (12 months) is at or under this. | |
| crime_at_or_below_london_rate | No | Only districts whose residential crime per 1,000 residents is at or below London as a whole. | |
| max_crimes_per_1000_residents | No | Only districts at or under this many residential-relevant crimes per 1,000 residents a year. |