---
title: "Count wallets within subscription"
method: GET
path: "/v1/tx-subscriptions/{subscription_id}/wallets/count"
tags: ["subscriptions to transactions"]
---

# Count wallets within subscription

`GET /v1/tx-subscriptions/{subscription_id}/wallets/count`

This endpoint returns the count of wallets within a specific subscription by subscription ID.

> NOTE: Consider all IDs as abstract strings, without making any assumptions about their format or relying on such assumptions. There is a non-zero probability that IDs may change in the future, and this should not result in any breaking changes.

## Path parameters

- `subscription_id` string, required

## Response `200`

Response for wallets count within subscription

- Response24
  - `links` ResponseLinks20, required
    - `self` string, url, required
    - `next` string, url
  - `data` Container20, required
    - `type` string, required
    - `id` string, required — Unique ID
    - `attributes` Attributes18, required
      - `count` integer, required — Number of wallets within the subscription
    - `relationships` Relationships11, required
      - `subscription` PaginatedRelationship
        - `links` PaginatedRelationshipLinks, required
          - `self` string, url
          - `next` string, url
          - `related` string, url, required — URL to the current subscription
        - `data` RelationshipContainer, required
          - `type` string, required — Subscription resource type
          - `id` string, required — Subscription unique identifier

## Other responses

- `400` — Parameters are malformed
- `401` — Unathenticated request
- `404` — Resource was not found
- `429` — Too many requests error

---

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