---
title: "Hourly PnL (approx. first position per hour)"
method: GET
path: "/pnl"
tags: ["pnl"]
---

# Hourly PnL (approx. first position per hour)

`GET /pnl`

Return approximate first position per symbol per hour for the user, including realised/unrealised pnl, net_funding, fees, quantity, and cost.

## Query parameters

- `symbol` string
- `start` string, date-time
- `end` string, date-time
- `limit_hours` integer

## Response `200`

OK

- HourlyPnlResponseBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `count` integer, required
  - `data` PnlHour[], nullable, required
    - `cost` number, double, required
    - `fees` number, double, required
    - `hour` string, date-time, required
    - `net_funding` number, double, required
    - `quantity` number, double, required
    - `realised_pnl` number, double, required
    - `symbol` string, required
    - `unrealised_pnl` number, double, required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/qfex/apis/qfex-rest-api.md) · [All operations](https://skmtc.dev/qfex/apis/qfex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qfex/qfex-rest-api/revisions/19b17e5a1f6b/schema)
