---
title: "Query Location Values"
description: "How to call Query Location Values (POST /api/location-values-reports) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/query_location_values_beta"
revision: "2026-10-15.pre"
operationId: "query_location_values_beta"
aliases: ["create_location_values_report"]
method: "POST"
endpoint: "https://a.klaviyo.com/api/location-values-reports"
authentication: "privateKey"
scopes: ["locations:read"]
rateLimits: {"burst":"3/s","steady":"60/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/query_location_values_beta.json"
jsonApi: {"fields":{"location-values-report":["id","results"]}}
related: ["https://developers.klaviyo.com/en/reference/reporting-beta/llms.txt","https://developers.klaviyo.com/en/reference/query_location_series_beta.md","https://developers.klaviyo.com/en/reference/ask_analytics_question_beta.md","https://developers.klaviyo.com/en/reference/query_social_series_beta.md","https://developers.klaviyo.com/en/reference/query_social_values_beta.md"]
---

# Query Location Values

> This is the Markdown version of https://developers.klaviyo.com/en/reference/query_location_values_beta

```http
POST https://a.klaviyo.com/api/location-values-reports
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2026-10-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


Get totals for a live event.

Returns how many people your campaigns for the event reached on each channel, and in-store sales during the event.

Set `filter.live_event_id` to the event, and set the timeframe to `{"key": "all_time"}`. Other timeframes aren't supported: reach always counts every campaign sent for the event, and sales always cover the event's start and end time.

To get sales for one host location, also set `filter.location_id`. You can't combine this filter with reach statistics.

- Revision header: `revision: 2026-10-15.pre` (required)
- Scopes: `locations:read`
- Rate limits: Burst: `3/s`, Steady: `60/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15.pre/openapi/beta/apis/query_location_values_beta.json)

## Example request

### curl

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/location-values-reports' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15.pre' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "location-values-report",
    "attributes": {
      "statistics": [
        "email_reach",
        "gross_revenue"
      ],
      "timeframe": {
        "key": "all_time"
      }
    }
  }
}'
```

### CLI

```bash
klaviyo beta reporting query-location-values \
  -d '{
  "data": {
    "type": "location-values-report",
    "attributes": {
      "statistics": [
        "email_reach",
        "gross_revenue"
      ],
      "timeframe": {
        "key": "all_time"
      }
    }
  }
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

## Query parameters

- `fields[location-values-report]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md) Allowed values: `id`, `results`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-10-15.pre`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `location-values-report`
  - `attributes` (object, required)
    - `statistics` (string[], required): Statistics to return. `email_reach`, `sms_reach`, and `push_reach` count the people your campaigns for this event reached on each channel. `whatsapp_messages_delivered` counts messages, not people. Someone reached on two channels is counted on both, so don't add the channels together. `gross_revenue`, `purchasers`, and `order_count` are in-store sales during the event. Allowed values: `email_reach`, `sms_reach`, `push_reach`, `whatsapp_messages_delivered`, `gross_revenue`, `purchasers`, `order_count`
    - `timeframe` (object, required): Must be `{"key": "all_time"}`. Reach always counts every campaign sent for the event, and sales always cover the event's start and end time.
      - `key` (string, nullable): Named preset window. Allowed values: `all_time`, `today`, `yesterday`, `this_week`, `last_7_days`, `last_week`, `this_month`, `last_30_days`, `last_month`, `last_90_days`, `last_3_months`, `last_365_days`, `last_12_months`, `this_year`, `last_year` Example: `last_30_days`
      - `start` (string<date-time>, nullable): First day to include, in the account's timezone. Example: `2026-09-01T00:00:00+00:00`
      - `end` (string<date-time>, nullable): Last day to include, in the account's timezone. Example: `2026-09-30T00:00:00+00:00`
    - `filter` (object, nullable): Which live event to report on.
      - `live_event_id` (string, nullable): The live event to report on. Required. Example: `01JABCDEFGHJKMNPQRSTVWXYZ1`
      - `location_id` (string, nullable): Only count sales at this host location. Can't be used with reach statistics. Example: `01JABCDEFGHJKMNPQRSTVWXYZ0`

### Example request body

```json
{
  "data": {
    "type": "location-values-report",
    "attributes": {
      "statistics": [
        "email_reach",
        "gross_revenue"
      ],
      "timeframe": {
        "key": "all_time"
      }
    }
  }
}
```

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `location-values-report`
  - `id` (string, required): Opaque identifier for this report response. Example: `b13f8dea-895a-4a7c-a349-cc8efd25b1ba`
  - `attributes` (object, required)
    - `results` (object[], required): One row per live event.
      - `groupings` (object, required): The live event, and the host location if you filtered by one.
      - `statistics` (object, required): Each requested statistic and its value. Null if it isn't available.
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.

#### Example response body

```json
{
  "data": {
    "type": "location-values-report",
    "id": "b13f8dea-895a-4a7c-a349-cc8efd25b1ba",
    "attributes": {
      "results": [
        {
          "groupings": {
            "live_event_id": "01JABCDEFGHJKMNPQRSTVWXYZ1"
          },
          "statistics": {
            "email_reach": 4200,
            "gross_revenue": 950.5
          }
        }
      ]
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
