Zum Inhalt springen
GET /v1/meta

Source & usage notes

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/ukpolice-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}