> ## 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.

# Cumulative Funding

> The funding-rate series plus a running sum - what a 1-unit long has paid (positive) or earned (negative) over the window.

The funding-rate series plus a running sum — what a one-unit long has paid (positive) or earned (negative) over the window. Useful for funding-carry and basis analysis.


## OpenAPI

````yaml GET /v3/perps/funding-pnl/{instrument}
openapi: 3.1.0
info:
  title: PolyNode API
  description: >-
    Real-time Polymarket data API with decoded mempool settlements, OHLCV
    candles, and full Polygon JSON-RPC proxy.
  contact:
    name: PolyNode
    url: https://polynode.dev
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.polynode.dev
    description: Production
security:
  - api_key: []
paths:
  /v3/perps/funding-pnl/{instrument}:
    get:
      tags:
        - Perps
      summary: Cumulative funding
      description: >-
        The funding-rate series plus a running sum - what a 1-unit long has paid
        (positive) or earned (negative) over the window.
      parameters:
        - name: instrument
          in: path
          required: true
          description: Instrument id (6), symbol (BTC-USD), or bare asset (btc).
          schema:
            type: string
        - name: after
          in: query
          required: false
          description: Only rows after this time (Unix s or ms).
          schema:
            type: string
        - name: before
          in: query
          required: false
          description: Only rows before this time (Unix s or ms).
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Max rows.
          schema:
            type: integer
      responses:
        '200':
          description: Success
          content:
            application/json:
              example:
                instrument_id: 6
                symbol: BTC-USD
                data:
                  - timestamp: 1783490400156
                    funding_rate: '0.0000125'
                    cumulative_funding: '0.0000125000'
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key

````