Docs
Launch App

Pangolin Overview

Introduction to Pangolin
Audits
Tokens & Governance
Official Links & Communities
Become a Partner
Support
Roadmap
Privacy Policy & Legal Notices

Guides

Swapping Tokens
Providing Liquidity
Managing Liquidity Positions
Withdrawing Liquidity
Earning Rewards
Understanding SAR

Developers

Contracts & Integration Reference
APIs
Bug Bounty
Token Listing
Create A Multisig
Honeycomb↗

PangoPerps

API fundamentals
Public Info API
User API
Trading API
Order Management
Liquidations
Assets/withdraw/settle PnL
Positions
Funding
Get Funding Fee History
PangoPerpsTrading APIFunding

Get Funding Fee History

#Get Funding Fee History

Returns the authenticated account's funding fee history.

#Endpoint

GET /v1/funding_fee/history

Mainnet: GET https://api.orderly.org/v1/funding\\_fee/history\\ Testnet: GET https://testnet-api.orderly.org/v1/funding\\_fee/history

Rate limit: 20 requests per 60 seconds per user.

#Headers

  • orderly-timestamp (string, required): Signed request timestamp in milliseconds.
  • orderly-account-id (string, required): Authenticated account ID.
  • orderly-key (string, required): Public key used to sign the request.
  • orderly-signature (string, required): Signature of the request payload.

#Query parameters

  • symbol (string): Optional symbol filter. Omit to retrieve funding fee history for all symbols.
  • start_t (string): Start of the requested time range, expressed as a 13-digit timestamp.
  • end_t (string): End of the requested time range, expressed as a 13-digit timestamp.
  • page (string): Page number, starting at 1.
  • size (string): Page size; defaults to 60.

#Response

HTTP 200 returns success, required data, and server timestamp. data.meta includes required integer fields total, records_per_page, and current_page (starting at 1). data.rows is an array; each entry contains symbol (string), funding_rate, mark_price, and funding_fee (numbers), payment_type (string: Receive or Pay), status (string: Accrued or Settled), created_time and updated_time (numbers), and margin_mode (CROSS or ISOLATED).

text
{"success":true,"data":{"meta":{"total":9,"records_per_page":25,"current_page":1},"rows":[{"symbol":"PERP_ETH_USDC","funding_rate":0.00046875,"mark_price":2100,"funding_fee":0.000016,"payment_type":"Pay","status":"Accrued","created_time":1682235722003,"updated_time":1682235722003,"margin_mode":"CROSS"}]},"timestamp":1702989203989}
PreviousFunding

On this page

  • Get Funding Fee History
  • Endpoint
  • Headers
  • Query parameters
  • Response

Try it on Pangolin

Everything in these docs is live in the app.

SwapLiquidityStakePerps

Need help?

DiscordTelegramX