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

# Profit and loss

> The pnl tool: how your net worth moved over a day, a week, a month, a year or all time, and what drove it.

`pnl` · reads · `GET /v1/pnl`

How your net worth, or your profit and loss, moved over a period, and what drove it.

## Ask it

* "How did my portfolio do this week?"
* "What drove today's change?"
* "What's my unrealised PnL?"

## What it takes

| Input | Type | Default | What it does |
| - | - | - | - |
| `range` | `1D`, `1W`, `1M`, `1Y` or `All` | `1D` | The period |

## What it returns

| Field | What it is |
| - | - |
| `start_usd`, `end_usd` | Net worth at the start and the end of the period |
| `change_usd`, `change_pct` | The change, in dollars and percent |
| `high_usd`, `low_usd` | The highest and lowest point |
| `points` | Up to 13 points across the period |
| `drivers` | For `1D`, `1W` and `1M`: the coins and accounts that drove it, realised perp PnL, funding and fees |
| `unrealised` | Unrealised PnL on holdings whose cost Burokku knows, and how much of your holdings that covers; `null` when no cost is known |

It also returns a `note`, `read_at`, `refreshing` and `currency`.

> [!NOTE]
>
> These figures aren't for tax. Burokku's Tax page works out gains for a tax year.

## Reads or writes

It only reads. It changes nothing in your account.

## Over the REST API

The same operation is `GET /v1/pnl`, with `range` as a query parameter. See the [API reference](https://docs.burokku.app/api-reference/introduction.md) and [MCP server](https://docs.burokku.app/developers/mcp.md#pnl).


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