Neighbourhood
Copy link

Get data on what an area is like to live in, including noise, air quality, flood risk, crime, deprivation and broadband. You can get it for each H3 cell, for each boundary, or as a total.

This page answers questions such as:

  • How noisy is this street?
  • Is this home in a flood zone?
  • What is the crime rate around this home?

Each JSON response names its data sources once, in sources, with one entry per layer. Where a layer draws on more than one source, its entry is a list. Where a source has a vintage, the id includes it, for example defra_noise_2022_r4 or police_uk_2026_08. A layer that does not cover an H3 cell is null for that cell and is listed in missing. /v1/catalog/{country} gives the date the data was last loaded, in updated_at, and the sources of each layer for each country.

Request headers
Copy link

Required authentication header. Use the same application id as for the TravelTime API.

string

Required authentication header.

Neighbourhood data per H3 cell, per boundary or in total
Copy link

GET /v1/neighbourhood/cells

Returns six blocks of data for each H3 cell: noise, air quality, flood, crime, deprivation and broadband. You can also get totals over the area you send. With a boundary type, such as group_by=borough, you get one row per boundary, and with group_by=all you get one row for everything. Only resolution 9 is supported, but a group_by=all total also accepts coarser cell ids. For long lists of cells, use POST /v1/neighbourhood/cells, which takes the same fields in a JSON body (see Long requests).

Parameters
Copy link

ParameterTypeDefaultWhat it doesExample
layerlayer names, comma-separatedall sixReturns only the blocks you list, from noise, air_quality, flood, crime, deprivation and broadband.layer=noise,flood

The endpoint also takes the following common parameters:

Reading the response
Copy link

Each row contains cell (or cell_count in totals, plus boundary with group_by=<type>) and one block for each layer:

  • noise: max_lden_db, the loudest source, in dB Lden. road_lden_db, rail_lden_db and air_lden_db give each source over the whole day, and road_lnight_db, rail_lnight_db and air_lnight_db at night, in dB Lnight. Each of these six is null where that source's noise map does not reach the cell, or where its publisher does not split out that level. over_55db_share is the share of the cell (0–1) at 55 dB Lden or more. It is a lower bound, and null where no noise grid covering the whole cell reaches it
  • air_quality: no2_ugm3, pm25_ugm3 and pm10_ugm3, in µg/m³
  • flood: zone, from 1 (low risk) to 3 (high risk). zone3_share is the share of the cell's area (0–1) in zone 3, and zone2_share the share in zone 2 outside zone 3. The two shares can add up to less than the area at risk
  • crime: per_1000, the number of crimes per 1,000 people. On a cell's own row, total_12m is the number of crimes over period (from and to, the first and last month counted, as YYYY-MM), in the area the cell takes its figures from. In Scotland, it is the cell's residents' share of their ward's crimes
  • deprivation: by_nation, with one entry per nation. Each entry holds population_share_by_decile, the share of people (0–1) in each deprivation decile. On a cell's own row, nation names the index that ranks the cell's small area, rank is its rank among that nation's areas, with 1 the most deprived, and score is the index's own score. Whether a higher score means more or less deprived depends on the index
  • broadband: gigabit_share, superfast_share (30 Mbit/s or more available) and no_decent_share (below Ofcom's decent-broadband line, and in Spain, homes without 30 Mbit/s), each from 0 to 1, and mean_download_mbps, the average download speed in Mbit/s. On a cell's own row, premises is the number of premises in the area the cell takes its figures from (households, in Spain), and premises_by_speed_mbps splits them by the best download speed available, in the bands 0-2, 2-5, 5-10, 10-30, 30-300 and 300+ Mbit/s

Not every country has every field. Germany has flood shares for 11 of its 16 states, road and rail noise but no over_55db_share, a crime rate per district but no total_12m, deprivation per town, and broadband shares but no mean_download_mbps. A field a country does not have is null.

To judge what counts as noisy or polluted, you can compare the values with the WHO guidelines: 53 dB Lden for road traffic, 10 µg/m³ for NO₂ and 5 µg/m³ for PM2.5.

A layer that does not cover the H3 cell is null, and missing lists it with the reason outside_source_coverage. On a total, the reason is no_residents when the layer covers only cells where nobody lives.

In totals, the rollup block shows how each field is added up. The dB and µg/m³ values, over_55db_share, per_1000, the broadband shares and mean_download_mbps use population_weighted_mean. Over an area, each noise source is averaged over only the cells that have a value for it. flood.zone uses max, and zone3_share and zone2_share use area_weighted_mean over the cells that have any neighbourhood data, with a cell that has no flood block counting as 0. Deprivation uses per_nation_population_share.

Totals leave out the per-cell fields: crime.total_12m and crime.period, deprivation.nation, rank and score, and broadband.premises and premises_by_speed_mbps. Each is a figure for the area the cell takes it from, repeated on every cell in that area, so it cannot be added up over cells.

Errors

CodeHTTPWhen
invalid_layer400layer is not one of the six layers. allowed lists the valid ones.

The endpoint can also return any of the error codes listed under Location, Per-cell endpoints and Paging.

1. Send one cell, get one row
Copy link

Put the id of one H3 cell in cells. You get back one row for that cell. It has six blocks: noise, air_quality, flood, crime, deprivation and broadband.

You send

curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
  "https://data.traveltimeapp.com/v1/neighbourhood/cells?cells=89195da4d03ffff"

You get

{
  "resolution": 9,
  "results": [
    {
      "cell": "89195da4d03ffff",
      "noise": {
        "max_lden_db": 81.3,
        "road_lden_db": 61.3
      },
      "air_quality": {
        "no2_ugm3": 31.5,
        "pm25_ugm3": 10.3
      },
      "flood": {
        "zone": 1
      },
      "crime": {
        "per_1000": 202.7
      },
      "deprivation": {
        "by_nation": {
          "england": {
            "population_share_by_decile": {
              "2": 1
            }
          }
        }
      },
      "broadband": {
        "gigabit_share": 1
      }
    }
  ],
  "next_cursor": null,
  "sources": {
    "noise": "defra_noise_2022_r4",
    "air_quality": "defra_pcm_2024",
    "flood": "ea_flood_map_for_planning",
    "crime": "police_uk_2026_08",
    "deprivation": "mhclg_iod_2025_eng",
    "broadband": "ofcom_cn_2026_01+perf_2025_07"
  }
}

2. Send several cells, get one row for each
Copy link

Separate the cell ids with commas. You get one row for each cell, in the order you sent them. These seven cells lie between Euston and St Pancras. The map shades each cell by its loudest noise, from 59.5 to 83 dB. Select a cell to see its row.

Request

curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
  "https://data.traveltimeapp.com/v1/neighbourhood/cells?cells=89195da4d03ffff,89195da4d07ffff,89195da4d0bffff,89195da4d0fffff,89195da4d13ffff,89195da4d17ffff,89195da4d1bffff"
200 · 7 H3 cells

Shade = noise.max_lden_db59.5 dB83 dB7 H3 cells; click a cell to open its row.

3. Add them up: one row for all the cells
Copy link

Add group_by=all to get one total row instead. Noise, air quality, crime rate and gigabit share are averaged by population, the flood zone is the worst one in the cells, and deprivation gives the share of people in each deprivation decile. rollup says how each field was added up.

For a long list of cells, send POST /v1/neighbourhood/cells with the same fields in a JSON body. See Long requests.

You send

curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
  "https://data.traveltimeapp.com/v1/neighbourhood/cells?cells=89195da4d03ffff,89195da4d07ffff,89195da4d0bffff,89195da4d0fffff,89195da4d13ffff,89195da4d17ffff,89195da4d1bffff&group_by=all"

You get

{
  "results": [
    {
      "cell_count": 7,
      "noise": {
        "max_lden_db": 75.7,
        "road_lden_db": 59.6
      },
      "air_quality": {
        "no2_ugm3": 29.3,
        "pm25_ugm3": 10.1
      },
      "flood": {
        "zone": 1
      },
      "crime": {
        "per_1000": 476.4
      },
      "deprivation": {
        "by_nation": {
          "england": {
            "population_share_by_decile": {
              "2": 0.543,
              "3": 0.014,
              "4": 0.443
            }
          }
        }
      },
      "broadband": {
        "gigabit_share": 0.981
      }
    }
  ],
  "next_cursor": null,
  "rollup": {
    "cell_count": "sum",
    "noise.max_lden_db": "population_weighted_mean",
    "noise.road_lden_db": "population_weighted_mean",
    "air_quality.no2_ugm3": "population_weighted_mean",
    "air_quality.pm25_ugm3": "population_weighted_mean",
    "flood.zone": "max",
    "crime.per_1000": "population_weighted_mean",
    "deprivation.by_nation": "per_nation_population_share",
    "broadband.gigabit_share": "population_weighted_mean"
  },
  "sources": {
    "noise": "defra_noise_2022_r4",
    "air_quality": "defra_pcm_2024",
    "flood": "ea_flood_map_for_planning",
    "crime": "police_uk_2026_08",
    "deprivation": "mhclg_iod_2025_eng",
    "broadband": "ofcom_cn_2026_01+perf_2025_07"
  }
}

4. No cell ids yet? Send an area
Copy link

Send bbox (south, west, north, east) for a box, or near and radius_m for a circle. You get one row for every cell in the area, and each row has its cell id. This box around King's Cross holds 39 cells.

Request

curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
  "https://data.traveltimeapp.com/v1/neighbourhood/cells?bbox=51.522,-0.140,51.538,-0.110"
Examples

Send a point with at to get the row for the H3 cell that contains it, so you do not need to work out the cell yourself.

Request

curl -H "X-Application-Id: YOUR_APP_ID" -H "X-Api-Key: YOUR_APP_KEY" \
  "https://data.traveltimeapp.com/v1/neighbourhood/cells?at=51.5307,-0.1238"
200 · 1 H3 cell

Shade = noise.max_lden_db79.2 dB79.2 dB1 H3 cell; click it to open its row.

Use layer to get only the noise block, which keeps the response small. sources then names only the layers that are returned. To get two layers, use layer=noise,flood.

Try these requests in the playground →