# County Data Lookup API

> County Data Lookup is a county lookup API that retrieves income, poverty rate, and life expectancy for any US county by state and county name, along with its FIPS code and time zone. Paid plans add age demographics, educational attainment, health indicators, ZIP codes, and cost of living.

**Endpoint:** `GET https://api.apiverve.com/v1/countydata`  
**Category:** Geography  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/countydata

## Overview

A US county information API for county facts and statistics, looked up by state code and county name. Every plan returns the county FIPS code, time zone, life expectancy, average income and poverty rate; paid plans add age and sex breakdowns, health and education statistics, area, coordinates, cost of living and the county's ZIP codes.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/countydata?state=MO&county=Jackson" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `state` | string | Yes | The US state the county is in: a two-letter code (MO) or the full name (Missouri). length 2-24 |
| `county` | string | Yes | The name of the US county to get data about (e.g. Jackson). Accents, punctuation, spacing and St/Saint are ignored, so Prince Georges, De Kalb and Saint Louis City match |

## Response fields

- `name` — string · County name in lowercase format
- `state` — string · Two-letter state code where county is located
- `age` — object · Age distribution percentages by age groups · (premium)
  - `age.0-4` — number · Percentage of population aged 0-4 years · (premium)
  - `age.5-9` — number · Percentage of population aged 5-9 years · (premium)
  - `age.10-14` — number · Percentage of population aged 10-14 years · (premium)
  - `age.15-19` — number · Percentage of population aged 15-19 years · (premium)
  - `age.20-24` — number · Percentage of population aged 20-24 years · (premium)
  - `age.25-29` — number · Percentage of population aged 25-29 years · (premium)
  - `age.30-34` — number · Percentage of population aged 30-34 years · (premium)
  - `age.35-39` — number · Percentage of population aged 35-39 years · (premium)
  - `age.40-44` — number · Percentage of population aged 40-44 years · (premium)
  - `age.45-49` — number · Percentage of population aged 45-49 years · (premium)
  - `age.50-54` — number · Percentage of population aged 50-54 years · (premium)
  - `age.55-59` — number · Percentage of population aged 55-59 years · (premium)
  - `age.60-64` — number · Percentage of population aged 60-64 years · (premium)
  - `age.65-69` — number · Percentage of population aged 65-69 years · (premium)
  - `age.70-74` — number · Percentage of population aged 70-74 years · (premium)
  - `age.75-79` — number · Percentage of population aged 75-79 years · (premium)
  - `age.80-84` — number · Percentage of population aged 80-84 years · (premium)
  - `age.85+` — number · Percentage of population aged 85 years and older · (premium)
- `male` — number · Total male population count in county · (premium)
- `female` — number · Total female population count in county · (premium)
- `health` — object · Health metrics and indicators for the county · (premium)
  - `health.poorhealth` — number · Percentage of population reporting poor health status · (premium)
  - `health.physicallyunhealthydays` — number · Average physically unhealthy days per month · (premium)
  - `health.mentallyunhealthydays` — number · Average mentally unhealthy days per month · (premium)
  - `health.lowbirthweightpercent` — number · Percentage of low birth weight births · (premium)
  - `health.smokerspercent` — number · Percentage of population that smokes · (premium)
  - `health.obesitypercent` — number · Percentage of population classified as obese · (premium)
  - `health.foodenvindex` — number · Food environment index rating for county · (premium)
  - `health.physicallyinactivepercent` — number · Percentage of physically inactive population · (premium)
  - `health.excessivedrinkingpercent` — number · Percentage of excessive alcohol drinkers · (premium)
  - `health.alcoholimpaireddrivingdeaths` — number · Annual alcohol-impaired driving deaths in county · (premium)
  - `health.teenbirthrate` — number · Birth rate among teenage population · (premium)
  - `health.uninsured` — number · Percentage of uninsured population · (premium)
  - `health.withannualmammogram` — number · Percentage receiving annual mammogram screening · (premium)
  - `health.vaccinated` — number · Percentage of vaccinated population · (premium)
  - `health.childreninpoverty` — number · Percentage of children living in poverty · (premium)
  - `health.80thpercentileincome` — number · 80th percentile income level in dollars · (premium)
  - `health.20thpercentileincome` — number · 20th percentile income level in dollars · (premium)
  - `health.childreninsingleparenthouseholds` — number · Percentage of children in single-parent households · (premium)
  - `health.violentcrimerate` — number · Violent crime rate per 100,000 people · (premium)
  - `health.averagedailypm25` — number · Average daily PM2.5 air pollution level · (premium)
  - `health.severehousingproblems` — number · Percentage with severe housing cost burden · (premium)
  - `health.drivealonetowork` — number · Percentage driving alone to work · (premium)
  - `health.longcommutedrivesalone` — number · Percentage with long commute driving alone · (premium)
- `longitude` — number · Geographic longitude coordinate of county · (premium)
- `latitude` — number · Geographic latitude coordinate of county · (premium)
- `education` — object · Educational attainment distribution for county · (premium)
  - `education.lessthanhighschool` — number · Percentage with less than high school education · (premium)
  - `education.highschool` — number · Percentage with high school education · (premium)
  - `education.somecollege` — number · Percentage with some college education · (premium)
  - `education.bachelors` — number · Percentage with bachelor's degree or higher · (premium)
- `zipcodes` — array · Array of all ZIP codes within the county · (premium)
- `lifeexpectancy` — number · Average life expectancy in years
- `avgincome` — number · Per-capita personal income in dollars (BEA: total personal income divided by population), not household income
- `povertyrate` — number · Percentage of population below poverty line
- `costofliving` — object · Cost of living metrics for the county · (premium)
  - `costofliving.livingwage` — number · Living wage per hour in dollars · (premium)
  - `costofliving.foodcosts` — number · Average annual food costs in dollars · (premium)
  - `costofliving.medicalcosts` — number · Average annual medical costs in dollars · (premium)
  - `costofliving.housingcosts` — number · Average annual housing costs in dollars · (premium)
  - `costofliving.taxcosts` — number · Average annual tax costs in dollars · (premium)
- `landareakm2` — number · Land area of county in square kilometers · (premium)
- `areakm2` — number · Total area of county in square kilometers · (premium)
- `countyFips` — string · Five-digit FIPS code of the county (state + county, e.g., 29095)
- `stateFips` — string · Two-digit FIPS code of the county's state (e.g., 29)
- `timezone` — string · IANA time zone at the county's centre (e.g., America/Chicago)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "name": "jackson county",
    "state": "MO",
    "age": {
      "0-4": 0.0644100874666257,
      "5-9": 0.06532756955438819,
      "10-14": 0.06595060390235714,
      "15-19": 0.05967616438434107,
      "20-24": 0.059725950234064615,
      "25-29": 0.08192474939936928,
      "30-34": 0.07523353119652466,
      "35-39": 0.06868029092005673,
      "40-44": 0.05831060964906666,
      "45-49": 0.058805623240603636,
      "50-54": 0.05858087569042305,
      "55-59": 0.0674783182624454,
      "60-64": 0.06208437705811146,
      "65-69": 0.05099777955110233,
      "70-74": 0.03891546504962227,
      "75-79": 0.026437708656052324,
      "80-84": 0.01748905778145719,
      "85+": 0.01997123800338828
    },
    "male": 339932,
    "female": 363079,
    "health": {
      "poorhealth": 20.588989742,
      "physicallyunhealthydays": 4.247736361,
      "mentallyunhealthydays": 4.8111015035,
      "lowbirthweightpercent": 9.1518749808,
      "smokerspercent": 20.957241772,
      "obesitypercent": 31.5,
      "foodenvindex": 7.5,
      "physicallyinactivepercent": 23.2,
      "excessivedrinkingpercent": 18.940103365,
      "alcoholimpaireddrivingdeaths": 152,
      "teenbirthrate": 31.109351559,
      "uninsured": 12.486314662,
      "withannualmammogram": 45,
      "vaccinated": 51,
      "childreninpoverty": 19.6,
      "80thpercentileincome": 108296,
      "20thpercentileincome": 23275,
      "childreninsingleparenthouseholds": 33.224850811,
      "violentcrimerate": 941.43198334,
      "averagedailypm25": 9.1,
      "severehousingproblems": 15.347550638,
      "drivealonetowork": 83.470246386,
      "longcommutedrivesalone": 33.7
    },
    "longitude": -94.34749665503394,
    "latitude": 39.016701918102484,
    "education": {
      "lessthanhighschool": 9.4,
      "highschool": 28.3,
      "somecollege": 30.7,
      "bachelors": 31.6
    },
    "zipcodes": [
      "64137",
      "64111",
      "64053",
      "64055",
      "64064",
      "64029",
      "64106",
      "64108",
      "64034",
      "64118",
      "64136",
      "64139",
      "64125",
      "64030",
      "64014",
      "64066",
      "64080",
      "64123",
      "64131",
      "64145",
      "64128",
      "64121",
      "64170",
      "64050",
      "64057",
      "64133",
      "64109",
      "64130",
      "64134",
      "64129",
      "64158",
      "64163",
      "64070",
      "64102",
      "64105",
      "64086",
      "64101",
      "64124",
      "64157",
      "64088",
      "64061",
      "64051",
      "64002",
      "64081",
      "64013",
      "64016",
      "64112",
      "64114",
      "64110",
      "64152",
      "64127",
      "64147",
      "64120",
      "64146",
      "64199",
      "64058",
      "64054",
      "64074",
      "64119",
      "64138",
      "64149",
      "64156",
      "64132",
      "64171",
      "64148",
      "64141",
      "64999",
      "64052",
      "64015",
      "64063",
      "64075",
      "64056",
      "64082",
      "64113",
      "64155",
      "64126",
      "64197",
      "64065",
      "64198"
    ],
    "lifeexpectancy": 77.19,
    "avgincome": 47054,
    "povertyrate": 13.7,
    "costofliving": {
      "livingwage": 14.55,
      "foodcosts": 3246,
      "medicalcosts": 2681,
      "housingcosts": 8136,
      "taxcosts": 6263
    },
    "landareakm2": 1565.601892,
    "areakm2": 1596.319707,
    "countyFips": "29095",
    "stateFips": "29",
    "timezone": "America/Chicago"
  }
}
```

## Use cases

- **Mortgage Applicant Benchmarking** — Mortgage lenders check local poverty rates and per-capita income to benchmark applicant earnings against county economic baselines.
- **Public Health Screening** — To prioritize regional health initiatives, medical researchers compare county life expectancy figures with state poverty rates.
- **Retail Site Selection** — When evaluating new storefront locations, commercial real estate developers review county average income and poverty levels to assess consumer spending capacity.
- **Grant Resource Allocation** — Nonprofit program managers distribute community development grants by evaluating county poverty rates and per-capita income against national benchmarks.

## SDKs

- **npm** — `npm install @apiverve/countydata` (https://www.npmjs.com/package/@apiverve/countydata)
- **NuGet** — `dotnet add package APIVerve.API.CountyDataLookup` (https://www.nuget.org/packages/APIVerve.API.CountyDataLookup)
- **Source** — https://github.com/apiverve/countydata-api

## More

- Full reference: https://docs.apiverve.com/ref/countydata
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
