---
title: "Get Performance"
method: GET
path: "/admin/affiliates/performance"
tags: ["admin"]
---

# Get Performance

`GET /admin/affiliates/performance`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/admin/affiliates/performance`
- Auth: HTTP bearer

Every affiliate's funnel over the window, plus the program roll-up.

Rows are returned only for affiliates that have a code — a CRM record we
never issued a code to has no funnel to report and would pad the table with
zeroes. Ranked by commission earned in the window, so the people actually
producing sit at the top.

## Query parameters

- `start` string, date, nullable: Inclusive start date (YYYY-MM-DD)
- `end` string, date, nullable: Inclusive end date (YYYY-MM-DD)

## Response `200`

Successful Response

- AffiliatePerformanceResponse
  - `start` string, required
  - `end` string, required
  - `totals` AffiliatePerformanceTotals, required: Program-wide roll-up of the rows below it, same window.
    - `affiliates` integer
    - `affiliates_with_traffic` integer
    - `visits_in_range` integer
    - `redemptions_in_range` integer
    - `new_referrals_in_range` integer
    - `net_revenue_cents_in_range` integer
    - `commission_cents_in_range` integer
    - `visit_to_redemption_pct` number, nullable
    - `visit_to_referral_pct` number, nullable
    - `pending_cents` integer
    - `approved_cents` integer
    - `paid_cents` integer
  - `items` AffiliatePerformance[], required
    - `affiliate_id` string, required
    - `name` string, required
    - `handle` string, nullable
    - `email` string, nullable
    - `status` string, required
    - `promo_code` string, nullable
    - `code_active` boolean, nullable
    - `main_platform` string, nullable
    - `visits_in_range` integer
    - `days_with_traffic` integer
    - `redemptions_in_range` integer
    - `new_referrals_in_range` integer
    - `renewals_in_range` integer
    - `net_revenue_cents_in_range` integer
    - `commission_cents_in_range` integer
    - `visit_to_redemption_pct` number, nullable
    - `visit_to_referral_pct` number, nullable
    - `lifetime_revenue_cents` integer
    - `lifetime_qualified_referrals` integer
    - `pending_cents` integer
    - `approved_cents` integer
    - `paid_cents` integer
    - `tier` integer
    - `rate_bps` integer
    - `chargeback_count` integer
    - `last_visit_day` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/framesail/apis/framesail-api.md) · [All operations](https://skmtc.dev/framesail/apis/framesail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framesail/apis/framesail-api/revisions/12602eae0820?raw)
