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

# Historical Funding Rates

> Read historical hourly funding rates for a market from the Portfolio API.

Read hourly funding-rate observations for one market. This endpoint is served **only by `https://portfolio-api.bulk.trade/v1`**, not by the mainnet trading API. No signature is required.

## Time range and pagination

Use RFC 3339 UTC timestamps for `from`, `to`, and `after`. The `from` and `to` bounds are inclusive; `after` is exclusive.

Request up to 10,000 rows with `limit` (default 1,000). When `nextAfter` is non-null, pass it unchanged as `after` on the next request. Keep the same market and time range. Stop when `nextAfter` is `null`.

Preserve timestamp precision: an observation may include fractional seconds, so do not round the cursor to the nearest hour.

## Rates versus account payments

This endpoint returns **market funding rates and open-interest observations**, not the funding amounts paid or received by an account. For account payments, use [Funding History](https://docs.bulk.trade/api-reference/account/funding-history.md).

The timestamp is the observation time; an hourly series does not imply every observation falls exactly on `HH:00:00` or that every requested hour is present.


## OpenAPI

````yaml api-reference/openapi-portfolio.yaml GET /markets/{symbol}/funding-rates
openapi: 3.0.3
info:
  title: BULK Portfolio API
  version: 1.0.0
  description: Public historical market data served by the Portfolio API.
servers:
  - url: https://portfolio-api.bulk.trade/v1
    description: Portfolio API
security: []
paths:
  /markets/{symbol}/funding-rates:
    get:
      summary: Historical funding rates
      description: >-
        Public historical hourly funding-rate observations. Only available on
        the Portfolio API host.
      operationId: getHistoricalFundingRates
      parameters:
        - name: symbol
          in: path
          required: true
          description: Market symbol, for example SOL-USD.
          schema:
            type: string
            example: SOL-USD
        - name: from
          in: query
          description: Inclusive lower observation-time bound in RFC 3339 UTC.
          schema:
            type: string
            format: date-time
            example: '2026-09-01T00:00:00Z'
        - name: to
          in: query
          description: Inclusive upper observation-time bound in RFC 3339 UTC.
          schema:
            type: string
            format: date-time
        - name: after
          in: query
          description: >-
            Exclusive pagination cursor. Pass the previous response's nextAfter
            value unchanged.
          schema:
            type: string
            format: date-time
        - name: limit
          in: query
          description: Maximum observations per page.
          schema:
            type: integer
            minimum: 1
            maximum: 10000
            default: 1000
            example: 2
      responses:
        '200':
          description: A page of funding-rate observations.
          content:
            application/json:
              schema:
                type: object
                required:
                  - symbol
                  - rates
                  - nextAfter
                properties:
                  symbol:
                    type: string
                    description: Requested market symbol.
                  rates:
                    type: array
                    items:
                      type: object
                      required:
                        - observedAt
                        - fundingRate
                        - openInterest
                      properties:
                        observedAt:
                          type: string
                          format: date-time
                          description: >-
                            RFC 3339 observation timestamp; may include
                            fractional seconds.
                        fundingRate:
                          type: number
                          format: double
                          description: Hourly funding rate reported for the market.
                        openInterest:
                          type: number
                          format: double
                          description: Open interest reported with the observation.
                  nextAfter:
                    type: string
                    format: date-time
                    nullable: true
                    description: >-
                      Pass as after for the following page; null when there is
                      no next page.
              example:
                symbol: SOL-USD
                rates:
                  - observedAt: '2026-09-01T00:00:00Z'
                    fundingRate: 0.0001
                    openInterest: 123456.78
                nextAfter: null
      security: []
      x-codeSamples:
        - lang: Shell
          label: First page
          source: >
            curl --get
            'https://portfolio-api.bulk.trade/v1/markets/SOL-USD/funding-rates'
            \
              --data-urlencode 'from=2026-09-01T00:00:00Z' \
              --data-urlencode 'limit=2'

````

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