gov

UK street-level crime around a location from the Home...

UK street-level crime around a location from the Home Office data.police.uk service. Give a latitude/longitude (and optional month YYYY-MM, defaults to the latest available — UK data lags ~2 months) and get the total crime count, a breakdown by category (anti-social behaviour, burglary, violent crime, vehicle crime, etc.), and recent individual records (category, approximate street, lat/lon, and outcome status). Free, Open Government Licence (commercial use permitted). Location-risk signal an LLM cannot recall — for property, insurance, and safety agents. Locations are anonymised to nearby map points by the Home Office.

get/api/gov/uk-crime

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/gov/uk-crime
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

latnumber required

Latitude in decimal degrees (WGS84).

lngnumber required

Longitude in decimal degrees (WGS84).

monthstring

Calendar month (1–12).

limitinteger

Maximum number of results to return.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.