Skip to main content
GET
/
api
/
v1
/
funding_rate_history
Get user funding rate history
curl --request GET \
  --url https://api.mainnet.aptoslabs.com/decibel/api/v1/funding_rate_history \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "action": "Close Long",
      "fee_amount": 123,
      "is_rebate": true,
      "market": "0xmarket123...",
      "realized_funding_amount": -15.5,
      "size": 1,
      "transaction_unix_ms": 1735758000000
    }
  ],
  "total_count": 1
}

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Query Parameters

account
string
required

User account address

market
string

Filter by market address

pagination
object
required

Pagination parameters (limit and offset)

Response

Funding rate history retrieved successfully

items
object[]
required

The items in the current page

total_count
integer<int32>
required

The total number of items across all pages

Required range: x >= 0