---
title: "GetCount queries the parameters of x/Counter module."
method: POST
path: "/cosmos.counter.v1.Query/GetCount"
tags: ["Query"]
---

# GetCount queries the parameters of x/Counter module.

`POST /cosmos.counter.v1.Query/GetCount`

## Request body

- CosmosCounterV1QueryGetCountRequest — QueryGetCountRequest defines the request type for querying x/mock count.

## Response `200`

A successful response.

- CosmosCounterV1QueryGetCountResponse — QueryGetCountResponse defines the response type for querying x/mock count.
  - `total_count` string, int64

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-05-26** `671fab54b729` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/cosmos.counter.v1.Query/GetCount/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc.dev/pokt-network/apis/http-api-console/revisions/671fab54b729?raw)
