Monthly crimes by radius

England
Wales
gethttps://crystalroof.co.uk/customer-api/crime/monthly-crimes/radius/v1/{location}

Description

This method returns the crimes (total and by crime type) that occurred within a set radius in a selected month.

We advise enabling the 'counts_only' query argument if you don't need the exact locations of crimes.

Parameters

NameDescription
location
path
string
Postcode, coordinates in the lat,long format or UPRN in the uprn12345678 format.
radius
query
integer
Radius from a postcode/coordinates/UPRN in meters. Max value is 3500 meters. Default is 1609 (1 mile).
month
query
enum
Month and year when the crimes occurred.
counts_only
query
boolean
If selected, the method will only return the total number of crimes and their distribution by crime type. If not selected, the method will additionally group the crimes by the coordinates of their occurrence.
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/crime/monthly-crimes/radius/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