Skip to content

Get user total earnings

GET /rewards/user/total

Server: https://api.openfish.fun

Authentication: L2 (HMAC) required


HeaderDescription
OPENFISH_API_KEYAPI key (UUID)
OPENFISH_TIMESTAMPUnix timestamp
OPENFISH_PASSPHRASEAPI passphrase
OPENFISH_SIGNATUREHMAC-SHA256 signature

NameTypeDefaultDescription
datestringtodayDate filter (YYYY-MM-DD). Only trades on this date are counted.
sponsoredbooleanfalseIf true, return sponsored-only earnings.
signature_typeinteger0Signature type (0=EOA, 1=PROXY, 2=SAFE)

Returns an array containing a single summary object.

FieldTypeRequiredDescription
datestringYesDate for which earnings are reported
total_volumestringYesTrading volume for the date
total_fees_paidstringYesFees paid for the date
total_tradesintegerYesTrade count for the date
total_rewardsstringYesEstimated total rewards (0.1% of volume)

Example Response:

[
{
"date": "2026-04-09",
"total_volume": "52340.00",
"total_fees_paid": "261.70",
"total_trades": 1830,
"total_rewards": "52.34"
}
]
{ "error": "invalid authorization" }