Historical crime rates
England
Wales
gethttps://crystalroof.co.uk/customer-api/crime/historical-crime-rates/postcode/v1/{location}
Description
This method returns historical annual crime rates (total and by crime type) for the years starting 2011. The results are determined by the inclusion of the submitted postcode/coordinates/UPRN within the corresponding LSOA, LAD or region.
The crime rates are calculated per 1,000 resident population derived from the census 2011 and 2021.
The dataset is updated annually.
Pricing
1 credit per 1 request.
Parameters
| Name | Description |
|---|---|
location path string | Postcode, coordinates in the lat,long format or UPRN in the uprn12345678 format. |
area_type query enum |
|
api_key query enum | Your API key.
|
Request URL:
https://crystalroof.co.uk/customer-api/crime/historical-crime-rates/postcode/v1/{location}?api_key=DEMO
Possible responses with examples
Code
Description
200
Success
401
Unauthorized
402
Payment Required
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error