Noise sources

UK
gethttps://crystalroof.co.uk/customer-api/noise/closest-noise-sources/v1/{location}

Description

This method returns the distance (in meters) to the closest sources of noise of the following types: road traffic noise, rail traffic noise, aircraft noise, emergency vehicles (A&Es, fire stations, and ambulance stations), ringing church bells, and bars/pubs/clubs.

For road traffic noise, rail traffic noise, and aircraft noise, if the postcode/coordinate is located within the noise boundaries, then the method will return distance = 0, and noiseClass will contain the noise level in decibels. Otherwise, if the postcode/coordinate is located outside the noise boundaries, the method will return the distance to the closest point of the area affected by noise.

For other sources of noise, the method will return the distances to the objects if they exist within the following radius:

  • A&Es, hospitals, fire stations, church bells: within 483 meters, or 0.3 miles;
  • Bars/pubs/clubs: within 161 meters, or 0.1 miles.

Parameters

NameDescription
location
path
string
Postcode, coordinates in the lat,long format or UPRN in the uprn12345678 format.
api_key
query
enum

Your API key.

DEMO key allows you to test the method in the W6 0 postcode sector, or in the [[51.492, -0.25], [51.502, -0.225]] rectangle.

Request URL:
https://crystalroof.co.uk/customer-api/noise/closest-noise-sources/v1/{location}?api_key=DEMO
Possible responses with examples
Code
Description
200
Success
401
Unauthorized
402
Payment Required
403
Forbidden
429
Too Many Requests
500
Internal Server Error