{% extends "portal/base.html" %} {% block title %}Analytics{% endblock %} {% block content %}

Revenue Analytics

Track your earnings, commissions, and settlements.

{# ── Revenue Stats ── #}
${{ "%.2f"|format(stats.total_revenue) }}
Gross Revenue
${{ "%.2f"|format(stats.total_settled) }}
Settled
${{ "%.2f"|format(stats.pending_settlement) }}
Pending
{{ "{:,}".format(stats.total_calls) }}
Total Calls
{# ── Commission Info ── #}

Commission Structure

Your Current Tier
{{ commission_tier }}
Month {{ months_active }} of your account
Month 1: 0% Months 2-6: 5% Month 7+: 10%
AgenticTrade charges significantly less than competitors (RapidAPI: 25%, App Stores: 30%).
{# ── Per-Service Revenue ── #}

Revenue by Service

{% if stats.services %}
{% for svc in stats.services %} {% endfor %}
Service Calls Gross Revenue Commission ({{ commission_rate }}%) Net Revenue
{{ svc.name }} {{ "{:,}".format(svc.call_count) }} ${{ "%.2f"|format(svc.revenue) }} ${{ "%.2f"|format(svc.revenue * commission_rate / 100) }} ${{ "%.2f"|format(svc.revenue * (100 - commission_rate) / 100) }}
{% else %}

No revenue data yet. List your first API to start earning.

{% endif %}
{% endblock %}