Naar de inhoud
GET /v1/meta

Source & usage notes

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/ukpolice-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/ukpolice-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ukpolice-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ukpolice-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/ukpolice-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "England, Wales & Northern Ireland policing data. /v1/crimes = street-level crimes within ~1 mile of lat/lng for a month (category= defaults to all-crime, date=YYYY-MM defaults to latest); /v1/stops = stop-and-search at a location/month; /v1/forces = the 44 police forces (id= for detail); /v1/categories = crime categories. Data lags ~2 months; omit date to get the latest available month.",
        "source": "data.police.uk (UK Home Office open policing data)",
        "endpoints": [
            "/v1/crimes",
            "/v1/stops",
            "/v1/forces",
            "/v1/categories",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:34.943Z",
        "request_id": "c23985f7-72bb-4b99-abdf-0ac813c0fc46"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}