Discover/data.ers.usda.gov API
live

data.ers.usda.gov APIdata.ers.usda.gov

Access county-level unemployment, income, poverty, demographics, and rural classifications for all 3,143 US counties via the USDA ERS Rural Atlas API.

Endpoints
5
Updated
3mo ago
Try it
Maximum number of counties to return. If omitted, returns all matching counties.
2-digit state FIPS code to filter by state (e.g., '01' for Alabama, '06' for California).
5-digit county FIPS code for a specific county (e.g., '06037' for Los Angeles County). Lea
api.parse.bot/scraper/c7b74021-b401-4802-835a-401aee92b836/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/c7b74021-b401-4802-835a-401aee92b836/get_county_economic_data?limit=1&county_fips=06037' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Get comprehensive economic data for counties including unemployment rates (2007-2021), employment change, employment by industry sector, median household income, per capita income, and poverty rates. Combines Jobs and Income data services.

Input
ParamTypeDescription
limitintegerMaximum number of counties to return. If omitted, returns all matching counties.
state_fipsstring2-digit state FIPS code to filter by state (e.g., '01' for Alabama, '06' for California). Leading zeros preserved.
county_fipsstring5-digit county FIPS code for a specific county (e.g., '06037' for Los Angeles County). Leading zeros preserved.
Response
{
  "type": "object",
  "fields": {
    "filter": "object with state_fips and county_fips filter values",
    "counties": "array of county objects with fips, state, county, unemployment (rates 2007-2021), employment_change (percent changes), employment_by_industry (10 sectors), income (median_household_income, per_capita_income), poverty (poverty_rate, child_poverty_rate, deep_poverty_rate, deep_child_poverty_rate)",
    "total_counties": "integer total count of returned counties"
  },
  "sample": {
    "data": {
      "filter": {
        "state_fips": null,
        "county_fips": "06037"
      },
      "counties": [
        {
          "fips": "06037",
          "state": "CA",
          "county": "Los Angeles",
          "income": {
            "per_capita_income": 37924,
            "median_household_income": 76367
          },
          "poverty": {
            "poverty_rate": 13.86,
            "deep_poverty_rate": 6.12,
            "child_poverty_rate": 18.78,
            "deep_child_poverty_rate": 7.58
          },
          "unemployment": {
            "rate_2007": 5.1,
            "rate_2010": 12.6,
            "rate_2015": 6.7,
            "rate_2016": 5.3,
            "rate_2017": 4.8,
            "rate_2018": 4.6,
            "rate_2019": 4.4,
            "rate_2020": 12.3,
            "rate_2021": 8.9
          },
          "employment_change": {
            "pct_change_2007_10": -6.4,
            "pct_change_2007_21": -1.4,
            "pct_change_2010_21": 5.3,
            "pct_change_2019_20": -11.6,
            "pct_change_2020_21": 4.4
          },
          "employment_by_industry": {
            "trade_pct": 13.17,
            "mining_pct": 0.06,
            "services_pct": 50.98,
            "government_pct": 3.57,
            "agriculture_pct": 0.39,
            "information_pct": 4.39,
            "construction_pct": 6.17,
            "manufacturing_pct": 8.9,
            "transportation_pct": 6.4,
            "finance_insurance_real_estate_pct": 5.97
          }
        }
      ],
      "total_counties": 1
    },
    "status": "success"
  }
}

About the data.ers.usda.gov API

This API exposes economic, demographic, and classification data for all 3,143 US counties from the USDA Economic Research Service Rural Atlas, spread across 5 endpoints. get_county_economic_data returns unemployment rates for 2007–2021, per capita income, median household income, and poverty rates. get_county_classifications returns rural-urban continuum codes, metro/nonmetro status, and economic dependency types. All endpoints accept FIPS-based filters at the state or county level.

Economic and Income Data

The get_county_economic_data endpoint combines Jobs and Income data layers into a single county-level response. Fields include annual unemployment rates from 2007 through 2021, employment change as a percent, employment breakdowns by industry sector, median household income, per capita income, and poverty rates. Filter by state_fips (2-digit, e.g. '06' for California) or county_fips (5-digit, e.g. '06037' for Los Angeles County). All FIPS codes preserve leading zeros.

Demographics

get_county_demographics returns population estimates, density, and change rates alongside net migration, natural change, and international migration figures. Age distribution, race and ethnicity breakdowns, education attainment levels, household characteristics, and foreign-born population share are all included in the county objects. The same state_fips and county_fips filters apply, and omitting both returns data for all counties.

County Classifications

get_county_classifications surfaces the USDA's official typology codes: rural_urban_continuum_code_2013, urban_influence_code_2013, metro/nonmetro designation, and economic dependency classifications such as farming, manufacturing, mining, government, and recreation. Special designations like low employment, population loss, and retirement destination counties are also included. These codes are widely used in rural policy research.

Layer Discovery and Raw Queries

list_available_layers enumerates all available layers across five services — People, Jobs, Income, County_Classifications, and Veterans — returning each layer's id, name, and default_visibility. The query_layer endpoint lets you pull raw attribute data from any specific layer by passing the service name and an optional layer_id. Response field names vary by layer, so using list_available_layers first is the practical way to know what fields a given layer exposes.

Common use cases
  • Map county-level unemployment trends from 2007 to 2021 to identify regions still recovering from the 2008 recession
  • Filter nonmetro counties by economic dependency type (farming, mining, recreation) for rural development grant targeting
  • Join per capita income and poverty rate fields with census geometries for choropleth mapping
  • Identify retirement-destination counties using classification flags for demographic research
  • Compare net migration and natural population change across states to analyze rural population loss
  • Pull Veterans service layer data alongside income figures to assess economic conditions for veteran populations
  • Build a county comparison tool using FIPS-filtered queries across economic, demographic, and classification endpoints
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does USDA ERS have an official developer API?+
Yes. The USDA Economic Research Service exposes its Rural Atlas data through ArcGIS REST services at https://data.ers.usda.gov/arcgis/rest/services/Atlas. This Parse API organizes those services into structured, filterable endpoints.
How do I retrieve data for a single county using get_county_economic_data?+
Pass the 5-digit county_fips parameter, for example '06037' for Los Angeles County. The response returns a counties array with one object containing unemployment rates, income fields, and employment sector data for that county, plus a total_counties count of 1. You can also pass only state_fips to get all counties within a state.
What time period does the unemployment data cover?+
The get_county_economic_data endpoint returns unemployment rates spanning 2007 through 2021. Data for years before 2007 or after 2021 is not currently available through this endpoint. You can fork this API on Parse and revise it to target a different layer if more recent ERS data layers become available.
Does the API include city-level or census-tract-level data?+
No. All endpoints return data at the county level only, covering the 3,143 US counties and county equivalents identified by FIPS code. Sub-county granularity such as census tracts, ZIP codes, or cities is not currently covered. You can fork this API on Parse and revise it to add endpoints targeting finer geographic units from compatible ArcGIS services.
What does the query_layer endpoint return, and when should I use it instead of the named endpoints?+
Use query_layer when you need data from a specific layer not surfaced by the three named endpoints — particularly Veterans data or any layer with unusual fields. Pass the service name (e.g. veterans) and a layer_id from list_available_layers. The response includes a counties array of raw attribute objects; field names vary by layer and are not normalized across services.
Page content last updated . Spec covers 5 endpoints from data.ers.usda.gov.
Related APIs in Government PublicSee all →
identify.plantnet.org API
Identify and explore plant species by searching through Pl@ntNet's comprehensive botanical database to access detailed information like taxonomic families, genera, species descriptions, photos, and community observations. Track plant distributions, view contribution trends, and discover expert contributors within the platform's collaborative plant identification community.
data.lime.bike API
Access real-time availability data for Lime bikes and scooters, including station locations, vehicle status, system alerts, and geofencing zones across multiple cities. Monitor micromobility inventory and service information to find nearby vehicles or plan your trips effectively.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
mahatenders.gov.in API
Access Maharashtra government tenders from mahatenders.gov.in, browsing them by closing date or by organization with full tender details and pagination support. Find and review procurement opportunities across different government departments in one place.