{"openapi":"3.1.0","info":{"title":"UK Police API","version":"1.0.0","description":"Open UK policing data as an API, from the official data.police.uk service (UK Home Office). Pull street-level crimes within about a mile of any coordinate for a given month — each with its category, approximate street, location and judicial outcome — query stop-and-search records (type, demographics, object of search, outcome and legislation) for the same area, browse the 44 territorial police forces with contact and engagement details, and list the standard crime categories. Covers England, Wales and Northern Ireland. Ideal for property and neighbourhood-safety apps, real-estate and relocation tools, local-news and civic-data dashboards, and crime and policing research.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/ukpolice-api","description":"oanor gateway"}],"tags":[{"name":"Policing"},{"name":"Forces"},{"name":"Reference"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/crimes":{"get":{"operationId":"get_v1_crimes","tags":["Policing"],"summary":"Street-level crimes around a point","description":"","parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude, e.g. 52.629729","schema":{"type":"string"},"example":"52.629729"},{"name":"lng","in":"query","required":true,"description":"Longitude, e.g. -1.131592","schema":{"type":"string"},"example":"-1.131592"},{"name":"date","in":"query","required":false,"description":"Month YYYY-MM (default latest), e.g. 2024-01","schema":{"type":"string"},"example":"2024-01"},{"name":"category","in":"query","required":false,"description":"Crime category slug (default all-crime), e.g. burglary","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max crimes (1-500, default 100)","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/stops":{"get":{"operationId":"get_v1_stops","tags":["Policing"],"summary":"Stop-and-search around a point","description":"","parameters":[{"name":"lat","in":"query","required":true,"description":"Latitude","schema":{"type":"string"},"example":"52.629729"},{"name":"lng","in":"query","required":true,"description":"Longitude","schema":{"type":"string"},"example":"-1.131592"},{"name":"date","in":"query","required":false,"description":"Month YYYY-MM (default latest)","schema":{"type":"string"},"example":"2024-01"},{"name":"limit","in":"query","required":false,"description":"Max records (1-500, default 100)","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/forces":{"get":{"operationId":"get_v1_forces","tags":["Forces"],"summary":"Police forces (list, or detail by id)","description":"","parameters":[{"name":"id","in":"query","required":false,"description":"Force id for detail, e.g. leicestershire","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/categories":{"get":{"operationId":"get_v1_categories","tags":["Reference"],"summary":"Crime categories","description":"","parameters":[{"name":"date","in":"query","required":false,"description":"Month YYYY-MM (default latest)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Source & usage notes","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":5500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":640,"monthly_call_quota":75000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1840,"monthly_call_quota":380000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":4640,"monthly_call_quota":1900000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/ukpolice-api"}