Skip to main content
POST
/
v1
/
info
/
userFunding
Get User Funding History
curl --request POST \
  --url https://api.hypereth.io/v1/info/userFunding \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "userFunding",
  "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",
  "startTime": 1681923833000
}
'
[
  {
    "coin": "BTC",
    "fundingRate": "0.0001",
    "time": 1681923833000,
    "usdc": "-2.5",
    "szi": "0.5"
  }
]

Body

application/json
type
enum<string>
required

Request type identifier

Available options:
userFunding
user
string
required

User's Ethereum address

startTime
integer<int64>
required

Start time for funding history in milliseconds

endTime
integer<int64>

End time for funding history in milliseconds

Response

Funding payment history

coin
string
required

Perpetual contract symbol

Example:

"BTC"

fundingRate
string
required

Applied funding rate (typically every 8 hours). Positive = longs pay shorts, Negative = shorts pay longs. String format preserves precision.

Example:

"0.0001"

time
integer<int64>
required

Funding timestamp in milliseconds

Example:

1681923833000

usdc
string

Funding amount paid/received in USDC. Negative = user paid, Positive = user received.

Example:

"-2.5"

szi
string

Position size at the time of funding. Used to calculate the funding payment.

Example:

"0.5"