CCCityCheck

CityCheck API

Free public API for US city safety and crime data. 3,200+ cities, FBI Uniform Crime Report data. No API key required.

FreeNo API keyCORS enabled100 req/min rate limit

Quick Start

curl https://citycheck.live/api/v1/safety/city/california/los-angeles

All responses include source, sourceUrl, dataYear, and lastUpdated fields.

Base URL

https://citycheck.live/api/v1

Machine-Readable Spec

Safety Endpoints

GET/api/v1/safety/cities

List all 3,200+ cities with safety grades and crime rates.

Parameters

state(string)Filter by state slug (e.g., california)
sort(string)safest | most-dangerous | population
limit(int)Max results (default: all)

Example

curl "https://citycheck.live/api/v1/safety/cities?state=texas&sort=safest&limit=10"
GET/api/v1/safety/city/{state}/{city}

Full safety profile for a city. Includes grade, risk level, crime breakdowns, percentiles, trend, victim odds, and FAQs.

Example

curl https://citycheck.live/api/v1/safety/city/new-york/new-york
GET/api/v1/safety/state/{state}

State overview with context and all cities ranked by population.

Example

curl https://citycheck.live/api/v1/safety/state/california
GET/api/v1/safety/compare/{slug}

Head-to-head safety comparison. Returns both profiles plus computed comparison.

Parameters

slug(string){city}-{state}-vs-{city}-{state}

Example

curl https://citycheck.live/api/v1/safety/compare/houston-texas-vs-dallas-texas
GET/api/v1/safety/safest

Top 50 safest cities nationally, or within a state.

Parameters

state(string)Filter to a specific state
limit(int)Number of results (default: 50, max: 200)

Example

curl "https://citycheck.live/api/v1/safety/safest?state=texas&limit=20"

Rate Limits

100 requests per minute per IP address. If you exceed the limit, you will receive a 429 response with a Retry-After header.

Responses include Cache-Control: public, max-age=3600. Please cache on your end.

Attribution

This API is free. When using CityCheck data, please include attribution:

"Data from CityCheck (citycheck.live)"

Every API response includes source and sourceUrl fields with the correct attribution and link back to the relevant page.

Data Sources

Safety grades and crime rates are derived from the FBI Uniform Crime Report (UCR) program, supplemented with US Census population data. See our methodology and data sources pages for details.