Prepare an accounting statement
curl --request GET \
--url https://sandbox.groundtech.co/v3/accounting/statement \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.groundtech.co/v3/accounting/statement"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.groundtech.co/v3/accounting/statement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.groundtech.co/v3/accounting/statement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.groundtech.co/v3/accounting/statement"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.groundtech.co/v3/accounting/statement")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v3/accounting/statement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"schemaVersion": 1,
"snapshotAt": "2026-06-01T12:00:00.000Z",
"generatedAt": "2026-06-01T12:00:00.100Z",
"report": {
"periodStart": "2026-05-01T00:00:00.000Z",
"periodEnd": "2026-06-01T00:00:00.000Z",
"scope": "wallet",
"portfolioWalletId": "b1c2d3e4-0000-4000-8000-000000000001",
"costBasisMethod": "fifo",
"status": "exact",
"reason": null,
"summary": {
"startingValueUsd": "1000.000000",
"endingValueUsd": "1010.000000",
"externalDepositsUsd": "0.000000",
"externalPayoutsUsd": "0.000000",
"explicitFeesUsd": "0.000000",
"protocolSlippageUsd": "0.000000",
"protocolSettlementVarianceUsd": "0.000000",
"realizedPerformanceUsd": "0.000000",
"unrealizedPerformanceUsd": "10.000000",
"investmentPerformanceUsd": "10.000000",
"grossYieldGeneratedUsd": "10.000000",
"netYieldEarnedUsd": "10.000000",
"reconciliationStatus": "exact"
},
"assets": [
{
"assetId": "80f900d0-a4b8-4c97-bdc2-8e2ab5228e19",
"assetLabel": "Morpho Gauntlet USDC Prime",
"walletId": "b1c2d3e4-0000-4000-8000-000000000001",
"walletLabel": "Corporate Treasury",
"costBasisMethod": "fifo",
"startingNativeUnits": "1000000000000000000000",
"endingNativeUnits": "1000000000000000000000",
"startingValuationUsd": "1000.000000",
"endingValuationUsd": "1010.000000",
"startingValuedAt": "2026-05-01T00:00:00.000Z",
"endingValuedAt": "2026-06-01T00:00:00.000Z",
"startingPriceUsd": "1.000000",
"endingPriceUsd": "1.010000",
"startingPriceSource": "reference_price",
"endingPriceSource": "reference_price",
"startingValueUsd": "1000.000000",
"endingValueUsd": "1010.000000",
"entryValueUsd": "0.000000",
"exitValueUsd": "0.000000",
"realizedPerformanceUsd": "0.000000",
"unrealizedPerformanceUsd": "10.000000",
"explicitFeesUsd": "0.000000",
"protocolSlippageUsd": "0.000000",
"protocolSettlementVarianceUsd": "0.000000",
"grossYieldGeneratedUsd": "10.000000",
"netYieldEarnedUsd": "10.000000",
"timeWeightedCapitalUsd": "1000.000000",
"netPeriodPerformancePct": "1.00000000",
"netPeriodPerformanceApyPct": "11.77419355",
"grossPeriodPerformanceApyPct": "11.77419355",
"status": "exact",
"reason": null
}
]
},
"activity": [],
"activityComplete": true
}{
"error": "Invalid scope, dates or cost-basis method",
"code": "validation_error"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "wallet_not_found",
"code": "wallet_not_found"
}{
"error": "statement_too_large",
"code": "statement_too_large"
}{
"error": "no_reportable_wallets",
"code": "no_reportable_wallets"
}{
"error": "Rate limit exceeded",
"code": "rate_limited"
}{
"error": "Internal server error",
"code": "internal_error"
}{
"error": "report_timeout",
"code": "report_timeout"
}Yield and accounting
Prepare an accounting statement
Returns a period report and complete journal lines using the same point-in-time data. Limited to 10,000 lines, 3 MiB and 15 seconds.
GET
/
v3
/
accounting
/
statement
Prepare an accounting statement
curl --request GET \
--url https://sandbox.groundtech.co/v3/accounting/statement \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.groundtech.co/v3/accounting/statement"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.groundtech.co/v3/accounting/statement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.groundtech.co/v3/accounting/statement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.groundtech.co/v3/accounting/statement"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.groundtech.co/v3/accounting/statement")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.groundtech.co/v3/accounting/statement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"schemaVersion": 1,
"snapshotAt": "2026-06-01T12:00:00.000Z",
"generatedAt": "2026-06-01T12:00:00.100Z",
"report": {
"periodStart": "2026-05-01T00:00:00.000Z",
"periodEnd": "2026-06-01T00:00:00.000Z",
"scope": "wallet",
"portfolioWalletId": "b1c2d3e4-0000-4000-8000-000000000001",
"costBasisMethod": "fifo",
"status": "exact",
"reason": null,
"summary": {
"startingValueUsd": "1000.000000",
"endingValueUsd": "1010.000000",
"externalDepositsUsd": "0.000000",
"externalPayoutsUsd": "0.000000",
"explicitFeesUsd": "0.000000",
"protocolSlippageUsd": "0.000000",
"protocolSettlementVarianceUsd": "0.000000",
"realizedPerformanceUsd": "0.000000",
"unrealizedPerformanceUsd": "10.000000",
"investmentPerformanceUsd": "10.000000",
"grossYieldGeneratedUsd": "10.000000",
"netYieldEarnedUsd": "10.000000",
"reconciliationStatus": "exact"
},
"assets": [
{
"assetId": "80f900d0-a4b8-4c97-bdc2-8e2ab5228e19",
"assetLabel": "Morpho Gauntlet USDC Prime",
"walletId": "b1c2d3e4-0000-4000-8000-000000000001",
"walletLabel": "Corporate Treasury",
"costBasisMethod": "fifo",
"startingNativeUnits": "1000000000000000000000",
"endingNativeUnits": "1000000000000000000000",
"startingValuationUsd": "1000.000000",
"endingValuationUsd": "1010.000000",
"startingValuedAt": "2026-05-01T00:00:00.000Z",
"endingValuedAt": "2026-06-01T00:00:00.000Z",
"startingPriceUsd": "1.000000",
"endingPriceUsd": "1.010000",
"startingPriceSource": "reference_price",
"endingPriceSource": "reference_price",
"startingValueUsd": "1000.000000",
"endingValueUsd": "1010.000000",
"entryValueUsd": "0.000000",
"exitValueUsd": "0.000000",
"realizedPerformanceUsd": "0.000000",
"unrealizedPerformanceUsd": "10.000000",
"explicitFeesUsd": "0.000000",
"protocolSlippageUsd": "0.000000",
"protocolSettlementVarianceUsd": "0.000000",
"grossYieldGeneratedUsd": "10.000000",
"netYieldEarnedUsd": "10.000000",
"timeWeightedCapitalUsd": "1000.000000",
"netPeriodPerformancePct": "1.00000000",
"netPeriodPerformanceApyPct": "11.77419355",
"grossPeriodPerformanceApyPct": "11.77419355",
"status": "exact",
"reason": null
}
]
},
"activity": [],
"activityComplete": true
}{
"error": "Invalid scope, dates or cost-basis method",
"code": "validation_error"
}{
"error": "Unauthenticated request",
"message": "Missing or invalid bearer token"
}{
"error": "wallet_not_found",
"code": "wallet_not_found"
}{
"error": "statement_too_large",
"code": "statement_too_large"
}{
"error": "no_reportable_wallets",
"code": "no_reportable_wallets"
}{
"error": "Rate limit exceeded",
"code": "rate_limited"
}{
"error": "Internal server error",
"code": "internal_error"
}{
"error": "report_timeout",
"code": "report_timeout"
}Prepare a period report and its accounting activity. Inspect completeness and status fields before treating the response as an exact, complete statement.
The example holds one investment throughout the period. NAV growth appears in
the report; no journal movements were posted during that period.
Authorizations
Query Parameters
Response
Consistent accounting statement bundle