---
title: "Get product counters"
method: GET
path: "/product/productCounters"
tags: ["Product"]
---

# Get product counters

`GET /product/productCounters`

Retrieves view, add-to-cart, and transaction counts for multiple products.

## Query parameters

- `siteCode` string, required
- `eans` string, required — JSON array of `<product Id / EAN: string>`.
- `timeBegin` integer
- `timeEnd` integer
- `prettyPrint` boolean

## Headers

- `user-agent` string, required

## Response `200`

Successful operation, products counters are rendered, of type JSON object {&quot;&lt;product Id / EAN&gt;&quot;: &lt;product counters&gt;}, with &lt;product counters&gt; of type JSON object {&quot;v&quot;: &lt;number of views = integer&frasl;int32&gt;, &quot;atcq&quot;: &lt;add to cart quantities = integer&frasl;int32&gt;, &quot;bq&quot;: &lt;transaction quantities = integer&frasl;int32&gt;}

## Other responses

- `400` — Malformed URL query syntax.
- `401` — Authentication failed. Either the HTTP header value is malformed, or the token is missing or invalid (malformed, expired, or invalid signature).
- `403` — Access denied. Forbidden user-agent or restricted resource.
- `429` — Kameleoon rate-limited the request.
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/versions/09f2abcea0b5/schema)
