---
title: "Get position funding"
method: GET
path: "/v1/account/position/funding"
tags: ["Account"]
---

# Get position funding

`GET /v1/account/position/funding`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/v1/account/position/funding`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/v1/account/position/funding/get.ts> (a function with typed inputs; its response is checked against the schema)

Get funding accrued by the position currently open in a market, measured from when that position was opened (from flat, or from a long/short flip). Unlike unsettled funding, this value survives partial closes.

## Query parameters

- `market_id` string, uint64
- `account` string

## Response `200`

A successful response.

- ApiGetPositionFundingResponse: GetPositionFundingResponse returns funding accrued by the currently-open position. All amounts are human decimal strings, positive = paid, negative = received.
  - `opened_at` string, int64: Block timestamp of the trade that opened the current position (Unix nano). 0 when there is no open position, or when no open record was found.
  - `settled_funding` string: Funding settled on trades since the position was opened.
  - `unsettled_funding` string: Funding accrued since the last settlement: (accumulatedFunding - lastFundingPayment) * size.
  - `total_accrued_funding` string: settled_funding + unsettled_funding.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/v1/account/position/funding/get.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
