Query county observations
Query county observations
Error codes, retries, and value states are in Errors and retries.
Schemas: CollectionEnvelope_CountyContextObservation_, CollectionEnvelope_Observation_, CollectionLinks, CollectionMeta, CountyContext, CountyContextObservation, EnvironmentalContext, EvidenceReference, GeographyIdentity, GeographyType, MethodologyComparisonContext, Observation, ProblemDetails, SurveillanceContext, SurveillanceEvidenceContext, TemporalAlignmentContext, TemporalCoverageContext, TemporalLagContext, TemporalReferencePeriodContext, TemporalWindowContext, ValueState.
Query published county observations for one measure and up to 500 counties.
What it returns
Observations from the current release, ordered by measure ID, county FIPS, period start, then observation ID. You cannot sort or aggregate. Each observation carries its value_state, source, methodology, and limitations.
Required parameters
Send measure_id, geography_type=county, one or more geography_id values, and the time parameter that the measure type accepts.
Time parameters by measure type
| Measure type | Send | Wrong choice returns |
|---|---|---|
| Annual surveillance (data is for 2023) | year, or start_date and end_date | 400 INVALID_REQUEST if you send both year and dates, or neither. 400 UNSUPPORTED_FILTER if you send vintage_year. |
| Daily environmental (January 2025 weather measures, enabled separately) | start_date and end_date, or year | 400 INVALID_REQUEST if you send only one date, or both year and dates. 400 UNSUPPORTED_FILTER if you send vintage_year. |
CDC cumulative status (scapularis_status, burgdorferi_status) | start_date=2025-12-31 and end_date=2025-12-31 (grain CUMULATIVE) | 400 UNSUPPORTED_FILTER for year or any other date range. The API rejects it before it reads data. |
| County context vintages (SVI, population, insurance) | vintage_year=2022 (periods are ACS 2018-2022) | 400 INVALID_REQUEST if vintage_year is missing. 400 UNSUPPORTED_FILTER for another vintage, year, start_date, or end_date. |
RUCC (rucc_2023) | vintage_year=2023 (categorical codes and labels, with null period dates) | 400 INVALID_REQUEST if vintage_year is missing. 400 UNSUPPORTED_FILTER for another vintage, year, start_date, or end_date. |
Value states
| Case | How to read it |
|---|---|
| Environmental measures | Descriptive weather with labeled daily periods and environmental_context coverage. They have no strata and make no causal, disease-risk, or machine-learning claim. |
| Surveillance context | Optional, and it needs a published delivery. normalized_state preserves the publisher's meaning, and the publisher's value stays in value. |
| Missing context | It does not establish absence or temporal comparability. |
| Absent county context rows | They are unavailable evidence, never zero. |
Empty versus unavailable results
| Situation | Response |
|---|---|
| An initial query finds no published results (any measure except CDC status) | HTTP 200 with meta.availability UNAVAILABLE and reason NO_PUBLISHED_RESULTS. This does not establish source coverage or biological absence. |
| You page past the last result | HTTP 200 with meta.availability AVAILABLE. |
| CDC status is not published for the county, or a service error occurs | A non-2xx error response, not a 200. |
Paging
Send next_page_token unchanged with the same filters. Page tokens are tied to the filters and the release.
Caching
An UNAVAILABLE collection must not be cached.
measure_id*Measure IdExact discovery measure ID.
1 <= lengthgeography_type*GeographyTypeKind of place. Only county is supported; state returns 400 UNSUPPORTED_FILTER.
"county""state"geography_id*array<string>Repeat for 1-500 county FIPS strings; preserve leading zeros.
1 <= items <= 500vintage_year?|Required for county context: 2022 for SVI/ACS, 2023 for RUCC. Excludes year/date filters.
1900 <= value <= 2100year?|Annual year or complete date range, not both. CDC cumulative status rejects year; use start_date=end_date=2025-12-31.
1900 <= value <= 2100start_date?|Inclusive period start; requires end_date and excludes year.
dateend_date?|Inclusive period end; requires start_date and excludes year.
datestratification?array<string>|Current release has no strata; unsupported selections fail explicitly.
page_size?|Items per page; defaults to 100, configured maximum at most 500.
1 <= value <= 500page_token?|Opaque next_page_token; retain query filters and release.
Bounded current-release observations. This operation ignores If-None-Match and always returns 200 with the full body.
application/json- response
A page of county population or rurality observations, with paging details and links. Read meta.availability and meta.next_page_token before you use data.
data*array<>The items on this page. Empty when there are none.
meta*Paging, release, and availability details.
links*Links related to this response.
Response Headers
Content-Type
Schema
stringMedia type of the body: `application/json`.
Cache-Control
Schema
stringThe API sets no `Cache-Control` header on an available result, so do not assume a cache lifetime. It sends `no-store` when `meta.availability` is `UNAVAILABLE`.
X-Request-ID
Schema
stringIdentifier for this request. Quote it when you ask for support. If you send a valid `X-Request-ID` request header, the API uses that value. Otherwise it generates one. A response that a shared cache replays can carry the identifier of the request that filled the cache.
curl -X GET 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=08001'{ "data": [ { "metadata_revision_id": null, "observation_id": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1", "measure_id": "case_count_floor_2023", "geography": { "geography_type": "county", "geography_id": "36061" }, "temporal_grain": "YEAR", "value": 1114, "value_state": "OBSERVED", "unit": "cases", "denominator": null, "strata": {}, "source_id": "human", "lineage_source_id": "cdc_lyme", "dataset_id": "x5j9-wybp", "methodology_id": "human_confirmed_probable_case_floor_v1", "methodology": "x5j9 confirmed plus probable", "release_methodology_version": "semantic-2.0.0", "methodology_version": "semantic_county_assembly_v1", "semantic_version": "2.0.0", "release_id": "governed-2026-10-15-january-climate-prod", "provenance_ref": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1", "source_label": "CDC Lyme surveillance", "source_vintage": "2023", "source_url": "https://data.cdc.gov/resource/x5j9-wybp.json", "source_published_at": null, "atlas_acquired_at": "2026-09-07T17:21:14.768948-07:00", "atlas_processed_at": null, "limitations": [ "Published surveillance values are privacy-protected floors, not complete incidence estimates.", "Privacy-protected floor.", "This is a deterministic surveillance follow-up priority release, not a diagnosis, prediction, causal claim, exposure map, or individual risk estimate. Published human values are privacy-protected floors; no records is not absence. Human rows with explicitly unavailable state geography are retained in source provenance but are not allocated to county or state release values. Restricted pathogen source gaps are explicitly unknown source coverage. Selected 2025 TIGER geographies 09110 and 51013 only; unselected counties are not zero. COMPLETE describes valid source-supported area; preserve source coverage fraction. 09110 is Capitol Planning Region, with no historical Connecticut county crosswalk. Official MRLC mosaic lineage, not USGS S3 tiles. Descriptive land-cover context only; no Lyme causal/risk estimate or automatic ML admission." ], "evidence": { "resource_type": "observation", "resource_id": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1", "source_id": "human", "provenance_ref": "33793650b65062f83a847f9426481f94c4ee3810000d45e812e2fb0693429cd1", "semantic_version": "2.0.0", "methodology_version": "semantic_county_assembly_v1", "release_id": "governed-2026-10-15-january-climate-prod", "uri": null }, "environmental_context": null, "surveillance_context": null, "period_start": "2023-01-01", "period_end": "2023-12-31" } ], "meta": { "next_page_token": null, "response_at": "2026-10-25T02:46:22.070184Z", "availability": "AVAILABLE", "release_id": "governed-2026-10-15-january-climate-prod", "limitations": [] }, "links": { "self": null }}Last updated on