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

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

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

Get a file for a given product/site/month/filename combination

## Path parameters

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

## Query parameters

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

## Response `200`

Available file data

## Other responses

- `302` — Found available file and redirects to data
- `400` — Invalid file name specified
- `default` — General error

## Changes

- **2021-01-26** `9519af3d4648` — 1 info
  - endpoint added
- **2020-03-17** `6b4aedeaf791` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/neonscience/apis/neon-data-api-requests/changes/data/:productCode/:siteCode/:year-month/:filename/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)
