---
title: "GET /data/query"
method: GET
path: "/data/query"
tags: ["Data Query"]
---

# GET /data/query

`GET /data/query`

Get files available for a given product, one or more sites, date range, release, package combination

## Query parameters

- `productCode` string, required
- `siteCode` string, required
- `startDateMonth` string, required
- `endDateMonth` string, required
- `release` string
- `package` 'basic' | 'expanded'
- `includeProvisional` boolean

## Response `200`

Available files

- object
  - `data` DataQuery
    - `productCode` string — Revisioned, shortened code for the data product (DP1.00001.001, DP1.10072.001, etc)
    - `siteCodes` string[] — List of four character site codes available
    - `startDate` string, date-time — The start date of the query interval
    - `endDate` string, date-time — The end date of the query interval
    - `packageType` string — The type of package, basic or expanded
    - `releases` object[] — The list of available releases for the query
      - `release` string — The name of the release
      - `generationDate` string, date-time — The generation date of the release
      - `packages` object[] — The list of available packages within the release for the query
        - `domainCode` string — Three character domain abbreviation (D01, D02, etc) for the domain this package is in
        - `siteCode` string — Four character code for the site
        - `month` string — The available month, formatted as YYYY-MM
        - `packageType` string — The type of package, basic or expanded
        - `generationDate` string, date-time — The generation date of the package
        - `files` File[] — The list of available files within the package for the query
          - `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

## Other responses

- `400` — One or more invalid paramaters specified
- `default` — General error

## Changes

- **2025-03-04** `1e797c6c1e2b` — 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/query/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)
