---
updatedAt: 2026-08-14T00:03:04.000Z
---

# List values for a forecasting targeting key

Returns the available targeting values for a specified forecasting key. The targeting_key query parameter is required. Use GET /forecasting/keys first to discover valid key names. Results are paginated.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Campaign Planner Resources",
    "version": "2.0.0",
    "description": "Buzz API v2"
  },
  "paths": {
    "/forecasting/values": {
      "get": {
        "operationId": "forecasting_values_retrieve",
        "description": "Returns the available targeting values for a specified forecasting key. The targeting_key query parameter is required. Use GET /forecasting/keys first to discover valid key names. Results are paginated.",
        "summary": "List values for a forecasting targeting key",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "type": "integer"
            },
            "description": "Page number for paginated results."
          },
          {
            "in": "query",
            "name": "page_size",
            "schema": {
              "type": "integer"
            },
            "description": "Number of results per page. Defaults to 50, maximum 10000."
          },
          {
            "in": "query",
            "name": "targeting_key",
            "schema": {
              "type": "string"
            },
            "description": "The targeting key to retrieve values for (e.g. geo). Must be a valid key returned by GET /forecasting/keys.",
            "required": true
          },
          {
            "in": "query",
            "name": "targeting_values__contains",
            "schema": {
              "type": "string"
            },
            "description": "Filter values containing this string (case-insensitive, e.g. US)."
          }
        ],
        "tags": [
          "Campaign Planner"
        ],
        "security": [
          {
            "nestSessionAuth": []
          },
          {
            "nestBasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ForecastingValuesEnvelope"
                }
              }
            },
            "description": "Paginated list of targeting values for the specified key."
          },
          "400": {
            "description": "The targeting_key parameter is missing or not available for forecasting."
          },
          "401": {
            "description": "Authentication credentials are missing or invalid."
          },
          "403": {
            "description": "Permission denied."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Errors": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "object",
            "additionalProperties": {},
            "description": "Field-level validation errors, keyed by field name."
          },
          "non_field_errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Validation errors not tied to a specific field."
          }
        },
        "required": [
          "errors",
          "non_field_errors"
        ]
      },
      "ForecastingValue": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Unique identifier for the targeting value."
          },
          "name": {
            "type": "string",
            "description": "Display name of the targeting value."
          },
          "alternative_id": {
            "type": "string",
            "description": "Alternative identifier for the targeting value."
          }
        },
        "required": [
          "alternative_id",
          "key",
          "name"
        ]
      },
      "ForecastingValuesEnvelope": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "description": "Total number of matching targeting values."
          },
          "next": {
            "type": "string",
            "nullable": true,
            "description": "URL for the next page of results, or null if this is the last page."
          },
          "previous": {
            "type": "string",
            "nullable": true,
            "description": "URL for the previous page of results, or null if this is the first page."
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ForecastingValue"
            },
            "description": "List of matching targeting values for the requested key."
          },
          "targeting_key": {
            "type": "string",
            "description": "The targeting key name these values belong to."
          },
          "supported_version_id": {
            "type": "string",
            "description": "Identifier for the forecasting model version these values belong to."
          },
          "errors": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Errors"
              }
            ],
            "description": "Validation errors, if any."
          },
          "warnings": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Warnings"
              }
            ],
            "description": "Warnings, if any."
          }
        },
        "required": [
          "count",
          "errors",
          "next",
          "previous",
          "result",
          "supported_version_id",
          "targeting_key",
          "warnings"
        ]
      },
      "Warnings": {
        "type": "object",
        "properties": {
          "warnings": {
            "type": "object",
            "additionalProperties": {},
            "description": "Field-level warnings, keyed by field name."
          },
          "non_field_warnings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Warnings not tied to a specific field."
          }
        },
        "required": [
          "non_field_warnings",
          "warnings"
        ]
      }
    },
    "securitySchemes": {
      "nestBasicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Form-based Basic Authentication"
      },
      "nestSessionAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Form-based Basic Authentication"
      }
    }
  },
  "x-explorer-enabled": false,
  "x-samples-languages": [
    "curl",
    "node",
    "ruby",
    "javascript",
    "python",
    "php",
    "java"
  ],
  "servers": [
    {
      "url": "https://{buzz_key}.api.beeswax.com/rest/v2",
      "variables": {
        "buzz_key": {
          "default": "stingersbx",
          "description": "Unique customer ID assigned by the Beeswax"
        }
      }
    }
  ]
}
```