---
title: Quickstart
description: Send one anonymous observation request, read the response, and handle the first problems.
---

import { ApiPlayground } from "@/features/docs/api-playground";
import { HttpClientTabs } from "@/features/docs/http-client-tabs";

Send one anonymous request for the 2023 published case-count floor for New York County. The <Term id="measure">measure</Term> id `case_count_floor_2023` is the example on the public observations operation. County <Term id="fips">FIPS</Term> `36061` is in the lower 48.

Use an HTTPS client. Skip the account and the API key. These client tabs stay in sync with the workflow guides and the REST pagination example: curl, Python httpx, R httr2, or TypeScript fetch. The choice remains after a reload.

<Steps>
<Step>

### Make a request

<HttpClientTabs
  path="/v1/observations"
  query="measure_id=case_count_floor_2023&geography_type=county&geography_id=36061&year=2023"
/>

`curl -f` hides error bodies. Drop `-f` when you need to read a problem response.

#### Try this request

This playground sends that anonymous GET through the docs site. It adds no API key and leaves the response unchanged.

<ApiPlayground />

</Step>
<Step>

### Read the response

A successful body is a collection. Check <Term id="value_state">value_state</Term> before you read <Term id="value">value</Term>. Read `value` with `unit`.

<Callout title="Interpret with care" type="warn">
  `case_count_floor_2023` is a privacy-protected surveillance floor, in `cases`.
  A case floor is not a diagnosis, a complete count, or an individual risk.
</Callout>

| Field | Meaning |
| --- | --- |
| `data` | Observation records for this query. An empty array means this page has no rows. |
| `value_state` | How to read `value` on each row. Check it before you read `value`. |
| `meta.next_page_token` | Opaque continuation. `null` means this query is exhausted. Send it unchanged with the same filters. |
| `meta.response_at` | When Atlas built the response, in UTC. It does not date the publisher update or the observation. |
| `meta.availability` | Whether this selection has published <Term id="availability">availability</Term>. Read it before you use `data`. |
| `links.self` | Link to this page. The contract allows `null`. |

Keep <Term id="limitations">limitations</Term> with the value you store. This sample is trimmed from a response for <Term id="release">release</Term> `governed-2026-10-15-january-climate-prod`. Read `value` and <Term id="release_id">release_id</Term> from your own response. A later release can change them.

<Accordions>
<Accordion title="Show example response">

```json
{
  "data": [
    {
      "measure_id": "case_count_floor_2023",
      "geography": { "geography_type": "county", "geography_id": "36061" },
      "temporal_grain": "YEAR",
      "period_start": "2023-01-01",
      "period_end": "2023-12-31",
      "value": 1114.0,
      "value_state": "OBSERVED",
      "unit": "cases",
      "denominator": null,
      "strata": {},
      "source_id": "human",
      "methodology_id": "human_confirmed_probable_case_floor_v1",
      "semantic_version": "2.0.0",
      "release_id": "governed-2026-10-15-january-climate-prod",
      "environmental_context": null
    }
  ],
  "meta": {
    "next_page_token": null,
    "response_at": "2026-10-26T00:54:40.549206Z",
    "availability": "AVAILABLE",
    "release_id": "governed-2026-10-15-january-climate-prod",
    "limitations": []
  },
  "links": { "self": null }
}
```

</Accordion>
</Accordions>

</Step>
<Step>

### Follow provenance

Copy <Term id="source_id">source_id</Term> and <Term id="methodology_id">methodology_id</Term> from the observation you received. Keep the <Term id="provenance_ref">provenance</Term> reference with that row. The example uses `human` and `human_confirmed_probable_case_floor_v1`.

<HttpClientTabs
  requests={[
    { path: "/v1/sources/human" },
    { path: "/v1/methodologies/human_confirmed_probable_case_floor_v1" },
  ]}
/>

Detail routes return `data`. An unknown id returns HTTP 404 `RESOURCE_NOT_FOUND`. A matching `If-None-Match` on a source or methodology returns HTTP 304 and an empty body. This observation collection ignores `If-None-Match` and returns HTTP 200.

</Step>
<Step>

### Handle problems

Use this table for the quickstart URL, and for the same query with another county FIPS, period, or extra parameter. Handle an empty page, a bad request, and a retry before you look up the other codes.

<Accordions>
  <Accordion title="Observed value — record the value with its unit, period, and release">
    HTTP 200, a row, `value_state` `OBSERVED`, numeric `value`. Record `value`,
    `unit`, the period, `release_id`, and `semantic_version`.
  </Accordion>
  <Accordion title="Zero or gap — keep numeric zero and leave a gap null">
    HTTP 200 and `value_state` `ZERO`, or `value` null with `MISSING`,
    `SUPPRESSED`, or `UNAVAILABLE`. Keep `ZERO` as numeric zero. Leave a gap
    null. Do not substitute zero.
  </Accordion>
  <Accordion title="Empty page — an empty page is not HTTP 404">
    HTTP 200, `data` `[]`. First query: `meta.availability` `UNAVAILABLE` and
    `reason` `NO_PUBLISHED_RESULTS`. A later empty page stays `AVAILABLE`. An
    empty page does not establish source coverage or biological absence, and it
    is not HTTP 404.
  </Accordion>
  <Accordion title="Bad request — change the request and send it again">
    HTTP 400. Read `code`, `detail`, and `errors`. Change the request and send
    it again. For this annual measure, send `year` or both `start_date` and
    `end_date`, and do not send both. `INVALID_REQUEST` covers a missing or
    inconsistent parameter. Send `geography_type=county`. `state` returns
    `UNSUPPORTED_FILTER`.
  </Accordion>
  <Accordion title="Retry — wait for Retry-After, then send the same request">
    HTTP 429 `RATE_LIMITED`, or HTTP 503 `SERVICE_UNAVAILABLE`, with header
    `Retry-After`. Wait the seconds in `Retry-After` when the header is present,
    then send the same request again. Without the header, follow
    [Retries](/docs/develop/errors#retries). The public document does not
    publish a numeric quota.
  </Accordion>
</Accordions>

The other codes and states are in [Errors and retries](/docs/develop/errors): [Value states](/docs/develop/errors#value-states), [INVALID_REQUEST](/docs/develop/errors#invalid_request), [UNSUPPORTED_FILTER](/docs/develop/errors#unsupported_filter), [UNSUPPORTED_STRATIFICATION](/docs/develop/errors#unsupported_stratification), [QUERY_TOO_BROAD](/docs/develop/errors#query_too_broad), [RESOURCE_NOT_FOUND](/docs/develop/errors#resource_not_found), [RATE_LIMITED](/docs/develop/errors#rate_limited), [HTTP 413](/docs/develop/errors#http-413), [HTTP 414](/docs/develop/errors#http-414), [HTTP 503](/docs/develop/errors#http-503), and [Retries](/docs/develop/errors#retries).

</Step>
<Step>

### Next steps

Release notes for the pinned contract are in [What's new](/docs/develop/changelog).

<Cards>
  <Card
    title="What's new"
    href="/docs/develop/changelog"
    description="See what changed in the public API."
  />
  <Card
    title="Errors and retries"
    href="/docs/develop/errors"
    description="Look up a code, a retry, or a value state."
  />
  <Card
    title="Indicators, measures, and observations"
    href="/docs/develop/resources"
    description="Choose a measure and read each value state."
  />
  <Card
    title="Provenance and evidence"
    href="/docs/develop/provenance"
    description="Cite the source, methodology, and release with the value."
  />
  <Card
    title="REST API"
    href="/docs/develop/rest"
    description="Page a collection and read every problem code."
  />
  <Card
    title="Workflow guides"
    href="/docs/develop/workflows"
    description="Query, compare, and cite a county."
  />
</Cards>

Open the [workflow guides](/docs/develop/workflows).

</Step>
</Steps>
