# UK Crime Check

> UK Crime Check is a paid API for AI agents from uk-crime-check.agent-fee-check.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Returns recorded street crime statistics near a UK postcode for the latest published month, including totals, breakdowns by crime type and outcome, and top streets.

## Facts

- Endpoint: GET https://uk-crime-check.agent-fee-check.workers.dev/crime?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-crime-check-fbacbfa7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zu2C14ItOTO3RJF-AL6gL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability uk-crime-check-fbacbfa7
```

Example prompt: Can you check the crime statistics near the postcode SW1A 1AA — I want to know the total crimes, breakdown by type, and which streets had the most incidents last month?

## When to prefer this

Use this endpoint when you need quick, structured crime statistics for a specific UK location identified by postcode, especially for property research, rental decisions, or area safety assessments. It is ideal when you need a ready-made summary plus machine-readable breakdowns by crime type and outcome without having to query data.police.uk directly or parse raw police data feeds.

## Known failure modes

- Invalid or unrecognised postcode returns an error — ensure the postcode is a valid full UK postcode (e.g. LU6 3BS)
- Postcodes in Scotland are not covered by data.police.uk and will not return results
- If data.police.uk has not yet published data for the current month, the previous month's data is returned
- Network or upstream API timeout may cause delayed or failed responses

## How this service works

Recorded street crime near a UK postcode from data.police.uk. Give a postcode in England, Wales or Northern Ireland; get the latest published month of crime within 1 mile: total, counts by crime type and by outcome, the streets with most reports, and a summary. Totals only; locations are anonymised by police.uk. Use for property, rental and area research.

## Output

Returns a JSON object with the postcode queried, the latest published month of data, total crime count, an array of crimes by category (type and count), an array of crimes by outcome (type and count), an array of top streets with the most reports, the police district, the retrieval timestamp, and a plain-English summary of the crime landscape.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "postcode"
     ],
     "properties": {
      "postcode": {
       "type": "string",
       "description": "Full UK postcode, e.g. LU6 3BS"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "month": "2026-08",
  "total": 226,
  "radius": "1 mile",
  "summary": "226 crimes recorded within 1 mile of LU6 3BS in 2026-08. Most common: violence and sexual offences 73, anti-social behaviour 48, shoplifting 37.",
  "district": "Central Bedfordshire",
  "postcode": "LU6 3BS",
  "by_outcome": [
   {
    "count": 61,
    "outcome": "Investigation complete; no suspect identified"
   },
   {
    "count": 55,
    "outcome": "Under investigation"
   }
  ],
  "by_category": [
   {
    "count": 73,
    "label": "Violence and sexual offences",
    "category": "violent-crime"
   },
   {
    "count": 48,
    "label": "Anti-social behaviour",
    "category": "anti-social-behaviour"
   }
  ],
  "top_streets": [
   {
    "count": 28,
    "street": "On or near Shopping Area"
   },
   {
    "count": 26,
    "street": "On or near Supermarket"
   }
  ],
  "retrieved_at": "2026-10-11T18:16:44.215Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-crime-check-fbacbfa7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uk-crime-check.agent-fee-check.workers.dev](https://www.zero.xyz/host/uk-crime-check.agent-fee-check.workers.dev/llms.txt)
