Download a dataset

Download complete observations as JSON, CSV or Parquet. CSV and Parquet contain the named measure across all periods; JSON retains the complete source artifact.

get
/exports/{export-id}

Good to know

  • This response isn't wrapped in the usual envelope: it's the file itself.
  • export-idstringrequired

    An export id from GET /v1/exports; one source partition of one measure.

  • formatstringoptional
    One ofjsoncsvparquet
    Defaultjson

Returns

object

The complete source observation artifact.

Header Content-Disposition

Suggested filename for the selected format.

  • 400A query parameter is malformed or its cursor is not valid for this result set.
  • 404No resource matches that identity.
  • 503The referenced build artifact has not been built yet.

Every error has the same shape. See Errors for how to handle them.

Show the precise behaviour

Defaults to the source JSON artifact. Use format=csv or format=parquet for a prebuilt flat file of the named measure across all periods. Shared tables are projected to that measure, preserving null cells. Rows carry measureId, unit, datasetId, geography, boundaryYear, period, areaCode, sourceAreaCode, value, category, status, lowerBound and upperBound. Missing fields are empty in CSV and null in Parquet. Sizes and hashes for the flat files are listed in each export's formats. The response is not wrapped in the usual API envelope.