> For the complete documentation index, see [llms.txt](https://pepympus.gitbook.io/pepympus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pepympus.gitbook.io/pepympus.com/methods/getpnls.md). Agents can also search and read this documentation through its [MCP server](https://pepympus.gitbook.io/pepympus.com/~gitbook/mcp).

# getPNLs

The `getPNLs` method allows you to retrieve realized and unrealized profit and loss (PNL) details for a list of specified wallets.

```arduino
POST https://pepympus.com/api/v1/getPNLs
```

### **Request Body**

The request body should be in JSON format and include the following parameters:

| Parameter | Type    | Description                                          |
| --------- | ------- | ---------------------------------------------------- |
| `wallets` | `array` | A list of wallet addresses to retrieve PNL data for. |

Example Request Body

```json
{
  "wallets": [
    "BYLiyyhHrDtK6Htp8PACvmGBrgPexaWRATFzTDaJFgAz",
    "6QSc2CxSdkUQSXttkceR9yMuxMf36L75fS8624wJ9tXv",
    "7rtiKSUDLBm59b1SBmD9oajcP8xE64vAGSMbAN5CXy1q"
  ]
}
```

### **Example Response**

```json
{
  "status": "success",
  "data": {
    "wallets": [
      {
        "wallet": "BYLiyyhHrDtK6Htp8PACvmGBrgPexaWRATFzTDaJFgAz",
        "realized_pnl": 0,
        "unrealized_pnl": 464.44,
        "procent": 0.24
      },
      {
        "wallet": "6QSc2CxSdkUQSXttkceR9yMuxMf36L75fS8624wJ9tXv",
        "realized_pnl": 4405.424,
        "unrealized_pnl": 384430464.205,
        "procent": 12404
      },
      {
        "wallet": "7rtiKSUDLBm59b1SBmD9oajcP8xE64vAGSMbAN5CXy1q",
        "realized_pnl": 894924.502,
        "unrealized_pnl": 284056493.964,
        "procent": 7204
      }
    ]
  }
}
```

{% hint style="info" %}
Unfortunately, this page is currently under development and will be updated as new information becomes available. You may notice some discrepancies with the actual development stage. If you encounter any issues, please don’t hesitate to contant us.
{% endhint %}
