Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • v2 limits per key: 500 queries a day, 50 series and 20 years per query, 50 requests per 10 seconds.
  • Series ids are uppercase codes and may contain _, - and #; lowercase letters and other characters are rejected. The popular-series and survey endpoints help find them.
  • With no years given, a series call returns the past three years. Years are four-digit YYYY values.
  • The optional catalog, calculations, annualaverage and aspects outputs need the registration key.

Endpoints

Get one series

Get several series over a year range

  • A read sent as a POST with a JSON body.

List surveys

Get a survey