How To Use The Crime Map API
How To Use The Crime Map API
This Service retrieves a list of Boundary Names and Location Types that can be passed to
other services in this document.
Look up Geographies
https://a5c7zwf7e5.execute-api.ap-southeast-2.amazonaws.com/dev/lut
Returns
Key Data type Accepted Format
objectid integer Unique ID
searchlookup string Name of the Boundary that can be passed to other
Service Call.
class string The type of Location or Boundary. Can be referenced to
align to locationType in the Offence Service. (see
Below)
Description:
searchlookup
This field contains the names of boundaries that are referenced in the Offence data. These
names can be used as input parameters in the Offence service.
class
This field contains boundary types. When performing a search in other service calls a
boundary type (locationType) parameter can be useful. The below table is the link between
class values and locationType values.
These services return spatial coordinates of features that form a boundary or the location of
a Police Station.
This service retrieves a list of Police Stations containing the following attributes.
Example
https://4w0qhtalkj.execute-api.ap-southeast-2.amazonaws.com/dev/pst
Returns
Key Data type Accepted Format
feature string Geographic Coordinates
name string Police Station Name
address string Address Description
suburb string Suburb
pcode string PostCode
phonenumber string Phone Number
Get Boundary Geographies
This service returns the spatial coordinates that form geographical boundaries.
Example
https://a5c7zwf7e5.execute-api.ap-southeast-2.amazonaws.com/dev/locations?
locationType=SUBURB&locationName=West%20End%20-%20Brisbane
Parameters
Key Data type Accepted Format
locationType string The Type of the Boundary being searched
Description:
locationType
This field requires the type of boundary. List is as follows. POSTCODE is not included as
this is not an open data dataset.
locationType
QPS Division
SUBURB
QPS District
Neighbourhood Watch
QPS Region
locationName
Returns
Key Data type Accepted Format
feature string Geographic Coordinates
name string Name of the boundary
type string Boundary Type
Example
https://a5c7zwf7e5.execute-api.ap-southeast-2.amazonaws.com/dev/offences?
locationType=Lga&startDate=06-26-2019&locationName=Brisbane&endDate=08-26-
2019&format=JSON
Parameters
Key Data type Accepted Format
locationType string Boundary Type. Must be either SUBURB, LGA, DIVISION,
REGION, DISTRICT, NHW, POSTCODE, PATROLGROUP
(Case Sensitive)
startDate string 06-26-2019 (mm-dd-yyyy)
locationName string Name of search boundary
endDate string 06-26-2019 (mm-dd-yyyy)
format string XML, JSON,SQL,JSONP
Description:
locationType
locationName
Results
Key Data Description
type
Type string Type of Crime
Date string Date "2019-06-26 00:00:00"
Postcode string Post Code
Area of string Name of the requested area
Interest
ABS string Australian Bureau of Statistics mesh block code that links to all
Meshblock other ABS Statistical Areas -
https://www.abs.gov.au/AUSSTATS/[email protected]/DetailsPage/1270.0.
55.001July%202016?OpenDocument
Offence List
Arson
Assault
Drug Offences
Fraud
Homicide (Murder)
Miscellaneous Offences
Other Homicide
Prostitution Offences
Robbery
Unlawful Entry