Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Savings Get a savings statement

Get a savings statement

Returns one row per UTC day with the opening balance, what was saved, withdrawn and earned, and the closing balance. With `format=csv` the same rows download as a CSV file. A statement covers at most 92 days.

GEThttps://api.gravv.xyz/v1/savings/{id}/statementTry it
Api-Key

Path parameters

NameDescription
id:stringRequired
The savings account id from POST /v2/accounts. The id of the savings wallet behind it also works, but its available_balance is the wallet's own, so use the account id.

Query parameters

NameDescription
from:string
First day, as YYYY-MM-DD in UTC. Defaults to 30 days before to.
to:string
Last day, as YYYY-MM-DD in UTC. Defaults to today and cannot be after today.
format:string

json (the default) or csv. A CSV comes back as a file download with the columns date, opening_balance, saved, withdrawn, interest, closing_balance and currency.

Possible values: json, csv

Response

Returns 200 OK. The statement

NameDescription
data:object
Show 8 child attributesobject
error:null

Errors

StatusMeaning
200The statement
400A date is not YYYY-MM-DD, to is after today, from is after to, the range is longer than 92 days, format is not json or csv, the id is not a savings one, or the range holds too many movements (too many savings movements for one statement; ask for a shorter range)
404The id is not a savings account or savings wallet of yours
501Savings is not open to live keys yet. It works in sandbox today.
503Gravv cannot read savings right now. Retry.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/savings/d9eae506-77b4-4e8b-8ab3-caaf96054d79/statement?from=2026-10-26&to=2026-10-27' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400404501503OK
{
"data": {
"id": "d9eae506-77b4-4e8b-8ab3-caaf96054d79",
"kind": "account",
"currency": "USDC",
"from": "2026-10-26",
"to": "2026-10-27",
"opening_balance": "0.000000",
"closing_balance": "110.250000",
"rows": [
{
"date": "2026-10-26",
"opening_balance": "0.000000",
"saved": "0.000000",
"withdrawn": "0.000000",
"interest": "0.000000",
"closing_balance": "0.000000"
},
{
"date": "2026-10-27",
"opening_balance": "0.000000",
"saved": "110.000000",
"withdrawn": "0.000000",
"interest": "0.250000",
"closing_balance": "110.250000"
}
]
},
"error": null
}