Query Parameters

Parameter Description Usage
longitude The longitude of the location. (WGS 84 datum/EPSG:4326 coordinate system) Required
latitude The latitude of the location. (WGS 84 datum/EPSG:4326 coordinate system) Required
type Refers to crime type. Multiple values can be passed as comma separated values.

For example: type='larceny', 'arson', 'violent'

Default: 'all'

The 11 valid crime type values include:
all

Returns composite score as well as score for the other 10 crime types.

violent

Returns composite score for violent crime index as well as the score for other 4 violent crime types, which include murder, rape, robbery and aggravated assault.

property

Returns composite score for property crime index as well as the score for other 4 property crime types, which include burglary, larceny, car theft and arson.

murder
Returns Murder crime index only.
rape
Returns Rape crime index only.
robbery
Returns Robbery crime index only.
assault
Returns Aggravated Assault crime index only.
burglary
Returns Burglary crime index only.
larceny
Returns Larceny-Theft crime index only.
motorvehicletheft
Returns Motor Vehicle Theft crime index only.
arson
Returns Arson crime index only.
Note: In case of multiple input values, if 'all', 'violent' and 'property' crime types are specified, then the results from their sub-categories are returned automatically. For example, if 'property' type is specified as input, then all indexes of property type including burglary, larceny, car theft and arson will be returned. In this case if 'burglary' is specified exclusively, then it will be ignored because this index is already a part of 'property' index.
Optional
includeGeometry Specifies whether or not to include the geometry. If 'Y' is specified crime boundary will be shown in response. If 'N' is specified , the crime boundary will not be shown in response.

Possible values: Y or N

Default: 'N'

Optional