CDC Wastewater Surveillance API

Wastewater samples from CDC's National Wastewater Surveillance System for measles, SARS-CoV-2 and influenza A: treatment site, state, counties and population served, collection date, PCR target, concentration and its normalized value.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 18 fieldsv1.0

Data from data.cdc.gov/resource/akvg-8vrb.json

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Pathogenoptional
Which pathogen: measles, sars_cov_2 or influenza_a.
Stateoptional
Optional two-letter state or territory code, such as ca.
Example: ca
Sinceoptional
Only samples collected on or after this day (YYYY-MM-DD).
Example: 2026-11-01

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/cdc-wastewater-surveillance/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/cdc-wastewater-surveillance/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"pathogen":"influenza_a"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

pathogentext
Which pathogen: measles, sars_cov_2 or influenza_a.
default: sars_cov_2example: influenza_aone of: measles, sars_cov_2, influenza_a
statetext
Optional two-letter state or territory code, such as ca.
example: ca
sincetext
Only samples collected on or after this day (YYYY-MM-DD).
example: 2026-11-01

What's in each record

18 fields: 17 here, 1 technical one under Technical details.

Basics

  • Pathogen

    measles, sars_cov_2 or influenza_a.

    Example measles

  • Site

    Treatment-plant site number assigned by CDC.

    Example 147

  • County fips

    FIPS code of the county, or the first county, served.

    Example 06075, 06081

  • Counties served

    Counties served by the site.

    Example San Francisco, San Mateo

  • Population served

    People served by the sewershed.

    Example 250,000

  • Sample type

    How the sample was taken, such as 24-hr flow-weighted composite.

    Example grab

  • Sample matrix

    Where in the plant it was taken, such as raw wastewater.

    Example primary sludge

  • Pcr target

    The genetic target measured, such as sars-cov-2 or mev_wt.

    Example mev_wt

  • Detected

    Whether the target was detected.

    Example No

  • Concentration

    Average concentration of the target, in concentration_units.

    Example 550

  • Concentration units

    Unit of concentration, such as copies/l wastewater.

    Example copies/g dry sludge

  • Normalized concentration

    Concentration normalized to a human fecal-strength marker (PMMoV).

    Example 0

  • Source

    Who reported it, such as WastewaterSCAN or State_Territory.

    Example WastewaterSCAN

Location

  • State

    Two-letter state or territory code.

    Example CA

Dates

  • Sample collect date

    Day the sample was collected.

    Example Dec 1, 2026

  • Updated

    When CDC last updated this row (UTC).

    Example Dec 4, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Record ID record_idCDC's id of the sample result.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
record_idtextRecord ID (hidden)3 of 3
pathogentextPathogen3 of 3
sitetextSite3 of 3
statetextState3 of 3
county_fipstextCounty fips3 of 3
counties_servedtextCounties served3 of 3
population_servednumberPopulation served3 of 3
sample_collect_datedateSample collect date3 of 3
sample_typetextSample type3 of 3
sample_matrixtextSample matrix3 of 3
pcr_targettextPcr target3 of 3
is_detectedyes or noDetected3 of 3
concentrationnumberConcentration3 of 3
concentration_unitstextConcentration units3 of 3
normalized_concentrationnumberNormalized concentration3 of 3
sourcetextSource3 of 3
updated_atdate and timeUpdated3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordPathogenSiteCounty fipsCounties servedPopulation servedSample typeSample matrixPcr targetDetectedConcentrationConcentration unitsNormalized concentrationSourceStateSample collect dateUpdatedLink
1measles14706075, 06081San Francisco, San Mateo250,000grabprimary sludgemev_wtNo550copies/g dry sludge0WastewaterSCANCADec 1, 2026Dec 4, 2026data.cdc.gov/resource/akvg-8vrb.json?record_id=00bdafe354650193c993a3c4508817f7
2measles72824003Anne Arundel11,80224-hr flow-weighted compositepost grit removalmev_wtNo750copies/l wastewater0.00005CDC_VerilyMDDec 1, 2026Dec 4, 2026data.cdc.gov/resource/akvg-8vrb.json?record_id=0ea651ccff944014d7a8e564fdb572f3
3measles14006067Sacramento1,480,000grabprimary sludgemev_wtNo550copies/g dry sludge0WastewaterSCANCADec 1, 2026Dec 4, 2026data.cdc.gov/resource/akvg-8vrb.json?record_id=315ff887719775281913df379fbcc30c

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • One pathogen per run (measles, sars_cov_2 or influenza_a); each is a separate CDC file with its own update schedule, usually refreshed weekly. Newest samples are a few days old.
  • Sites report different lab methods and units (copies per litre of wastewater or per gram of dry sludge); compare concentrations only within one site and unit, or use normalized_concentration (adjusted for human fecal strength).
  • When the target was not detected, concentration is CDC's substitute of half the detection limit (for example 550), not a measured amount; is_detected says whether the target was found. Normalized values are empty where the site did not report the fecal-strength control.
  • The SARS-CoV-2 file holds years of history (hundreds of thousands of samples); use since to keep runs small. One run returns at most 20,000 samples, newest first.
  • Data from CDC is public domain; CDC does not endorse this API. The source throttles heavy anonymous use.

Version history

A run uses the live version unless the request names another one with version.