Docs/Sources/US County Data

US County Data

Get data about US counties

OperationalCredits 10 per callp50 846msGeography

Overview

County Data works by analyzing the county name provided and getting data about the US county. It uses advanced algorithms to get data such as average income, area, and more based on the county name and returns the county data.

Live Test US County Data Source →

Formula

One function covers the whole catalog: the first argument names the source, the rest are its inputs, and the "field" pair says which single value lands in the cell. Formulas covers the grammar that applies to all of them.

=VERVE("countydata", A2, B2, "field", "name")

A2 holds state, B2 holds county. Arguments go in that order — the same order as the table below.

With literal values

Nothing has to come from a cell — typed values work the same way.

=VERVE("countydata", "MO", "Jackson", "field", "name")

Inputs

Required inputs are positional, in the order below. Everything else is passed as a "name", value pair after them — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.

InputTypeWhere it goesDescription
stateRequiredstringargument 2 (A2)The two letter name of the US state the county is in (e.g., MO)
length 2–2
countyRequiredstringargument 3 (B2)The name of the US county to get data about (e.g. Jackson)

What lands in your sheet

The "field" pair is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.

Seeing everything at once

Drop the "field" pair and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.

=VERVE("countydata", A2, B2)
Good for exploring, not for filling down

The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.

Response fields

Paths are relative to data. Each one is exactly what the "field" pair accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.

Use as "field"TypeExample cell valueDescription
namestringjackson countyCounty name in lowercase format
statestringMOTwo-letter state code where county is located
agePremiumobject{…}Age distribution percentages by age groups
age.0-4Premiumnumber0.0644100874666257Percentage of population aged 0-4 years
age.5-9Premiumnumber0.06532756955438819Percentage of population aged 5-9 years
age.10-14Premiumnumber0.06595060390235714Percentage of population aged 10-14 years
age.15-19Premiumnumber0.05967616438434107Percentage of population aged 15-19 years
age.20-24Premiumnumber0.059725950234064615Percentage of population aged 20-24 years
age.25-29Premiumnumber0.08192474939936928Percentage of population aged 25-29 years
age.30-34Premiumnumber0.07523353119652466Percentage of population aged 30-34 years
age.35-39Premiumnumber0.06868029092005673Percentage of population aged 35-39 years
age.40-44Premiumnumber0.05831060964906666Percentage of population aged 40-44 years
age.45-49Premiumnumber0.058805623240603636Percentage of population aged 45-49 years
age.50-54Premiumnumber0.05858087569042305Percentage of population aged 50-54 years
age.55-59Premiumnumber0.0674783182624454Percentage of population aged 55-59 years
age.60-64Premiumnumber0.06208437705811146Percentage of population aged 60-64 years
age.65-69Premiumnumber0.05099777955110233Percentage of population aged 65-69 years
age.70-74Premiumnumber0.03891546504962227Percentage of population aged 70-74 years
age.75-79Premiumnumber0.026437708656052324Percentage of population aged 75-79 years
age.80-84Premiumnumber0.01748905778145719Percentage of population aged 80-84 years
age.85+Premiumnumber0.01997123800338828Percentage of population aged 85 years and older
malePremiumnumber339932Total male population count in county
femalePremiumnumber363079Total female population count in county
healthPremiumobject{…}Health metrics and indicators for the county
health.poorhealthPremiumnumber20.588989742Percentage of population reporting poor health status
health.physicallyunhealthydaysPremiumnumber4.247736361Average physically unhealthy days per month
health.mentallyunhealthydaysPremiumnumber4.8111015035Average mentally unhealthy days per month
health.lowbirthweightpercentPremiumnumber9.1518749808Percentage of low birth weight births
health.smokerspercentPremiumnumber20.957241772Percentage of population that smokes
health.obesitypercentPremiumnumber31.5Percentage of population classified as obese
health.foodenvindexPremiumnumber7.5Food environment index rating for county
health.physicallyinactivepercentPremiumnumber23.2Percentage of physically inactive population
health.excessivedrinkingpercentPremiumnumber18.940103365Percentage of excessive alcohol drinkers
health.alcoholimpaireddrivingdeathsPremiumnumber152Annual alcohol-impaired driving deaths in county
health.teenbirthratePremiumnumber31.109351559Birth rate among teenage population
health.uninsuredPremiumnumber12.486314662Percentage of uninsured population
health.withannualmammogramPremiumnumber45Percentage receiving annual mammogram screening
health.vaccinatedPremiumnumber51Percentage of vaccinated population
health.childreninpovertyPremiumnumber19.6Percentage of children living in poverty
health.80thpercentileincomePremiumnumber10829680th percentile income level in dollars
health.20thpercentileincomePremiumnumber2327520th percentile income level in dollars
health.childreninsingleparenthouseholdsPremiumnumber33.224850811Percentage of children in single-parent households
health.violentcrimeratePremiumnumber941.43198334Violent crime rate per 100,000 people
health.averagedailypm25Premiumnumber9.1Average daily PM2.5 air pollution level
health.severehousingproblemsPremiumnumber15.347550638Percentage with severe housing cost burden
health.drivealonetoworkPremiumnumber83.470246386Percentage driving alone to work
health.longcommutedrivesalonePremiumnumber33.7Percentage with long commute driving alone
longitudePremiumnumber-94.34749665503394Geographic longitude coordinate of county
latitudePremiumnumber39.016701918102484Geographic latitude coordinate of county
educationPremiumobject{…}Educational attainment distribution for county
education.lessthanhighschoolPremiumnumber9.4Percentage with less than high school education
education.highschoolPremiumnumber28.3Percentage with high school education
education.somecollegePremiumnumber30.7Percentage with some college education
education.bachelorsPremiumnumber31.6Percentage with bachelor's degree or higher
zipcodesPremiumarray["64137","64111","64053"]Array of all ZIP codes within the county
lifeexpectancynumber77.19Average life expectancy in years
avgincomenumber47054Average annual household income in dollars
povertyratenumber13.7Percentage of population below poverty line
costoflivingPremiumobject{…}Cost of living metrics for the county
costofliving.livingwagePremiumnumber14.55Living wage per hour in dollars
costofliving.foodcostsPremiumnumber3246Average annual food costs in dollars
costofliving.medicalcostsPremiumnumber2681Average annual medical costs in dollars
costofliving.housingcostsPremiumnumber8136Average annual housing costs in dollars
costofliving.taxcostsPremiumnumber6263Average annual tax costs in dollars
landareakm2Premiumnumber1565.601892Land area of county in square kilometers
areakm2Premiumnumber1596.319707Total area of county in square kilometers

Filling a whole column

Both platforms make one batched call for a column rather than one request per cell, and both cost the same — 10 credits per row looked up. How you write it differs, because the two runtimes batch at different points.

Rows 2–100 in one call
=VERVE("countydata", A2:A100, B2:B100, "field", "name")

In Google Sheets, give the arguments ranges and the answers spill down from the cell you typed in. Custom functions there run synchronously and in isolation, so dragged cells cannot be coalesced — the range form is how a column becomes one call. The "field" pair is required here: a per-row two-column table has nowhere to spill. Use a full column per input (A2:A100, not A2) — a single-cell reference is read as row 1 only and the rest of the column comes back blank.

In Excel, type the formula once and fill down — no range form and none needed, because its runtime is asynchronous and the add-in coalesces the calls a fill produces into a single batched request. Do not hand VERVE.CALL a range: Excel flattens it into positional arguments, so A2:A100 arrives as a hundred separate arguments and the cell reads #ERR rather than filling.

Either way, column A holds your state values and the answers land beside them, one row each, blank rows skipped.

When a cell doesn't fill

A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.

Cell readsWhat happened
#ERR Not connectedNo API key saved. Open the side panel and connect your account.
#ERR Replace <name> with a cell or valueA preview formula was copied as-is. Swap the placeholder for a cell reference.
#ERR No "x" in countydataAn option name this source does not take. The message lists the ones it does.
#ERR No data point "…"The "field" path is not in the response. Check it against the table above.
#PREMIUM(field)The field exists but your plan does not include it.
#ERR Out of creditsThe cycle's credits are spent. Usage resets on your billing date.

Before the formula works

The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.

  1. Install the add-in for Google Sheets or Excel.
  2. Open the side panel and sign in, or paste a key from your dashboard.
  3. Type the formula above into any cell.

Use cases

Mortgage Applicant Benchmarking
Mortgage lenders check local poverty rates and average household 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 average household income against national benchmarks.

Other ways to use US County Data

Set up US County Data on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Geography:

Was this page helpful?