---
title: "Wallet Stat Deltas"
method: GET
path: "/api/v2/wallet/{address}/stat-deltas"
---

# Wallet Stat Deltas

`GET /api/v2/wallet/{address}/stat-deltas`

## Request

- Base URL: `https://orcalayer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://orcalayer.com/api/v2/wallet/{address}/stat-deltas`
- Auth: none declared

Per-stat delta over the longest window with available history.

Reads wallet_pnl_snapshots (daily 02:30 UTC). For each metric:
  - if a snapshot 7 days ago exists -> return (delta_value, window: "7d")
  - else if 1 day ago exists      -> return (delta_value, window: "24h")
  - else null (no baseline yet, e.g. fresh fields just added today)

Stats: total_pnl, closed_count, profit_factor, win_rate.

Powers small sub-row chips under each stat card on the wallet page.
Cache 5min — snapshots change once a day so this is plenty.

## Path parameters

- `address` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/orcalayer/apis/orcalayer-api.md) · [All operations](https://skmtc.dev/orcalayer/apis/orcalayer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/orcalayer/apis/orcalayer-api/revisions/5d1d509daba6?raw)
