---
title: "List valid values for a parameter"
method: GET
path: "/?Method=GetParameterValues"
tags: ["GetParameterValues"]
---

# List valid values for a parameter

`GET /?Method=GetParameterValues`

## Request

- Base URL: `https://apps.bea.gov/api/data`
- URL: `https://apps.bea.gov/api/data/?Method=GetParameterValues`
- Auth: API key in query parameter `UserID`
- TypeScript: <https://skmtc.dev/bea/apis/bea-data-api/docs/%3FMethod=GetParameterValues/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of valid values for the specified parameter in the dataset.

## Query parameters

- `DatasetName` string, required
- `parametername` string, required
- `ResultFormat` 'JSON' | 'XML'

## Response `200`

Returns the list of valid values for the parameter.

---

[API](https://skmtc.dev/bea/apis/bea-data-api.md) - [All operations](https://skmtc.dev/bea/apis/bea-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bea/apis/bea-data-api/revisions/705726f66463?raw)
