> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentpay.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Understanding Your Earnings

> Monitor your MCP Server earnings and track payouts through the AgentPay Hub.

The AgentPay Hub provides comprehensive tools to monitor your earnings and track your available payouts across all your MCP Servers. Let's explore how to track and manage your service monetization.

## Monitoring Earnings

Keep track of your **earnings and payouts** in the "My Servers" tab on the **AgentPay Hub**:

```mermaid theme={null}
graph
    A(AgentPay Hub) --> B[Navigation Bar];
    B --> C[Dashboard];
    B --> D[Discover];
    B --> E[My API Keys];
    B --> F[My Servers];
    style F fill:#00E6E9,stroke:#333,stroke-width:2px,color:#333;
```

In the "My Servers" tab, you can:

* View total earnings across all your Servers.
* See earnings per Server.
* Track your Accrued Earnings (available for payout).
* Review detailed usage and earnings history.
* Monitor active API Keys and usage patterns.

## Understanding Earnings

Here's how **earnings** work with AgentPay:

<Frame>
  ```mermaid theme={null}
  graph
      User[MCP User] -- Adds Funds --> UserBalance[User's AgentPay Balance];
      UserBalance -- Obtains API Key --> Consumption[Server Usage via API Key];
      Consumption -- Processed by AgentPay --> DeveloperEarnings[Developer's Accrued Earnings];
      DeveloperEarnings -- Payout via Configured Method --> Developer[MCP Developer];
  ```
</Frame>

* You accrue earnings each time a user makes a paid call to your MCP Server.
* Pricing is defined by you in your Server's code using the `consume()` method.
* Earnings are processed by AgentPay from the user's AgentPay balance.
* Free credits are tracked separately and do not count toward your earnings.

## Earnings Details

For each MCP Server you operate, you can see:

* **Current Status:**
  * Total active API Keys.
  * Remaining free credits for each user.
  * Outstanding payments (if any).

* **Earnings Statistics:**
  * Total calls received.
  * Total Earnings (all-time earnings).
  * Accrued Earnings (available for payout).
  * Usage over time (daily/weekly/monthly).

* **Transaction History:**
  * Individual API calls.
  * Amount earned per call.
  * Timestamp of each usage.

## Free Credits and Earnings

When users first get an API Key for your Server:

* They receive \$1.00 in **free credit** to test your Server.
* This free credit is specific to your Server only.
* Usage during the free credit period is tracked separately from your earnings.
* Once free credits are consumed, you'll start earning from their AgentPay balance.

## Accrued Earnings

Your **Accrued Earnings** represent the funds available for withdrawal:

* Increases as users consume your paid services.
* Decreases when funds are paid out.
* Is separate from Total Earnings (which only increases over time).
* Are paid out according to your [payout configuration](./payouts).

## Best Practices

* **Regular Monitoring:** Check your earnings regularly in the "My Servers" tab.
* **Usage Patterns:** Review usage history to understand your service's popularity.
* **Pricing Strategy:** Use usage data to optimize your pricing model.
* **Free Credits:** Monitor free credit usage to understand user adoption.

## Next Steps

* For more details on setting up your pricing strategy, see our [Defining Your Pricing](./pricing) guide.
* For more information on configuring your payouts, see our [Configuring Payouts](./payouts) guide.
