How We Built an Open Crime Data Platform for Brazil (3 Million Records)
Brazil has one of the world's highest homicide rates — over 47,000 murders per year. Yet accessing crime statistics is surprisingly hard. Data is fragmented across 27 state secretariats, each with different formats, different crime taxonomies, and wildly inconsistent update schedules.
We built Crime Brasil to fix that.
What it does
Crime Brasil is an interactive crime map covering Rio Grande do Sul, Rio de Janeiro, and Minas Gerais — with bairro (neighborhood) level granularity for RS, and municipality-level for the others.
Key features:
3+ million individual crime records for RS (2022–2026)
Choropleth maps at state → city → neighborhood drill-down
Per-100K-inhabitants rate normalization (so you can actually compare)
Crime type filters (homicide, robbery, drug offenses, etc.)
Time range selector (last 6/12/24/36 months or full history)
API access — all data available via REST endpoints
The tech stack
Backend : FastAPI +…