---
title: "Count of activations"
method: POST
path: "/spacemesh.v2alpha1.ActivationService/ActivationsCount"
tags: ["ActivationService"]
---

# Count of activations

`POST /spacemesh.v2alpha1.ActivationService/ActivationsCount`

## Request

- Base URL: `https://testnet-api.spacemesh.network`
- URL: `https://testnet-api.spacemesh.network/spacemesh.v2alpha1.ActivationService/ActivationsCount`
- Auth: none declared
- TypeScript: <https://skmtc.dev/spacemesh/apis/spacemesh-api/docs/spacemesh.v2alpha1.ActivationService/ActivationsCount/post.ts> (a function with typed inputs; its response is checked against the schema)

ActivationsCount is a method that takes an "ActivationsCountRequest" body and returns an "ActivationsCountResponse".
This method is used to retrieve the count of activations for a specified epoch.

## Request body

- Spacemeshv2alpha1ActivationsCountRequest
  - `epoch` integer

## Response `200`

A successful response.

- Spacemeshv2alpha1ActivationsCountResponse
  - `count` integer

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/spacemesh/apis/spacemesh-api.md) - [All operations](https://skmtc.dev/spacemesh/apis/spacemesh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spacemesh/apis/spacemesh-api/revisions/427c8b53574b?raw)
