get
https://api.fuul.xyz/api/v1/affiliate-portal/total-stats
Returns aggregated statistics for all affiliates in a project, including total affiliates count, active/suspended affiliates, total volume, revenue, attributions, referred users, and total earnings.
This endpoint provides project-wide metrics by summing all affiliates' data. It's designed for dashboard views where project totals are displayed.
Earnings Currency Handling:
- Non-POINT currencies are converted to USD and aggregated together
- POINTS are kept separate and not converted to USD
- The response includes an array of earnings, with separate entries for USD and POINTS
Required API Key Scope: service_role
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Bad Request - Invalid parameters
401Unauthorized - Missing or invalid API key, or insufficient scope