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
CrimeSolutions Programs API
Office of Justice Programs, National Institute of Justice
CrimeSolutions is a central resource to help practitioners and policymakers understand what works in criminal and juvenile justice-related programs and practices. It presents programs and practices that have undergone rigorous evaluations and meta-analyses to assess the strength of the evidence about whether these programs achieve criminal justice, juvenile justice, and crime victim services outcomes. The CrimeSolutions programs and practices are accessible via APIs that can return JSON and CSV formats.
National Crime Victimization Survey API
Office of Justice Programs, Bureau of Justice Statistics
The National Crime Victimization Survey (NCVS) API is a RESTful web service that provides data on violent and property victimization by select victim, household, and incident characteristics. The NCVS is the nation's primary source of information on criminal victimization. Each year, data are obtained from a nationally representative sample of about 240,000 persons in about 150,000 households. Persons are interviewed on the frequency, characteristics, and consequences of criminal victimization in the United States. NCVS Select datasets are available through the API and include commonly used variables for analysis. The NCVS API can return data to users in multiple formats including JSON, XML and CSV formats.
FBI Crime Data API
Federal Bureau of Investigation
The FBI Crime Data API is a read-only web service that returns JSON or CSV data. It is broadly organized around the data reporting systems the FBI Uniform Crime Reporting (UCR) program uses and their related entities. Agencies submit data using one of two reporting formats – the Summary Reporting System (SRS) or the National Incident Based Reporting System (NIBRS). SRS data is the legacy format that provides aggregated counts of the reported crime offenses known to law enforcement by location. NIBRS is a newer format that provides an incident-based view of crime; it includes information about each offense, such as the time of day an incident occurred, the demographics of the offenders/victims, the known relationships between the offenders and victims, and many other details around how and where crime occurs.
Foreign Agents Registration Act API
National Security Division
The FARA.gov API allows the public to access registrant data and filing documents submitted under the Foreign Agents Registration Act (FARA). The data include registrations (initial filings for primary registrant), short-forms (individual foreign agents) and foreign principals.
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.
Digital Strategy .json and .xml files
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.