---
title: "Homicide rate and PM2.5 exposure with years, plus the INFORM risk band, side by side or ranked"
method: GET
path: "/api/safety-stats.json"
---

# Homicide rate and PM2.5 exposure with years, plus the INFORM risk band, side by side or ranked

`GET /api/safety-stats.json`

## Request

- Base URL: `https://geo-parity.com`
- URL: `https://geo-parity.com/api/safety-stats.json`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in query parameter `key`

World Bank WDI intentional homicides per 100,000 and PM2.5 µg/m³, newest observation at or after the vintage floor (older figures dropped, never served as current), with INFORM disaster risk composed. `countries` compares; otherwise ranked by `metric`, lowest first. For information only; every response says so first.

## Query parameters

- `countries` string
- `metric` 'homicide' | 'pm25'
- `sort` 'lowest' | 'highest'
- `limit` number

## Response `200`

Rows with each figure's year, or a ranking; attribution names both WDI series

## Other responses

- `400`: Fewer than two countries (TOO_FEW) or an unknown metric (INVALID_METRIC)
- `422`: A country outside the spine (UNKNOWN_COUNTRY) or with no figure at the vintage (NO_DATA)

---

[API](https://skmtc.dev/geo-parity/apis/geo-parity-api.md) · [All operations](https://skmtc.dev/geo-parity/apis/geo-parity-api/llms.txt) · [OpenAPI document](https://skmtc.dev/geo-parity/apis/geo-parity-api/revisions/8ddff47a0806?raw)
