---
title: "Get the affiliate headline stats"
method: GET
path: "/affiliate/stats/"
tags: ["affiliate"]
---

# Get the affiliate headline stats

`GET /affiliate/stats/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/affiliate/stats/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The dashboard's headline numbers on their own, for cheap refreshes.

## Response `200`

Successful Response

- AffiliateStatsReadSchema: The affiliate dashboard's headline numbers.
  - `available_cents` integer, required: Payable balance; negative when clawbacks exceed earnings.
  - `click_count` integer, required: Deduplicated, bot-filtered clicks on the affiliate's links.
  - `lifetime_earned_cents` integer, required: All commission ever accrued.
  - `lifetime_paid_cents` integer, required: All payouts ever sent.
  - `paying_count` integer, required: Of those, how many are on a paid plan.
  - `pending_cents` integer, required: Commission still inside the pending window.
  - `registered_count` integer, required: Workspaces that signed up through the links.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
