/v1/meta
Source & usage notes
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}