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

# Batch Wallet P&L

> Query P&L for up to 100 wallets in a single request. All amounts in USD.

Query multiple wallets at once. Returns the same summary data as the single wallet endpoint, but for up to 100 wallets in one call. All monetary values are in USD.

> [!NOTE]
>
> **Owner addresses.** Pass an owner EOA as the wallet address and the response combines the EOA's Polymarket wallets (Safe, proxy, deposit wallets) that have data for this endpoint. Passing a Safe, proxy or deposit wallet returns just that wallet, as before. Combined responses list the combined wallets in `wallets`. See [Owner addresses](https://docs.polynode.dev/data/overview.md#owner-addresses).

## Request

```
POST /v3/wallets/batch
```

### Request body

```json theme={null}
{
  "wallets": [
    "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
    "0xa9857c7bcb9bcfafd2c132ab053f34f678610058"
  ]
}
```

| Field | Type | Description |
| - | - | - |
| `wallets` | array | Up to 100 wallet addresses or owner EOAs |

## Example

```bash theme={null}
curl -X POST https://api.polynode.dev/v3/wallets/batch \
  -H 'Content-Type: application/json' \
  -d '{"wallets":["0x56687bf447db6ffa42ffe2204a05edaa20f55839"]}'
```

```json theme={null}
{
  "count": 1,
  "elapsed_ms": 1,
  "wallets": [
    {
      "wallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
      "net_realized_pnl": 22053845.825455,
      "gross_profit": 22057977.181649,
      "gross_loss": -4131.356194,
      "unrealized_pnl": 0.000688755,
      "total_pnl": 22053845.826143753,
      "wins": 18,
      "losses": 4,
      "position_count": 22,
      "open_positions": 1,
      "total_volume": 43013258.515682
    }
  ]
}
```

## Response fields

Same fields as [Wallet Summary](https://docs.polynode.dev/data/wallets/summary.md), with `wallet` instead of `address`. All amounts in USD.

### Owner address fields

Each owner EOA in the request is combined on its own. The response keeps one element per requested address, in request order, and each element's `wallet` stays the address you passed. See [Owner addresses](https://docs.polynode.dev/data/overview.md#owner-addresses).

| Field | Type | Description |
| - | - | - |
| `wallets[].wallets` | array | Present only on elements for an owner EOA. The combined wallets, in a fixed order, each `{wallet, type}` with `type` one of `eoa`, `safe`, `proxy`, or `deposit_wallet` |

Totals and counts in a combined element are summed across its wallets.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.