---
title: "GET /data/{productCode}/{siteCode}/{year-month}"
method: GET
path: "/data/{productCode}/{siteCode}/{year-month}"
tags: ["Data"]
---

# GET /data/{productCode}/{siteCode}/{year-month}

`GET /data/{productCode}/{siteCode}/{year-month}`

Get files available for a given product/site/month combination

## Path parameters

- `productCode` string, required
- `siteCode` string, required
- `year-month` string, required

## Query parameters

- `package` 'basic' | 'expanded'
- `release` string

## Response `200`

Available files

- object
  - `data` Data
    - `productCode` string — The product code.
    - `siteCode` string — The four letter site code.
    - `month` string — The available month. Formatted as YYYY-MM.
    - `release` string — The name of the associated release.
    - `packages` object[]
      - `type` string — The type of package.
      - `url` string — The URL to the data package API endpoint.
    - `files` File[]
      - `name` string — Filename
      - `size` number — File size in bytes
      - `md5` string — MD5 value in hex
      - `crc32` string — DEPRECATED. CRC32 value in hex
      - `crc32c` string — CRC32C value in hex
      - `url` string — Download URL
    - `externalData` ExternalData[]
      - `name` string — The name of the external data object.
      - `type` string — The type of external data link provided.
      - `url` string — URL to external data.

## Other responses

- `400` — Product, site not found or invalid date range specified
- `default` — General error

## Changes

- **2021-01-26** `9519af3d4648` — 1 info
  - added the new optional `query` request parameter `release`
- **2020-03-17** `6b4aedeaf791` — 1 warning
  - deleted the `query` request parameter `release`

[Change history](https://skmtc.dev/neonscience/apis/neon-data-api-requests/changes/data/:productCode/:siteCode/:year-month/get.md)

---

[API](https://skmtc.dev/neonscience/apis/neon-data-api-requests.md) · [All operations](https://skmtc.dev/neonscience/apis/neon-data-api-requests/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/neonscience/neon-data-api-requests/revisions/e108051ab4bc/schema)
