CityCheck API
Free public API for US city safety and crime data. 3,200+ cities, FBI Uniform Crime Report data. No API key required.
Quick Start
curl https://citycheck.live/api/v1/safety/city/california/los-angelesAll responses include source, sourceUrl, dataYear, and lastUpdated fields.
Base URL
https://citycheck.live/api/v1Machine-Readable Spec
- OpenAPI 3.0: /api/v1/openapi
- AI Plugin: /.well-known/ai-plugin.json
- LLMs.txt: /llms.txt
Safety Endpoints
/api/v1/safety/citiesList 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 | populationlimit(int)Max results (default: all)Example
curl "https://citycheck.live/api/v1/safety/cities?state=texas&sort=safest&limit=10"/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/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/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/api/v1/safety/safestTop 50 safest cities nationally, or within a state.
Parameters
state(string)Filter to a specific statelimit(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.