USDA Developer Application Programming Interfaces (APIs)
On USDA's Developer Resource page you can find and access featured data or web services from the Department's agencies and mission areas. This page will be updated as agencies make available new developer tools and data resources, so be sure to check back often.
Do you have feedback, ideas, or questions for USDA APIs? Use the USDA GitHub repository's Issue Tracker to join the discussion.
Agricultural Marketing Service Farmers Market Directory API - This web API provides information about U.S. farmers market locations, directions, operating times, product offerings, and accepted forms of payment. The directory is one of the USDA's most popular consumer search engines and includes information about more than 7,800 farmers market listings available for all 50 states.
Animal and Plant Health Inspection Service Animal Identification Management System - The Animal Identification Management System (AIMS) is a Web-based program used to administer official animal identification numbers and devices and other events associated with an official identification numbers.
Economic Research Service ERS Content API - This web API provides programmatic access to the primary content areas of the ERS public website, including Topics, Publications, Amber Waves online magazine, etc.
Farm Service Agency National Agriculture Imagery Program (NAIP) Status Web Service - This webservice allows Farm Service Agency state and county personnel to easily attain information on the status of overall NAIP acquisition and inspection for their state.
Forest Service Recreation Information Database - The Recreation Information Database (RIDB) is a warehouse of information about Federal recreation sites with the ability to export the data to state tourism portals, recreation-related businesses, etc. It is also the "back end" supplying data to the Recreation.gov portal for trip planning information regarding more than 3,000 Federal recreation sites.
National Agricultural Statistics Service Cropland Data Layer - The geospatial data product called the Cropland Data Layer (CDL) is hosted on CropScape. The CropScape website now offers a cultivated data layer called the "Crop Mask Layer". This cultivated crop mask data layer has a 30 meter spatial resolution and covers the continental United States. It is based on Cropland Data Layers from 2007 through 2011 with plans to update this crop mask data layer annually.
Quick Stats - This API provides direct access to the statistical information contained in our on-line Quick Stats database containing official estimates related to U.S. agricultural production. These data were collected through our ongoing annual survey program as well as the Census of Agriculture, which is conducted every five years.
Natural Resources Conservation Service National Water and Climate Center AWDB database - The National Water and Climate Center (NWCC) maintains a large database of soil, water, and climate data known as AWDB (air and water database). This database includes data from NWCC's extensive automated data collection system of snowpack and related climate data called SNOTEL (for SNOwpack TELemetry), its Soil Climate Analysis Network (SCAN) stations, as well as data from snow courses, streamflow stations, reservoirs, climate indices, National Weather Service COOP stations, 30-year normals, water supply forecasts, and more.
Soil Data Mart Soil Data Mart - Soil Data Access is the name of a suite of web services and applications whose purpose is to meet requirements for requesting and delivering soil survey spatial and tabular data, that are not being met by the current Soil Data Mart and Geospatial Data Gateway websites.