FBI Crime Data API
by cde.ucr.cjis.gov
Government and law
Added on November 7th, 2026
Checked and working on November 7th, 2026
Visit cde.ucr.cjis.gov →
What it does
The FBI Crime Data API gives US crime statistics reported by police agencies to the FBI: offences, arrests, victims and offenders per agency, state and year, for example to compare crime rates between states. Responses are JSON. Free with a free api.data.gov key.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a free api.data.gov key.
- From the browser
- Yes (CORS)
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- cde.ucr.cjis.gov
- Last checked
- Working on November 7th, 2026
More information: https://cde.ucr.cjis.gov/LATEST/webapp/#/pages/docApi
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.usa.gov/crime/fbi/cde/agency/byStateAbbr/CA' \
-H 'X-Api-Key: YOUR_API_KEY'
JavaScript
const response = await fetch("https://api.usa.gov/crime/fbi/cde/agency/byStateAbbr/CA", {
headers: {
"X-Api-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.usa.gov/crime/fbi/cde/agency/byStateAbbr/CA",
headers={
"X-Api-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.