> For the complete documentation index, see [llms.txt](https://docs.pangolin.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pangolin.exchange/pangoperps/trading-api/funding/get-funding-fee-history.md). Agents can also search and read this documentation through its [MCP server](https://docs.pangolin.exchange/~gitbook/mcp).

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

```
{"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}
```
