Pay-per-call crime summary for AI agents
uk-postcode-x402.onrender.com/uk-crime
Pay-per-call crime summary for AI agents. Send a postcode in England or Wales and get the latest month of police-recorded street crime within about 1 mile: total count, counts by category (violence, burglary, anti-social behaviour, etc.), the streets with most incidents and case outcomes, as clean JSON. Ideal for property, relocation and safety questions. Official data.police.uk open data. Errors
GET
https://uk-postcode-x402.onrender.com/uk-crimeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://uk-postcode-x402.onrender.com/uk-crime?q=L35+1QA");
console.log(await res.json());Example input
{
"q": "L35 1QA"
}