Portfolios

Get funding payments

Retrieve funding payment history for perpetual positions. Positive payments indicate fees paid, negative indicate fees received.

Requires authentication.

GET
/funding/payments

Authorization

ApiKeyAuth ApiSignatureAuth ApiTimestampAuth
x-api-key<token>

API key for authentication

In: header

x-api-signature<token>

HMAC-SHA256 signature: base64(HMAC(timestamp + method + path + body, secret))

In: header

x-api-timestamp<token>

Unix timestamp in seconds

In: header

Query Parameters

mkt_id?string

Filter by market ID (optional).

start_ts?string

Start time in nanoseconds (optional).

Formatint64
end_ts?string

End time in nanoseconds (optional).

Formatint64
lmt?integer

Maximum results to return (default: 100, max: 1000).

Formatint32
sorted_by?string

Sort order. Supports "funding_rate_hour" (asc) or "-funding_rate_hour" (desc).

Response Body

application/json