curl --request GET \
--url https://api.breezing.io/v1/reports/{id}/detailsimport requests
url = "https://api.breezing.io/v1/reports/{id}/details"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.breezing.io/v1/reports/{id}/details', 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://api.breezing.io/v1/reports/{id}/details",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.breezing.io/v1/reports/{id}/details"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.breezing.io/v1/reports/{id}/details")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.breezing.io/v1/reports/{id}/details")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
null
],
"status": "<string>",
"unlabeledTransactions": {
"total": 123,
"hasMore": true,
"transactions": [
{
"id": 123,
"transactionId": "<string>",
"exchangeId": 123,
"token": "<string>",
"direction": "<string>",
"date": "<string>",
"missing": "account",
"message": "<string>"
}
]
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Get Report Details API
Retrieve computed Breezing report rows by token, account, or explorer balances to reconcile crypto accounting balances and movements.
curl --request GET \
--url https://api.breezing.io/v1/reports/{id}/detailsimport requests
url = "https://api.breezing.io/v1/reports/{id}/details"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.breezing.io/v1/reports/{id}/details', 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://api.breezing.io/v1/reports/{id}/details",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.breezing.io/v1/reports/{id}/details"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.breezing.io/v1/reports/{id}/details")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.breezing.io/v1/reports/{id}/details")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
null
],
"status": "<string>",
"unlabeledTransactions": {
"total": 123,
"hasMore": true,
"transactions": [
{
"id": 123,
"transactionId": "<string>",
"exchangeId": 123,
"token": "<string>",
"direction": "<string>",
"date": "<string>",
"missing": "account",
"message": "<string>"
}
]
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Query Parameters
When true, returns rows grouped per wallet with the wallet name and a roll-up summary. Applies to type=token (sums realizedNet/unrealizedNet/fiat fields per wallet) and type=explorerBalances (groups raw rows per wallet). Ignored for type=account (always flat). Default false.
true, false type=account only. "trial_balance" (default) returns the per-account rows. "profit_and_loss", "balance_sheet" and "cash_flow" return the financial statement derived from those rows and the chart of accounts classifications (set on the Chart of Accounts page). The cash flow uses the indirect method: cash is the accounts classified Bank and cash. 400 for other report types.
trial_balance, profit_and_loss, balance_sheet, cash_flow Response
Report details retrieved successfully
Report detail rows. Shape varies by type: token rows have token/walletId/openingBalance/closingBalance/realizedNet/...; account rows have account/code/name/openingBalanceDebit/openingBalanceCredit/debit/credit (+ priorPeriods, one {debit, credit, gapDebit, gapCredit} entry per comparison window, when the report compared earlier periods); explorerBalances rows have token/walletId/currentBalance/explorerBalance/chain. For type=account with view=profit_and_loss, view=balance_sheet or view=cash_flow the data is ONE statement object instead: { view, report: { dateFrom, dateTo, comparePeriods, compareUnit, comparisons: [{from, to}] }, columns (one label per amount column: the report period first, then each comparison window), statement (sections with lines + subtotals and the totals ladder; every amount is an array with one decimal string per column; the cash flow, indirect method, has operating/investing/financing activities whose lines are cash effects, netChangeInCash, cashAtBeginning and cashAtEnd over the accounts classified Bank and cash, and a check block), unclassified (accounts the chart cannot classify, excluded from totals), meta }. Amounts are decimal strings in company fiat.
Account reports only: the transactions the report left out of its figures because an account is missing (missing: the transaction GL account, the asset account of its token, or of its fee token). Every total is short by exactly these rows: map the accounts, then regenerate. total counts every row left out, transactions lists them by id (the report period first), hasMore is true when more were left out than listed.
Show child attributes
Show child attributes