get_affiliate_portal_stats
Retrieve affiliate portal stats for a user identifier: active referred users by multilevel depth and volumes. Requires project ID and user identifier.
Instructions
Project affiliate stats for one user identifier: GET /api/v1/projects/:projectId/affiliate-portal/stats. Response includes active referred-user counts by multilevel depth (active_referred_users_r2–r4) scoped like volumes. Requires dashboard JWT (same as other project tools). Query params match the dashboard affiliate management UI. Example: {"project_id":"","user_identifier":"evm:0x..."}. If the API returns HTTP 429, wait Retry-After seconds (if present) before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| user_identifier | Yes | Encoded identifier string (e.g. evm:0x..., solana:...). | |
| from | No | ||
| to | No | ||
| this_month | No | Use "true" for current month (mutually exclusive with from/to). | |
| conversion_external_id | No | ||
| conversion_name | No |