One Health Atlas documentation
View source

API reference

Generated from the pinned public Atlas OpenAPI contract, with spec version, source, and the raw schema.

This page is generated from the public OpenAPI contract. It is not a second hand-maintained endpoint catalog. Tags, operation IDs, parameters, schemas, examples, and errors are rendered from that contract by the native OpenAPI reference.

Spec version and source

LabelValue
OpenAPI version3.1.0
Application version0.1.0
HTTP contract/v1
Source repositoryCaraway-Labs/one-health-lyme-gap-atlas-api
Source commit4bc001bb6c03d16aef80762174691fdf9b898707
Source fileopenapi.json
Checksumc8e0b42feb019eabc4ee0033e7501d5134c946c74750432f7bd5a1ee32a44618

Application version 0.1.0 identifies the OpenAPI info.version field. The HTTP contract is /v1. Those identifiers are different. This reference build is identified by the source commit and checksum.

Raw spec: OpenAPI schema.

Pinned source: Caraway-Labs/one-health-lyme-gap-atlas-api@4bc001bb6c03d16aef80762174691fdf9b898707.

Downloads

Import the pinned contract into a client, or download the file the reference was generated from.

Servers

  • https://api.onehealthatlas.org (Production)

External documentation

Atlas documentation and developer guides

Governed Atlas analytics, metadata, and provenance

Read-only JSON API for county and state Lyme disease surveillance, public-health context, and the sources behind them. It is for developers, analysts, and public-health practitioners. The base URL is https://api.onehealthatlas.org, and public reads need no API key.

Quickstart

Get the 2023 case-count floor for New York County (FIPS 36061):

curl 'https://api.onehealthatlas.org/v1/observations?measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023'

The response is trimmed to the fields that matter. The values are an example:

\{
  "data": [\{
    "measure_id": "case_count_floor_2023",
    "geography": \{"geography_type": "county", "geography_id": "36061"},
    "value": 1114.0, "value_state": "OBSERVED", "unit": "cases",
    "source_label": "CDC Lyme surveillance", "release_id": "...",
    "limitations": ["..."]
  }],
  "meta": \{"next_page_token": null, "availability": "AVAILABLE"},
  "links": \{"self": null}
}

Responses

Collections return data (the items), meta (paging, availability, release_id, response time), and links. A single resource returns data.

Pagination

page_size defaults to 100 (maximum 500). Send meta.next_page_token as page_token, unchanged and with the same filters. A null token means there are no more pages.

Errors

Errors use RFC 9457 application/problem+json with a stable code and a request_id to quote when you ask for support. A query that selects more than 10,000 results is rejected with 400 QUERY_TOO_BROAD, not truncated.

Response headers and caching

Every response has Content-Type and X-Request-ID; quote the ID when you ask for support. Each 200 lists its other headers. Cache lifetimes run from 60 seconds to one year. Detail resources, geometry, and PDF reports return an ETag; send it as If-None-Match to get an empty 304. Other operations always return the full body.

Rate limits and retries

Metadata, provenance, observation, and geography availability reads are limited per client address to 60 requests a minute and 5 at once. Other operations have a separate, higher limit. These defaults can change, and Atlas publishes no per-key quota. A 429 or 503 can carry Retry-After in seconds; wait that long. Without it, wait 1 second, double after each failure up to 60 seconds, add jitter, and stop after a few attempts. Do not retry a 400, 404, or 422.

Interpreting results

Read each value with its value_state, source, methodology version, release_id, and limitations. Atlas results are not a diagnosis. Atlas results are not an estimate of an individual's risk. Surveillance floors are minimum counts, not complete incidence. Null, zero, suppressed, and no linked record mean different things. The response time shows when Atlas built the response. It does not show when the publisher last updated the data.

Stability

/v1 is the contract version, and the application version is separate. Optional fields may be added within V1. Breaking changes follow a published deprecation plan. Release notes: API changelog.

Operations

Canonical Evidence

discovery

List the indicators and measures you can query.

observations

Query measure values for counties, each with an explicit value_state.

provenance

Look up the sources and methodologies behind a value, with versions.

geographies

Validate a county or state FIPS code. Atlas does not yet publish place records, so these operations return HTTP 200 with availability set to UNAVAILABLE.

Atlas Analytics/Reports

atlas

Get release metadata, scores, rankings, and map geometry.

counties

Get county detail and download county PDF reports.

states

Download state PDF reports.

Component schemas: Schemas (57).

Last updated on