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.
Postcode with or without space. This argument is case-insensitive.
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/W60WW?api_key=DEMO
Possible responses with examples
Code
Description
200
Success
{
  "data": {
    "counts": {
      "Total": 51,
      "Anti-social behaviour": 10,
      "Bicycle theft": 0,
      "Burglary": 2,
      "Criminal damage and arson": 1,
      "Drugs": 0,
      "Possession of weapons": 0,
      "Public order": 5,
      "Robbery": 1,
      "Shoplifting": 1,
      "Theft from the person": 3,
      "Vehicle crime": 10,
      "Violence and sexual offences": 11,
      "Other crime": 0,
      "Other theft": 7
    },
    "crimes": [
      {
        "latitude": 51.493403,
        "longitude": -0.245042,
        "locationName": "On or near King Street",
        "crimeTypes": {
          "Public order": 1,
          "Theft from the person": 1,
          "Vehicle crime": 2
        }
      },
      {
        "latitude": 51.493966,
        "longitude": -0.248362,
        "locationName": "On or near Cleveland Avenue",
        "crimeTypes": {
          "Vehicle crime": 1,
          "Other theft": 1
        }
      },
      {
        "latitude": 51.494879,
        "longitude": -0.24523,
        "locationName": "On or near Stamford Brook (Lu Station)",
        "crimeTypes": {
          "Public order": 1,
          "Other theft": 2
        }
      },
      {
        "latitude": 51.495884,
        "longitude": -0.249758,
        "locationName": "On or near Lonsdale Road",
        "crimeTypes": {
          "Violence and sexual offences": 1
        }
      },
      {
        "latitude": 51.493002,
        "longitude": -0.239871,
        "locationName": "On or near Chambon Place",
        "crimeTypes": {
          "Violence and sexual offences": 2,
          "Other theft": 1
        }
      },
      {
        "latitude": 51.493925,
        "longitude": -0.236666,
        "locationName": "On or near Ravenscourt Place",
        "crimeTypes": {
          "Vehicle crime": 2
        }
      },
      {
        "latitude": 51.495289,
        "longitude": -0.242448,
        "locationName": "On or near Ravenscourt Gardens",
        "crimeTypes": {
          "Robbery": 1,
          "Vehicle crime": 2,
          "Violence and sexual offences": 3
        }
      },
      {
        "latitude": 51.495313,
        "longitude": -0.239854,
        "locationName": "On or near Ravenscourt Park",
        "crimeTypes": {
          "Vehicle crime": 1
        }
      },
      {
        "latitude": 51.498854,
        "longitude": -0.242729,
        "locationName": "On or near Ravenscourt Square",
        "crimeTypes": {
          "Violence and sexual offences": 1
        }
      },
      {
        "latitude": 51.499979,
        "longitude": -0.242152,
        "locationName": "On or near Ashchurch Park Villas",
        "crimeTypes": {
          "Anti-social behaviour": 2
        }
      },
      {
        "latitude": 51.494257,
        "longitude": -0.244966,
        "locationName": "On or near Goldhawk Road",
        "crimeTypes": {
          "Anti-social behaviour": 1,
          "Public order": 1,
          "Theft from the person": 1
        }
      },
      {
        "latitude": 51.496002,
        "longitude": -0.244739,
        "locationName": "On or near Petrol Station",
        "crimeTypes": {
          "Anti-social behaviour": 3
        }
      },
      {
        "latitude": 51.496807,
        "longitude": -0.245357,
        "locationName": "On or near Stamford Brook Avenue",
        "crimeTypes": {
          "Vehicle crime": 1
        }
      },
      {
        "latitude": 51.492879,
        "longitude": -0.241878,
        "locationName": "On or near St Peter'S Grove",
        "crimeTypes": {
          "Violence and sexual offences": 2
        }
      },
      {
        "latitude": 51.493078,
        "longitude": -0.240747,
        "locationName": "On or near Aiten Place",
        "crimeTypes": {
          "Burglary": 2,
          "Public order": 1,
          "Shoplifting": 1,
          "Violence and sexual offences": 1
        }
      },
      {
        "latitude": 51.493238,
        "longitude": -0.238781,
        "locationName": "On or near Vencourt Place",
        "crimeTypes": {
          "Criminal damage and arson": 1,
          "Violence and sexual offences": 1
        }
      },
      {
        "latitude": 51.493856,
        "longitude": -0.241034,
        "locationName": "On or near Hamlet Gardens",
        "crimeTypes": {
          "Anti-social behaviour": 2,
          "Other theft": 1
        }
      },
      {
        "latitude": 51.496664,
        "longitude": -0.24362,
        "locationName": "On or near Invermead Close",
        "crimeTypes": {
          "Anti-social behaviour": 2,
          "Public order": 1,
          "Other theft": 2
        }
      },
      {
        "latitude": 51.497882,
        "longitude": -0.236658,
        "locationName": "On or near Paddenswick Road",
        "crimeTypes": {
          "Theft from the person": 1
        }
      },
      {
        "latitude": 51.498185,
        "longitude": -0.246068,
        "locationName": "On or near Stamford Brook Road",
        "crimeTypes": {
          "Vehicle crime": 1
        }
      }
    ]
  },
  "dataDate": "2023-12",
  "refreshedDate": "2024-02-25"
} 
401
Unauthorized
{
  "error": "No such API key or it is not valid anymore."
} 
402
Payment Required
{
  "error": "You have exhausted the available calls provided by your package."
} 
403
Forbidden
{
  "error": "API key is invalid for the given action."
} 
404
Not Found
{
  "error": "Can't find such location."
} 
429
Too Many Requests
{
  "error": "Too many requests have been sent in one second."
} 
500
Internal Server Error
{
  "error": "We have already started working on a resolution!"
} 
Cookies
This site uses cookies for purposes including analytics, personalization and advertising. By continuing to browse this website you agree to this use. For more information see our Privacy Policy