---
title: "Get Survey Response Counts"
method: GET
path: "/v2/surveys/{id}/statistics"
tags: ["Surveys V2"]
---

# Get Survey Response Counts

`GET /v2/surveys/{id}/statistics`

Returns survey response counts grouped by paywall with percentages. Requires surveys:read scope.

## Path parameters

- `id` string, required — Survey ID

## Response `200`

Success

- object
  - `object` 'survey_response_counts', required — Object type, always `survey_response_counts`
  - `data` object[], required — Response counts grouped by paywall
    - `paywall_id` union, required — Paywall ID, or 'all' for the aggregate group
      - string — a string to be decoded into a number
      - 'all' — Sentinel value identifying the cross-paywall aggregate group
    - `paywall` object, nullable, required — Paywall details, or null for the 'all' aggregate
      - `id` string, required — Paywall ID
      - `name` string, required — Paywall name
      - `v4` boolean, required — Whether this is a v4 paywall
      - `url` string, required — Paywall URL
      - `application_id` string, required — Application ID
    - `results` object[], required — Response results for this paywall
      - `title` string, required — Response option title
      - `count` number, required — Number of responses
      - `is_custom_response` boolean, required — Whether this is an 'Other' custom response
      - `percentage` number, required — Percentage of total responses (0-100)

## Other responses

- `400` — The request did not match the expected schema
- `401` — No API key was provided in the request
- `403` — The API key does not have permission to perform this action
- `404` — The requested resource was not found
- `429` — Too many requests have been made in a short period
- `500` — An unexpected error occurred on the server

---

[API](https://skmtc.dev/superwall/apis/superwall-api-v2.md) · [All operations](https://skmtc.dev/superwall/apis/superwall-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/superwall/superwall-api-v2/revisions/e04f76c478af/schema)
