GetTorontoSafety
Returns one bounded Toronto Police Service dataset with source, semantics, and freshness metadata.
Authorizations
User-issued WorldMonitor API key.
Query Parameters
Dataset selector. Accepted values: reported_occurrence, annual_aggregate.
Maximum rows to return. The service defaults to 50 and caps this value at 100.
Optional case-insensitive police-division filter.
Optional case-insensitive neighbourhood filter.
Optional case-insensitive offence filter for tps_mci.
Optional event-year filter for tps_calls_attended.
Optional JMESPath expression applied server-side to project or reduce the JSON response before it is returned (mirrors the MCP jmespath argument). Invalid expressions, expressions larger than 1024 UTF-8 bytes, or projections that exceed the 256 KB output cap return HTTP 400 with a {_jmespath_error, original_keys} envelope. Grammar and worked examples: https://www.worldmonitor.app/docs/mcp-jmespath.
Response
Successful response
Warning: Values > 2^53 may lose precision in JavaScript
Warning: Values > 2^53 may lose precision in JavaScript
Warning: Values > 2^53 may lose precision in JavaScript
