# Current Funding Rate

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/funding-rate:
    get:
      summary: Current Funding Rate
      deprecated: false
      description: >-
        Retrieve the latest preliminary funding rate for one or more futures
        instruments, or for all active futures instruments. The rate is
        recalculated every minute and settled at the end of each funding period
        (every 4 hours for crypto perpetuals). Use the Funding Schedule endpoint
        (`GET /v1/funding-rate/schedule`) for each instrument's next funding
        time.


        The timestamp indicates when the most recent funding rate update was
        received. Responses may be cached for up to 5 seconds.

        An instrument code is the `id` property from the
        [Instruments](https://docs.onetrading.com/rest/public/instruments.md)
        endpoint.


        Unknown query parameters are rejected with `400 UNEXPECTED_PARAMETERS`.



        :::info[]

        Funding rates are only available for futures markets.

        :::
      tags:
        - One Trading Public REST API/Futures
      parameters:
        - name: instrument_code
          in: query
          description: >-
            Instrument code (e.g. `BTC_USD_P`), or a comma-separated list of
            codes, to fetch the funding rate for. Codes must be active futures
            instruments. If not provided, returns funding rates for all active
            futures instruments.
          required: false
          example: BTC_USD_P
          schema:
            type: string
      responses:
        '200':
          x-apidog-name: Success
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FundingRateCurrent'
              examples:
                '1':
                  summary: Single Instrument Code
                  value:
                    - instrument_code: BTC_USD_P
                      funding_rate: '0.000017902243428335654'
                      mark_price: '67812.73'
                      time: 1771575120000
                      timestamp: '2026-02-20T08:12:00.000000000Z'
                '2':
                  summary: Multiple Instruments
                  value:
                    - instrument_code: BTC_USD_P
                      funding_rate: '0.000017902243428335654'
                      mark_price: '67812.73'
                      time: 1771575120000
                      timestamp: '2026-02-20T08:12:00.000000000Z'
                    - instrument_code: ETH_USD_P
                      funding_rate: '0.00000214'
                      mark_price: '3726.58'
                      time: 1771575120000
                      timestamp: '2026-02-20T08:12:00.000000000Z'
          headers: {}
        '400':
          description: >-
            Invalid request. Possible codes: `INVALID_INSTRUMENT_CODE` (unknown
            or inactive code), `DUPLICATE_INSTRUMENT_CODES`,
            `MISSING_INSTRUMENT_CODE` (list contains no codes, e.g. `,`),
            `UNEXPECTED_PARAMETERS`.
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                '3':
                  summary: INVALID_INSTRUMENT_CODE
                  value:
                    error: INVALID_INSTRUMENT_CODE
                    error_message: >-
                      Invalid instrument codes: FOO_USD_P. Valid codes:
                      BTC_USD_P, ETH_USD_P
                '4':
                  summary: DUPLICATE_INSTRUMENT_CODES
                  value:
                    error: DUPLICATE_INSTRUMENT_CODES
                    error_message: 'Duplicate instrument codes: BTC_USD_P'
                '5':
                  summary: MISSING_INSTRUMENT_CODE
                  value:
                    error: MISSING_INSTRUMENT_CODE
                    error_message: >-
                      Instrument code is required and must be a string or
                      comma-separated strings
                '6':
                  summary: UNEXPECTED_PARAMETERS
                  value:
                    error: UNEXPECTED_PARAMETERS
                    error_message: 'Unsupported parameter: foo. Allowed: instrument_code'
          headers: {}
          x-apidog-name: Bad Request
        '404':
          description: No funding rates are available for the requested instruments.
          content:
            application/json:
              schema: *ref_0
              example:
                error: NOT_FOUND
                error_message: No funding rates are currently available
          headers: {}
          x-apidog-name: Record Not Found
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema: *ref_0
              example:
                error: SERVER_ERROR
                error_message: An internal server error occurred
          headers: {}
          x-apidog-name: Server Error
      security: []
      x-apidog-folder: One Trading Public REST API/Futures
      x-apidog-status: developing
      x-run-in-apidog: https://app.eu.apidog.com/web/project/349694/apis/api-3642873-run
components:
  schemas:
    FundingRateCurrent:
      type: object
      properties:
        timestamp:
          type: string
          x-apidog-mock: '2026-02-12T16:35:00.000000000Z'
          format: date-time
          description: >-
            Timestamp of the latest update in ISO 8601 format with nanosecond
            precision.
        instrument_code:
          type: string
          description: The unique identifier for the instrument
          x-apidog-mock: BTC_USD_P
        funding_rate:
          type: string
          description: >-
            The current funding rate for the specified instrument in fractional
            form. Negative rates indicate shorts paying longs, and positive
            rates indicate longs paying shorts. Returned as a plain decimal
            string without trailing zeros; very small magnitudes (below
            0.000001) may be returned in exponent notation, e.g. `1e-7`.
          x-apidog-mock: '0.000025'
        mark_price:
          type: string
          description: >-
            The current mark price of the instrument, used as the reference
            price for funding rate calculation.
          x-apidog-mock: '92500'
        time:
          type: integer
          description: >-
            Unix timestamp (in milliseconds) indicating when the funding rate
            was last calculated.
          x-apidog-mock: '1733397081146'
          deprecated: true
      x-apidog-orders:
        - timestamp
        - instrument_code
        - funding_rate
        - mark_price
        - time
      required:
        - timestamp
        - instrument_code
        - funding_rate
        - mark_price
        - time
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
    ErrorResponse:
      type: object
      description: >-
        Error body. `error` is a machine-readable code (e.g.
        `INVALID_INSTRUMENT_CODE`) on most endpoints; a few older endpoints
        return a human-readable message in `error` instead and omit
        `error_message`.
      properties:
        error:
          type: string
          description: Error code (or, on older endpoints, a human-readable message).
        error_message:
          type: string
          description: >-
            Human-readable detail. Present on endpoints that return an error
            code in `error`.
      required:
        - error
      x-apidog-orders:
        - error
        - error_message
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
  securitySchemes:
    bearerAuth:
      type: bearer
      scheme: bearer
      description: >-
        API key issued to the account holder, sent as `Authorization: Bearer
        <token>`. The key must hold the `SUBACCOUNT_TRANSFER` scope.
    bearer:
      type: bearer
      scheme: bearer
servers:
  - url: https://api.onetrading.com/fast
    description: Production Env
security: []

```