Check county geography availability
Check county geography availability
Error codes, retries, and value states are in Errors and retries.
Schemas: CanonicalGeographyAvailability, GeographyType, ProblemDetails.
Check whether a county has published canonical geography data.
When to use it
The API confirms the county exists in the current release. It returns HTTP 200 with availability set to UNAVAILABLE, reason set to CANONICAL_GEOGRAPHY_UNPUBLISHED, and data set to null. The resource describes identity only, and the API returns no geometry. State availability is not supported.
Common problems
| Response | Cause and what to do |
|---|---|
400 | The ID is malformed, or you asked for a state. Send a five-digit county FIPS code. |
404 | The county is not in the current release. |
503 | The county directory is unavailable, empty, duplicated, or inconsistent with the current release. Retry later. |
The response must not be cached.
geography_type*GeographyTypeKind of place: county or state. Any other value returns 400 INVALID_REQUEST.
"county""state"geography_id*Geography IdFIPS code of the place, sent as a string with leading zeros kept: five digits for a county, two for a state. A code of the wrong length or with non-digits returns 400 INVALID_REQUEST. Connecticut counties use planning-region codes such as 09110.
Confirmed current county identity; canonical publication is pending. This operation ignores If-None-Match and always returns 200 with the full body.
application/json- response
The county exists, but its canonical geography data is not published yet.
availability*AvailabilityAlways UNAVAILABLE: the county's geography data is not published.
reason*ReasonWhy the data is unavailable. The geography data has not been published.
data*DataAlways null. The API returns no geography data or geometry.
release_id*Release IdIdentifies the county directory release used to confirm the county.
1 <= lengthlimitations*array<string>Publication and representation boundaries, not scientific absence.
1 <= itemsResponse Headers
Content-Type
Schema
stringMedia type of the body: `application/json`.
Cache-Control
Schema
stringHow long a client or shared cache can reuse the response: `no-store`.
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/geographies/county/08001/availability'{ "availability": "UNAVAILABLE", "reason": "CANONICAL_GEOGRAPHY_UNPUBLISHED", "data": null, "release_id": "governed-2026-10-15-january-climate-prod", "limitations": [ "Canonical geography identity delivery is not published by this API capability.", "County membership is confirmed from the governed county directory release. No canonical, display, or analysis geometry is returned or inferred." ]}Last updated on