Uk Police Crime By Location Scraper avatar

Uk Police Crime By Location Scraper

Pricing

Pay per usage

Go to Apify Store
Uk Police Crime By Location Scraper

Uk Police Crime By Location Scraper

Collect street-level UK crime records by coordinates or custom area for any given month. Filter by crime category, limit your dataset size, and easily download structured results in JSON, CSV, or Excel for local research, mapping, and analysis

Pricing

Pay per usage

Rating

0.0

(0)

Developer

BigiByte

BigiByte

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Features

Limited permissions

Share

UK Police Crime by Location Scraper cover

Collect street-level crime records from across the United Kingdom using geographic coordinates or a custom area. Choose a crime category and reporting month, retrieve structured location and crime information, and export your results in JSON, CSV, Excel, or other supported formats for neighbourhood research, mapping, and analysis.

What This Actor Does

The UK Police Crime by Location Scraper collects publicly available street-level crime records from the UK Police data service.

Search around a specific latitude and longitude or define a custom polygon to retrieve crime records for a selected month. Results can include crime categories, street names, geographic coordinates, location information, and outcome details when available.

The actor removes duplicate records using crimeId, respects your maxItems limit, and records request errors where possible so that a failed request does not necessarily stop the entire run.

Scraping Modes

  • Street-Level Search (street): Retrieve crime records near a specified latitude and longitude for a selected month. The standard search covers an area of approximately one mile around the supplied point.
  • Custom Area Search (poly): Retrieve crime records within a custom geographic polygon using a sequence of latitude and longitude coordinates. This mode is less tested, so small areas are recommended.

Input Examples

1. Search Crimes Near a Location

{
"mode": "street",
"lat": 52.629729,
"lng": -1.131592,
"date": "2024-01",
"category": "all-crime",
"maxItems": 50,
"requestDelayMs": 1000
}

2. Search Within a Custom Polygon

{
"mode": "poly",
"poly": "52.2,0.5:52.8,0.2:52.1,0.88",
"date": "2024-01",
"category": "all-crime",
"maxItems": 25
}

Input Parameters

ParameterTypeDescription
modeStringSelect street for coordinate-based searches or poly for custom polygon searches.
latNumberLatitude of the search location in street mode.
lngNumberLongitude of the search location in street mode.
polyStringCustom polygon coordinates in lat,lng:lat,lng:... format for polygon mode.
dateStringReporting month in YYYY-MM format.
categoryStringCrime category to retrieve, such as all-crime.
maxItemsIntegerMaximum number of records to save. Default: 100. Hard maximum: 1,000.
requestDelayMsIntegerDelay between requests in milliseconds. Default: 1,000.

Output Example

Each successful crime record is saved as a separate dataset item.

{
"category": "anti-social-behaviour",
"location_type": "Force",
"location": {
"latitude": "52.637556",
"street": {
"id": 1738177,
"name": "On or near St Peters Lane"
},
"longitude": "-1.135305"
},
"context": "",
"outcome_status": null,
"persistent_id": "",
"crimeId": 116209060,
"location_subtype": "",
"month": "2024-01",
"scrapedAt": "2026-10-26T00:00:00+00:00"
}

Output Fields

FieldDescription
categoryCrime category assigned to the record.
location_typeType of location associated with the record.
locationNested location information, including coordinates and street details.
location.latitudeLatitude of the recorded crime location.
location.longitudeLongitude of the recorded crime location.
location.street.idIdentifier for the associated street.
location.street.nameStreet description or nearby location name.
contextAdditional contextual information, when available.
outcome_statusAssociated outcome information, when available.
persistent_idPersistent crime record identifier, when provided.
crimeIdCrime record ID.
location_subtypeMore specific location classification, when available.
monthReporting month in YYYY-MM format.
scrapedAtTimestamp indicating when the record was collected.

Use Cases

  • Neighbourhood Research: Explore reported crime categories around a property or geographic location for a selected month.
  • Crime Mapping: Collect street names and geographic coordinates for GIS applications, interactive maps, and heatmaps.
  • Crime Category Analysis: Focus on specific categories such as burglary, vehicle crime, or anti-social behaviour.
  • Location-Based Research: Compare crime records across different neighbourhoods and geographic areas.
  • Historical Crime Analysis: Collect monthly records to study changes in reported crime categories over time.
  • Custom Area Research: Use polygon searches to investigate a small geographic area instead of relying on a single search point.

Usage and Limits

  • Two search modes: Choose coordinate-based street searches or custom polygon searches.
  • Monthly data: Each search requires a reporting month in YYYY-MM format.
  • Crime categories: Select a category such as all-crime or another supported category.
  • Maximum records: Collect up to 1,000 records per run using maxItems.
  • Duplicate prevention: Records are deduplicated using crimeId.
  • Request pacing: The default delay is 1,000 milliseconds.
  • Single-response collection: Each location and month search uses one response. There is no page cursor or multi-page pagination.
  • Polygon searches: Custom polygon mode is less tested. Start with a small geographic area.

The source documents a request rate of approximately 15 requests per second, with bursts of up to 30. The actor's default one-second delay is intentionally more conservative. Follow the source's published usage guidance and avoid unnecessary request volume.

Frequently Asked Questions

1. What is the UK Police Crime by Location Scraper?

It is a data collection tool for retrieving publicly available street-level crime records across the UK using geographic coordinates or custom polygon areas.

2. Can I search crimes near a specific location?

Yes. Select street mode and provide the location's latitude and longitude using lat and lng.

3. Can I search a custom geographic area?

Yes. Select poly mode and provide polygon coordinates using the format lat,lng:lat,lng:.... Small areas are recommended because this mode is less tested.

4. Can I select a specific crime category?

Yes. Use the category parameter to select the crime category you want to collect. The example uses all-crime.

5. How do I select a reporting period?

Provide the date parameter in YYYY-MM format. Each search retrieves records for the selected month.

6. How many records can I collect per run?

The maximum is 1,000 records per run. Use maxItems to control how many records are saved.

7. Can I export the crime records?

Yes. You can export the collected dataset in JSON, CSV, Excel, and other formats supported by Apify.

8. Can I schedule recurring crime data collection?

Yes. Use Apify schedules to run the actor automatically for your selected location, category, and reporting month.

Explore other BigiByte tools for public data and geographic research:

  • Baton Rouge Property Information Scraper – Collect property address and location records for geographic research.
  • Baton Rouge Tax Roll Scraper – Retrieve public property tax roll and assessment records.
  • New Jersey Construction Permits Scraper – Collect government-published construction permit records.

BigiByte develops custom web scrapers, data extraction tools, and APIs for businesses and developers.

Visit BigiByte to explore our services or discuss your data collection requirements.

Trademark Notice

UK Police, and related names and trademarks belong to their respective owners. They are referenced solely to identify the source of the data. This actor does not imply affiliation, sponsorship, endorsement, or partnership with the UK Police or its associated organizations.

Disclaimer

This actor is an independent data collection toole.uk or UK law enforcement organizations. Crime data availability, accuracy, classification, and completeness depend on the original source. Collected records should not be treated as a complete account of all crime or as a guarantee of current neighbourhood safety. Users are responsible for reviewing applicable licensing conditions, attribution requirements, privacy obligations, and source terms before using or redistributing collected information.

This actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

  • Personal Data: Follow applicable privacy laws, including GDPR and CCPA, when collecting or processing personal information.
  • Copyrighted Content: Check whether collected material is protected by copyright and whether you have permission to reuse or redistribute it.
  • Platform Terms and Rate Limits: Respect the source's terms of use, request limits, and applicable data licensing requirements.

This information is provided for general guidance only and does not constitute legal advice. For more information, read Apify's guide to web scraping legality.