---
title: "Get affiliate statistics"
method: GET
path: "/client/v1/affiliate/stats"
---

# Get affiliate statistics

`GET /client/v1/affiliate/stats`

Retrieves aggregated affiliate performance statistics, including referral counts, current level, commission totals, and amounts already processed (withdrawn, converted, or transferred).

## Response `200`

Successful response

- ResponseAffiliateStats — Affiliate statistics response payload.
  - `success` boolean — Indicates whether the request was successful.
  - `message` string — Human-readable response message.
  - `result` AffiliateStats — Aggregated affiliate performance metrics.
    - `registered_users` integer — Total number of referred (registered) users.
    - `today_commission` number — Commission earned today.
    - `total_commission` number — Total commission earned (all-time).
    - `total_commission_valid` number — Total valid commission earned (all-time).
    - `withdrawn_amount` number — Total commission amount that has already been processed (withdrawn, converted to IPs, or transferred to wallet).
    - `current_level` AffiliateLevel — Affiliate level definition and qualification thresholds.
      - `number` integer — Level number.
      - `title` string — Level title.
      - `rate` number — Commission rate applied to purchases made by referred users.
      - `goal_amount` number — Cumulative purchase amount from referred users required to reach the next level.
    - `all_level` AffiliateLevel[]
      - `number` integer — Level number.
      - `title` string — Level title.
      - `rate` number — Commission rate applied to purchases made by referred users.
      - `goal_amount` number — Cumulative purchase amount from referred users required to reach the next level.

## Other responses

- `400` — Bad request
- `403` — Authentication error

---

[API](https://skmtc.net/9proxy/apis/cd-key.md) · [All operations](https://skmtc.net/9proxy/apis/cd-key/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/9proxy/cd-key/versions/c159f83789a8/schema)
