In an effort to increase transparency and engage with the public, the Department of Justice will continue to identify and publish new datasets as part of the DOJ Open Data Program and Data Inventory. To allow developers to utilize the data and content in a meaningful way, the Department is working on developing APIs to access the machine readable versions of this data.
Department of Justice API and Web Services
Crime Solutions Shareable Program Record Widgets
Office of Justice Programs, National Institute of Justice
If you would like to provide your site visitors with access to the program profiles and ratings most recently posted to CrimeSolutions.gov, add one of the available CrimeSolutions.gov program widgets to your site. In addition to the "Latest Programs" widget, topical widgets are also available which provide information about recently posted programs associated with the following topics: Corrections & Reentry, Courts, Crime & Crime Prevention, Drugs & Substance Abuse, Juveniles, Law Enforcement, Technology & Forensics, and Victims.
National Crime Victimization Survey API
Office of Justice Programs, Bureau of Justice Statistics
The National Crime Victimization Survey (NCVS) RESTful API is a web service that provides criminal victimization data obtained annually from a nationally representative sample of about 79,800 households and 143,210 persons interviewed each year. NCVS data describe the frequency, characteristics and consequences of criminal victimization in the United States. The NCVS provides the largest national forum for victims to describe the impact of crime and characteristics of violent offenders. It is one of two primary data collections about crime in the United States and is the only source of data about crimes not reported to the police. The NCVS API page provides developers with end-points in XML, JSON, and CSV formats along with related codebooks, methodology, metadata and usage instructions.
ATF Trace Data Report API
Bureau of Alcohol, Tobacco, Firearms and Explosives
Each year, ATF's National Tracing Center processes more than 300,000 trace requests for crime guns submitted by federal, state, local and international law enfocement agencies. This data set provides results of those traces, including year of recovery/trace, city/state in which the gun was recovered, type of gun, category of crime associated with the gun, source state for the gun, and time-to-crime rates.
DOJ News API
Department of Justice, Office of Public Affairs
The DOJ News API makes more than 14,000 press releases, speeches, and blog entries from the Office of Public Affairs available as a web service. By providing this digital distribution, the Office is ensuring that the public is informed about the Department's activities, and about the priorities and policies of the Attorney General and the President with regard to law enforcement and legal affairs. The API provides developers with the ability to sort and filter responses by date, DOJ component, and topic. Responses in both JSON and XML formats are available. See the Justice.gov API Documentation page for more details.
Code Repositories and Open Source Projects
Developer Resources - FOIA XML schema and data set downloads
FOIA.gov houses annual Freedom of Information Act (FOIA) data from all agencies subject to the FOIA. This data is collected annually and available to the public as PDF reports or in various machine-readable formats on FOIA.gov.
DOJ Public Data List .json file
Justice.gov Open Source Contributions
Justice.gov was recently updated using the open source content management framework called Drupal. In the course of the project, several new Drupal modules and module versions were created and contributed back to the open source community. These contributions can be found on Drupal.org.
Please email us with any questions, comments, or recommendations.
Other Government Developer Resources