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

# Get funding fee history

> **Limit: 20 requests per 60 second per user**

`GET /v1/admin/funding_fee/history`




## OpenAPI

````yaml orderly.openapi get /v1/admin/funding_fee/history
openapi: 3.0.1
info:
  title: EVM
  description: ''
  version: 1.0.0
servers:
  - url: https://api.orderly.org
    description: Mainnet
  - url: https://testnet-api.orderly.org
    description: Testnet
security: []
tags:
  - name: public
  - name: private
paths:
  /v1/admin/funding_fee/history:
    get:
      tags:
        - private
      summary: Get funding fee history
      description: |
        **Limit: 20 requests per 60 second per user**

        `GET /v1/admin/funding_fee/history`
      parameters:
        - name: symbol
          in: query
          description: omit to get funding fee history for all symbols
          required: false
          example: PERP_ETH_USDC
          schema:
            type: string
        - name: start_t
          in: query
          description: >-
            start time range that you wish to query, noted that the time stamp
            is a 13-digits timestamp.
          required: false
          example: ''
          schema:
            type: string
        - name: end_t
          in: query
          description: >-
            end time range that you wish to query, noted that the time stamp is
            a 13-digits timestamp.
          required: false
          example: ''
          schema:
            type: string
        - name: page
          in: query
          description: the page you wish to query. start from 1
          required: false
          example: ''
          schema:
            type: string
        - name: size
          in: query
          description: 'Default: 60'
          required: false
          example: ''
          schema:
            type: string
        - name: user_account
          in: query
          description: >-
            Target user account to query for admin usage, required for either
            user_account or user_address
          required: false
          example: ''
          schema:
            type: string
        - name: user_address
          in: query
          description: >-
            Target user address to query for admin usage, required for either
            user_account or user_address
          required: false
          example: ''
          schema:
            type: string
        - $ref: '#/components/parameters/orderly_timestamp'
        - $ref: '#/components/parameters/orderly_account_id'
        - $ref: '#/components/parameters/orderly_key'
        - $ref: '#/components/parameters/orderly_signature'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FundingFeeHistoryResponse'
components:
  parameters:
    orderly_timestamp:
      name: orderly-timestamp
      in: header
      description: Timestamp of the signed request in milliseconds.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: '1649920583000'
    orderly_account_id:
      name: orderly-account-id
      in: header
      description: Account ID of the authenticated account.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: 6.858456565150415e+75
    orderly_key:
      name: orderly-key
      in: header
      description: Public orderly key used to sign the request.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: ed25519:8tm7dnKYkSc3FzgPuJaw1wztr79eeZpN35nHW5pL5XhX
    orderly_signature:
      name: orderly-signature
      in: header
      description: Signature of the request payload generated with the orderly key.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: >-
        dG4bkKiqG0dUYLzViRZkvbI6Sy239JxAdNMIBxFZ4w030Jofr0ORV06GHtvXZkaZaWUXE+XAU3fnzKN/5fDeBQ==
  schemas:
    FundingFeeHistoryResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          required:
            - data
          properties:
            data:
              type: object
              required:
                - meta
                - rows
              properties:
                meta:
                  $ref: '#/components/schemas/PaginationMeta'
                rows:
                  type: array
                  items:
                    type: object
                    properties:
                      symbol:
                        type: string
                        example: PERP_ETH_USDC
                      funding_rate:
                        type: number
                        example: 0.00046875
                      mark_price:
                        type: number
                        example: 2100
                      funding_fee:
                        type: number
                        example: 0.000016
                      payment_type:
                        type: string
                        example: Pay
                        description: '`Receive`/`Pay`'
                      status:
                        type: string
                        example: Accrued
                        description: '`Accrued`/`Settled`'
                      created_time:
                        type: number
                        example: 1682235722003
                      updated_time:
                        type: number
                        example: 1682235722003
                      margin_mode:
                        type: string
                        enum:
                          - CROSS
                          - ISOLATED
                        example: CROSS
    BasicResponse:
      required:
        - success
      type: object
      properties:
        success:
          description: Indicates whether the request was successful.
          type: boolean
          example: true
        timestamp:
          description: Server timestamp in milliseconds.
          type: integer
          example: 1702989203989
    PaginationMeta:
      required:
        - current_page
        - records_per_page
        - total
      type: object
      properties:
        total:
          type: integer
          example: 9
        records_per_page:
          type: integer
          example: 25
        current_page:
          type: integer
          example: 1
          description: start from 1

````