---
title: Query county observations
description: Query county observations
full: true
_openapi:
  preload:
    - atlas-public
  method: GET
  webhook: false
  toc: []
  structuredData:
    headings:
      - content: What it returns
        id: what-it-returns
      - content: Required parameters
        id: required-parameters
      - content: Time parameters by measure type
        id: time-parameters-by-measure-type
      - content: Value states
        id: value-states
      - content: Empty versus unavailable results
        id: empty-versus-unavailable-results
      - content: Paging
        id: paging
      - content: Caching
        id: caching
    contents:
      - content: GET /v1/observations
      - content: listObservations
      - content: Query county observations
      - content: measure_id query required Exact discovery measure ID.
      - content: Exact discovery measure ID.
      - content: Measure Id
      - content: '"case_count_floor_2023"'
      - content: geography_type query required Kind of place. Only `county` is supported; `state` returns 400 `UNSUPPORTED_FILTER`.
      - content: '#/components/schemas/GeographyType'
      - content: Kind of place. Only `county` is supported; `state` returns 400 `UNSUPPORTED_FILTER`.
      - content: '"county"'
      - content: geography_id query required Repeat for 1-500 county FIPS strings; preserve leading zeros.
      - content: Repeat for 1-500 county FIPS strings; preserve leading zeros.
      - content: Geography Id
      - content: '["08001"]'
      - content: 'vintage_year query optional Required for county context: 2022 for SVI/ACS, 2023 for RUCC. Excludes year/date filters.'
      - content: 'Required for county context: 2022 for SVI/ACS, 2023 for RUCC. Excludes year/date filters.'
      - content: Vintage Year
      - content: year query optional Annual year or complete date range, not both. CDC cumulative status rejects year; use start_date=end_date=2025-12-31.
      - content: Annual year or complete date range, not both. CDC cumulative status rejects year; use start_date=end_date=2025-12-31.
      - content: Year
      - content: '2023'
      - content: start_date query optional Inclusive period start; requires end_date and excludes year.
      - content: Inclusive period start; requires end_date and excludes year.
      - content: Start Date
      - content: '"2023-01-01"'
      - content: end_date query optional Inclusive period end; requires start_date and excludes year.
      - content: Inclusive period end; requires start_date and excludes year.
      - content: End Date
      - content: '"2023-12-31"'
      - content: stratification query optional Current release has no strata; unsupported selections fail explicitly.
      - content: Current release has no strata; unsupported selections fail explicitly.
      - content: Stratification
      - content: page_size query optional Items per page; defaults to 100, configured maximum at most 500.
      - content: Items per page; defaults to 100, configured maximum at most 500.
      - content: Page Size
      - content: '100'
      - content: page_token query optional Opaque next_page_token; retain query filters and release.
      - content: Opaque next_page_token; retain query filters and release.
      - content: Page Token
      - content: 200 Bounded current-release observations. This operation ignores `If-None-Match` and always returns 200 with the full body.
      - content: 'Content-Type Media type of the body: `application/json`.'
      - content: '"application/json"'
      - content: Cache-Control The 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`.
      - content: X-Request-ID Identifier 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.
      - content: '"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93"'
      - content: application/json
      - content: Observation collection response
      - content: '#/components/schemas/CollectionEnvelope_CountyContextObservation_'
      - content: '#/components/schemas/CollectionEnvelope_Observation_'
      - content: 'An observed value: New York County (`36061`)'
      - content: '{"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}}'
      - content: 'A missing value: Boulder County (`08001`) has no published value'
      - content: '{"data":[{"metadata_revision_id":null,"observation_id":"43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273","measure_id":"case_count_floor_2023","geography":{"geography_type":"county","geography_id":"08001"},"temporal_grain":"YEAR","value":null,"value_state":"MISSING","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":"43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273","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":"43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273","source_id":"human","provenance_ref":"43c0ce4e82c89ba4d75ebca07f97e63d75fdf18a0dae9fed778aa22266c81273","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:30.691271Z","availability":"AVAILABLE","release_id":"governed-2026-10-15-january-climate-prod","limitations":[]},"links":{"self":null}}'
      - content: An empty result with `meta.availability` set to `UNAVAILABLE`
      - content: '{"data":[],"meta":{"next_page_token":null,"response_at":"2026-10-25T02:46:37.282561Z","availability":"UNAVAILABLE","reason":"NO_PUBLISHED_RESULTS","release_id":"governed-2026-10-15-january-climate-prod","limitations":["No published observations match this selection in the checked release. This does not establish biological absence, source coverage, or geography membership."]},"links":{"self":null}}'
      - content: 400 The request is invalid or unsupported. The `code` is `INVALID_REQUEST` for a missing, malformed, or inconsistent parameter, `UNSUPPORTED_FILTER` for a parameter V1 does not accept, `UNSUPPORTED_STRATIFICATION` for a stratification (observation queries only), or `QUERY_TOO_BROAD` when a query selects more than the result limit. Read `detail` and `errors`, change the request, then retry. The same request fails again.
      - content: application/problem+json
      - content: '#/components/schemas/ProblemDetails'
      - content: Missing required parameter
      - content: Shows `INVALID_REQUEST` when a required query parameter is absent.
      - content: '{"type":"https://onehealthatlas.org/problems/validation","title":"Invalid request","status":400,"detail":"One or more request values are invalid.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","errors":[{"type":"missing","loc":["query","measure_id"],"msg":"Field required"}],"code":"INVALID_REQUEST"}'
      - content: Query parameter V1 does not accept
      - content: Shows `UNSUPPORTED_FILTER` when a request includes a parameter outside V1.
      - content: '{"type":"https://onehealthatlas.org/problems/unsupported-filter","title":"Invalid public query","status":400,"detail":"This query filter is not supported in V1.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"UNSUPPORTED_FILTER"}'
      - content: Stratification requested
      - content: Shows `UNSUPPORTED_STRATIFICATION` when a query sets `stratification`.
      - content: '{"type":"https://onehealthatlas.org/problems/unsupported-stratification","title":"Invalid public query","status":400,"detail":"This release has no governed strata.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"UNSUPPORTED_STRATIFICATION"}'
      - content: Selection above the result limit
      - content: Shows `QUERY_TOO_BROAD` when counties and period exceed the result limit.
      - content: '{"type":"https://onehealthatlas.org/problems/query-too-broad","title":"Invalid public query","status":400,"detail":"Narrow measure, geography, time, or stratification selection.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"QUERY_TOO_BROAD"}'
      - content: 404 The resource ID, or the selection you asked for, is not in the current release. The `code` is `RESOURCE_NOT_FOUND` and `detail` names what is missing. Check the ID against the list operation for that resource. Retrying the same request returns the same response.
      - content: Unknown resource ID
      - content: Shows `RESOURCE_NOT_FOUND` for a selection that is not in the current release.
      - content: '{"type":"https://onehealthatlas.org/problems/resource-not-found","title":"Invalid public query","status":404,"detail":"Measure has no published county observations.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"RESOURCE_NOT_FOUND"}'
      - content: 413 The request is a GET with a body. The `code` is `INVALID_REQUEST`. Send the request again without a body and put every value in the query string.
      - content: GET request with a body
      - content: Shows `INVALID_REQUEST` when a GET request carries a body.
      - content: '{"type":"https://onehealthatlas.org/problems/invalid-request","title":"Payload too large","status":413,"detail":"GET request bodies are unsupported.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"INVALID_REQUEST"}'
      - content: 414 The query string is longer than the API accepts. The `code` is `INVALID_REQUEST`. Send fewer or shorter parameter values, then retry.
      - content: Query string over the length limit
      - content: Shows `INVALID_REQUEST` when the query string is too long.
      - content: '{"type":"https://onehealthatlas.org/problems/invalid-request","title":"URI too long","status":414,"detail":"Query string is too long.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"INVALID_REQUEST"}'
      - content: 429 You sent too many requests in a short time. Wait the number of seconds in the `Retry-After` header, then retry. Spread requests out or reuse cached responses to stay under the limit.
      - content: Retry-After Seconds to wait before you retry. Wait that long when the header is present.
      - content: '"30"'
      - content: Request limit reached
      - content: Shows `RATE_LIMITED`. The response also sets `Retry-After`.
      - content: '{"type":"https://onehealthatlas.org/problems/rate-limited","title":"Too many requests","status":429,"detail":"Public request limit reached.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"RATE_LIMITED"}'
      - content: 503 The Atlas data service cannot answer right now. The `code` is `SERVICE_UNAVAILABLE`. Retry later with a growing delay, and wait the number of seconds in `Retry-After` when the header is present. Check the `Content-Type` response header before you parse the body. Parse it as Problem Details only when it is `application/problem+json`.
      - content: Data service unavailable
      - content: Shows `SERVICE_UNAVAILABLE` when the data service cannot answer.
      - content: '{"type":"https://onehealthatlas.org/problems/http-503","title":"Service unavailable","status":503,"detail":"The governed Atlas data service is temporarily unavailable.","instance":"/v1/observations","request_id":"3f0a1c52-8d7e-4b6a-9c21-5e4d7a1b0f93","code":"SERVICE_UNAVAILABLE"}'
---

Error codes, retries, and value states are in [Errors and retries](/docs/develop/errors).

Schemas: [CollectionEnvelope_CountyContextObservation_](/docs/api-reference/schemas#schema-collectionenvelope-countycontextobservation), [CollectionEnvelope_Observation_](/docs/api-reference/schemas#schema-collectionenvelope-observation), [CollectionLinks](/docs/api-reference/schemas#schema-collectionlinks), [CollectionMeta](/docs/api-reference/schemas#schema-collectionmeta), [CountyContext](/docs/api-reference/schemas#schema-countycontext), [CountyContextObservation](/docs/api-reference/schemas#schema-countycontextobservation), [EnvironmentalContext](/docs/api-reference/schemas#schema-environmentalcontext), [EvidenceReference](/docs/api-reference/schemas#schema-evidencereference), [GeographyIdentity](/docs/api-reference/schemas#schema-geographyidentity), [GeographyType](/docs/api-reference/schemas#schema-geographytype), [MethodologyComparisonContext](/docs/api-reference/schemas#schema-methodologycomparisoncontext), [Observation](/docs/api-reference/schemas#schema-observation), [ProblemDetails](/docs/api-reference/schemas#schema-problemdetails), [SurveillanceContext](/docs/api-reference/schemas#schema-surveillancecontext), [SurveillanceEvidenceContext](/docs/api-reference/schemas#schema-surveillanceevidencecontext), [TemporalAlignmentContext](/docs/api-reference/schemas#schema-temporalalignmentcontext), [TemporalCoverageContext](/docs/api-reference/schemas#schema-temporalcoveragecontext), [TemporalLagContext](/docs/api-reference/schemas#schema-temporallagcontext), [TemporalReferencePeriodContext](/docs/api-reference/schemas#schema-temporalreferenceperiodcontext), [TemporalWindowContext](/docs/api-reference/schemas#schema-temporalwindowcontext), [ValueState](/docs/api-reference/schemas#schema-valuestate).

export default function Layout(props) {
  const { OpenAPIPage } = props.components ?? {};
  return (
    <>
      {props.children}
      <OpenAPIPage document="atlas-public" operations={[{"path":"/v1/observations","method":"get"}]} showDescription />
    </>
  );
}
