County Data is a simple tool for getting data about US counties. It returns information such as average income, area, and more based on the county name provided.
Try it — live request, no key required
No key required to try it. Get a key to use it in your app.
{
"status": "ok",
"error": null,
"data": {
// County Data Lookup response payload
}
}
About the County Data Lookup API
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.
What people use it for
- Demographics
- Use the County Data API to get data about US counties for demographics. Use the data to analyze population, income, education, and more
- Real Estate
- Get data about US counties by using the County Data API for real estate. Use the data to analyze property values, market trends, and investment opportunities
- Economic Development
- Use the County Data API to get data about US counties for economic development. Use the data to identify growth areas, attract businesses, and create jobs
- Research & Analysis
- Get data about US counties by using the County Data API for research and analysis. Use the data to study trends, conduct studies, and make informed decisions
Ways to call it
One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.
- JSON
- Default REST response
- XML
- Markup format
- YAML
- Human-readable
- CSV
- Tabular export
- GraphQL
- Query language
- MCP
- For AI agents
Other ways to use County Data Lookup
Same data, same APIVerve account, same credit balance — one key works on all of them.
What does the County Data Lookup API do?
How do I authenticate County Data Lookup API requests?
How much does the County Data Lookup API cost?
How fast is the County Data Lookup API?
What response formats does the County Data Lookup API support?
What HTTP method does the County Data Lookup API use?
Request parameters — GET /v1/countydata
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them. Anything not listed here is dropped rather than passed through.
Required
| Parameter | Type | Example | Description |
|---|---|---|---|
stateRequired | string | MO | The two letter name of the US state the county is in (e.g., MO) length 2-2 |
countyRequired | string | Jackson | The name of the US county to get data about (e.g. Jackson) |
curl "https://api.apiverve.com/v1/countydata?state=MO&county=Jackson" \
-H "x-api-key: YOUR_API_KEY"Authentication
Send your key in the x-api-key header. That is the only auth step — no token exchange, and no per-endpoint scope to configure.
| Header | When | Value |
|---|---|---|
x-api-keyRequired | Every request | Your API key. Header names are case-insensitive, so X-API-Key is the same header. |
AuthorizationAlternate | Instead of the above | Bearer <key> — for clients that only expose bearer auth. Resolves to the same account and the same billing. |
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Response — GET /v1/countydata
Every APIVerve endpoint returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape.
{
"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
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
name | string | "jackson county" | County name in lowercase format |
state | string | "MO" | Two-letter state code where county is located |
agePremium | object | {...} | Age distribution percentages by age groups |
0-4Premium | number | 0.0644100874666257 | Percentage of population aged 0-4 years |
5-9Premium | number | 0.06532756955438819 | Percentage of population aged 5-9 years |
10-14Premium | number | 0.06595060390235714 | Percentage of population aged 10-14 years |
15-19Premium | number | 0.05967616438434107 | Percentage of population aged 15-19 years |
20-24Premium | number | 0.059725950234064615 | Percentage of population aged 20-24 years |
25-29Premium | number | 0.08192474939936928 | Percentage of population aged 25-29 years |
30-34Premium | number | 0.07523353119652466 | Percentage of population aged 30-34 years |
35-39Premium | number | 0.06868029092005673 | Percentage of population aged 35-39 years |
40-44Premium | number | 0.05831060964906666 | Percentage of population aged 40-44 years |
45-49Premium | number | 0.058805623240603636 | Percentage of population aged 45-49 years |
50-54Premium | number | 0.05858087569042305 | Percentage of population aged 50-54 years |
55-59Premium | number | 0.0674783182624454 | Percentage of population aged 55-59 years |
60-64Premium | number | 0.06208437705811146 | Percentage of population aged 60-64 years |
65-69Premium | number | 0.05099777955110233 | Percentage of population aged 65-69 years |
70-74Premium | number | 0.03891546504962227 | Percentage of population aged 70-74 years |
75-79Premium | number | 0.026437708656052324 | Percentage of population aged 75-79 years |
80-84Premium | number | 0.01748905778145719 | Percentage of population aged 80-84 years |
85+Premium | number | 0.01997123800338828 | Percentage of population aged 85 years and older |
malePremium | number | 339932 | Total male population count in county |
femalePremium | number | 363079 | Total female population count in county |
healthPremium | object | {...} | Health metrics and indicators for the county |
poorhealthPremium | number | 20.588989742 | Percentage of population reporting poor health status |
physicallyunhealthydaysPremium | number | 4.247736361 | Average physically unhealthy days per month |
mentallyunhealthydaysPremium | number | 4.8111015035 | Average mentally unhealthy days per month |
lowbirthweightpercentPremium | number | 9.1518749808 | Percentage of low birth weight births |
smokerspercentPremium | number | 20.957241772 | Percentage of population that smokes |
obesitypercentPremium | number | 31.5 | Percentage of population classified as obese |
foodenvindexPremium | number | 7.5 | Food environment index rating for county |
physicallyinactivepercentPremium | number | 23.2 | Percentage of physically inactive population |
excessivedrinkingpercentPremium | number | 18.940103365 | Percentage of excessive alcohol drinkers |
alcoholimpaireddrivingdeathsPremium | number | 152 | Annual alcohol-impaired driving deaths in county |
teenbirthratePremium | number | 31.109351559 | Birth rate among teenage population |
uninsuredPremium | number | 12.486314662 | Percentage of uninsured population |
withannualmammogramPremium | number | 45 | Percentage receiving annual mammogram screening |
vaccinatedPremium | number | 51 | Percentage of vaccinated population |
childreninpovertyPremium | number | 19.6 | Percentage of children living in poverty |
80thpercentileincomePremium | number | 108296 | 80th percentile income level in dollars |
20thpercentileincomePremium | number | 23275 | 20th percentile income level in dollars |
childreninsingleparenthouseholdsPremium | number | 33.224850811 | Percentage of children in single-parent households |
violentcrimeratePremium | number | 941.43198334 | Violent crime rate per 100,000 people |
averagedailypm25Premium | number | 9.1 | Average daily PM2.5 air pollution level |
severehousingproblemsPremium | number | 15.347550638 | Percentage with severe housing cost burden |
drivealonetoworkPremium | number | 83.470246386 | Percentage driving alone to work |
longcommutedrivesalonePremium | number | 33.7 | Percentage with long commute driving alone |
longitudePremium | number | -94.34749665503394 | Geographic longitude coordinate of county |
latitudePremium | number | 39.016701918102484 | Geographic latitude coordinate of county |
educationPremium | object | {...} | Educational attainment distribution for county |
lessthanhighschoolPremium | number | 9.4 | Percentage with less than high school education |
highschoolPremium | number | 28.3 | Percentage with high school education |
somecollegePremium | number | 30.7 | Percentage with some college education |
bachelorsPremium | number | 31.6 | Percentage with bachelor's degree or higher |
zipcodesPremium | array | [64137, ...] | Array of all ZIP codes within the county |
lifeexpectancy | number | 77.19 | Average life expectancy in years |
avgincome | number | 47054 | Average annual household income in dollars |
povertyrate | number | 13.7 | Percentage of population below poverty line |
costoflivingPremium | object | {...} | Cost of living metrics for the county |
livingwagePremium | number | 14.55 | Living wage per hour in dollars |
foodcostsPremium | number | 3246 | Average annual food costs in dollars |
medicalcostsPremium | number | 2681 | Average annual medical costs in dollars |
housingcostsPremium | number | 8136 | Average annual housing costs in dollars |
taxcostsPremium | number | 6263 | Average annual tax costs in dollars |
landareakm2Premium | number | 1565.601892 | Land area of county in square kilometers |
areakm2Premium | number | 1596.319707 | Total area of county in square kilometers |
Response headers
Every response carries your balance, so your own code always knows where it stands without polling anything. All four are exposed to browsers through CORS.
| Header | What it carries |
|---|---|
x-api-remaining-credits | Credits left in the current cycle |
x-api-credits-used | Credits spent in the current cycle |
x-api-max-credits | The allowance for the cycle |
x-api-version | Version of the endpoint that answered |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter that has to change. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted here | A key restriction or an IP allow-list — never a bad key. |
429 | Rate limited, or out of credits | Read error to tell them apart, then back off or top up. |
What a call costs — 10 credits per call
Credits are shared across every APIVerve API — one balance, one key, one bill. Failed requests never count against it, so a rejected input costs nothing.
| Plan | Per month | Credits | County Data Lookup calls | Per 1,000 calls |
|---|---|---|---|---|
| Free | Free | 200 | 20 | Free |
| Starter | $29.99 | 200,000 | 20,000 | $1.50 |
| Pro | $99.99 | 1,000,000 | 100,000 | $1.00 |
| Mega | $299.99 | 4,000,000 | 400,000 | $0.75 |
Calls are what the credits buy at this API's rate — spend them here, on any of the other APIs, or across both. Nothing is reserved per endpoint.
Call it from cURL — GET /v1/countydata
No SDK to install — this is a plain HTTPS call to /v1/countydata with your key in the x-api-key header. Swap in a real key and it runs as-is.
curl "https://api.apiverve.com/v1/countydata" \
-H "x-api-key: YOUR_API_KEY"Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Node.js — GET /v1/countydata
Install the Node.js SDK, then call the County Data Lookup API with your key. The client wraps the same HTTPS request, so anything it returns is what the endpoint returns.
npm install @apiverve/countydataconst res = await fetch("https://api.apiverve.com/v1/countydata", {
headers: { "x-api-key": "YOUR_API_KEY" },
});
const { data } = await res.json();
console.log(data);Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Python — GET /v1/countydata
No SDK to install — this is a plain HTTPS call to /v1/countydata with your key in the x-api-key header. Swap in a real key and it runs as-is.
import requests
res = requests.get(
"https://api.apiverve.com/v1/countydata",
headers={"x-api-key": "YOUR_API_KEY"},
)
print(res.json()["data"])Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from C# / .NET — GET /v1/countydata
Install the C# / .NET SDK, then call the County Data Lookup API with your key. The client wraps the same HTTPS request, so anything it returns is what the endpoint returns.
dotnet add package APIVerve.API.CountyDataLookupusing var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var json = await client.GetStringAsync("https://api.apiverve.com/v1/countydata");
Console.WriteLine(json);Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Go — GET /v1/countydata
No SDK to install — this is a plain HTTPS call to /v1/countydata with your key in the x-api-key header. Swap in a real key and it runs as-is.
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/countydata", nil)
req.Header.Set("x-api-key", "YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from PHP — GET /v1/countydata
No SDK to install — this is a plain HTTPS call to /v1/countydata with your key in the x-api-key header. Swap in a real key and it runs as-is.
$ch = curl_init("https://api.apiverve.com/v1/countydata");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-api-key: YOUR_API_KEY"]);
$response = curl_exec($ch);
echo $response;Resources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Call it from Ruby — GET /v1/countydata
No SDK to install — this is a plain HTTPS call to /v1/countydata with your key in the x-api-key header. Swap in a real key and it runs as-is.
require "net/http"
uri = URI("https://api.apiverve.com/v1/countydata")
req = Net::HTTP::Get.new(uri)
req["x-api-key"] = "YOUR_API_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.bodyResources
Also published for
Only the languages APIVerve ships a client for are listed — the rest call the endpoint directly over HTTPS.
Zero-code embed — one snippet, no backend
Drop an interactive County Data Lookup form onto any page. The widget calls the API for you, so no key ever appears in your markup and there is nothing to deploy.
Changelog — County Data Lookup API
Every change to this endpoint, newest first. Breaking changes ship as a new version and the previous one keeps serving — response fields are added, never removed or retyped in place, so an integration written against v1 keeps working.
Entries are picked up from dated catalog snapshots, so the first one appears after the next snapshot that moves something. A period where nothing changed produces no entry — silence is a valid changelog for the County Data Lookup API.
Geography
- Cities Lookup
- Coordinates Are Sea
- Country Borders
- Country Boundaries
- Country Flags
- Country Languages
- Country Lookup
- County Data Lookup
- Distance Calculator
- Reverse Geocode
- State Boundaries
- USDA Hardiness Zone
- Zip Codes Lookup
Related articles
All articles →
Multi-Currency E-commerce: Stop Losing SalesShowing prices in local currency increases conversions 20-40%. Here's how to implement multi-currency pricing that actually works.Read
Location APIs: Distance, Geocoding, and TimezonesBuild location-aware features without Google Maps pricing. Distance calculations, address lookup, timezone handling—all from one API.Read
Extract Clean Content from Any WebpageTurn messy web pages into clean Markdown. Perfect for content migration, archiving, AI training data, and building read-later tools.Read