Get totals for a period
get_records_summarySales (invoiced at the locked rates), received_market_value (what the coins were worth when they landed), valuation_difference, tax_collected, refunds, fees_prepaid and credits_consumed, fees_onchain, network_fees, credit_purchases and net_received, with payment counts, over occurred_at in the given timezone and currency. period_start is inclusive and period_end exclusive (a date such as 2026-01-01, or a date-time). group_by returns the same totals per month, asset, chain, type or address in groups. With a test key, simulated rows count only with include_simulated=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | ||
| group_by | No | ||
| timezone | No | IANA zone used to bucket occurred_at, e.g. Europe/Berlin. Default: the account's records timezone. | |
| period_end | Yes | Exclusive. | |
| period_start | Yes | Inclusive, read in `timezone`: a date (2026-01-01) or a date-time. | |
| include_simulated | No | Test mode only: include rows created by simulate_test_payment, which the sandbox hides by default. Ignored with a live key. |