API Reference
Operations

Get a report

GET/v1/reports
Base URL: https://trace.mimicr.dev · provider: https://api.sandbox.tracefinance.com

Generates an aggregated view of operations over a time window. Activity is partitioned by asset because amounts in different currencies cannot be summed. Only settled transactions (CONFIRMED status) on operations matching filters contribute — pending and failed are excluded. The report is regenerated on each request and is not persisted.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

X-Trace-Versionstring

API version. Omit to use the default version.

Example: "1"

Query parameters

periodStartstring<date-time>required

Inclusive start of the reporting window. UTC timestamp in ISO 8601 format — the Z suffix is the timezone marker and is required (e.g., 2026-04-01T00:00:00Z). See the Date and time guide for the full format.

Example: "2026-04-01T00:00:00Z"
periodEndstring<date-time>required

Exclusive end of the reporting window. UTC timestamp in ISO 8601 format — the Z suffix is the timezone marker and is required (e.g., 2026-05-01T00:00:00Z). Must be strictly greater than periodStart. See the Date and time guide for the full format.

Example: "2026-05-01T00:00:00Z"
filtersstring

Filter expression using LHS Brackets syntax (field[operator]=value). Combine multiple conditions with and(...), or(...), or ; (implicit AND). See the Filtering guide for the full operator catalog.

Example: "intent.type[eq]=WITHDRAW;sourceAmount.asset[eq]=BRL"

Responses

200Aggregated report for the requested window.
periodobjectrequired

The reporting window. Boundary semantics are half-open — start inclusive, end exclusive.

Show child attributes
startstring<date-time>required

Inclusive start of the reporting window.

Example: "2026-04-01T00:00:00Z"
endstring<date-time>required

Exclusive end of the reporting window.

Example: "2026-05-01T00:00:00Z"
totalsobject[]required

One entry per asset that had at least one settled transaction matching the filter in the period. Empty when nothing matched.

Show child attributes
assetstringrequired

ISO 4217 currency code or stablecoin ticker. The maximum decimal scale of an AmountValue paired with this asset depends on the asset:

AssetDecimals
BRL2
USDT6
USDC6
BRLUSDTUSDC
Example: "BRL"
inflowsobject

Sum and count of monetary movements on a single side of the ledger within an asset partition.

Show child attributes
sumobjectrequired

Monetary amount expressed as a decimal string in the asset's canonical scale. Use a decimal-precision library (BigDecimal, Decimal) for arithmetic — never JavaScript Number. Request bodies use the scalar AmountValue instead.

Show child attributes
valuestringrequired

Decimal amount in the asset's canonical scale.

Example: "500.00"
assetstringrequired

ISO 4217 currency code or stablecoin ticker. The maximum decimal scale of an AmountValue paired with this asset depends on the asset:

AssetDecimals
BRL2
USDT6
USDC6
BRLUSDTUSDC
Example: "BRL"
decimalsintegerrequired

Number of decimal places for the asset.

Example: 2
countintegerrequired

Number of contributing transactions.

Example: 3
outflowsobject

Sum and count of monetary movements on a single side of the ledger within an asset partition.

Show child attributes
sumobjectrequired

Monetary amount expressed as a decimal string in the asset's canonical scale. Use a decimal-precision library (BigDecimal, Decimal) for arithmetic — never JavaScript Number. Request bodies use the scalar AmountValue instead.

Show child attributes
valuestringrequired

Decimal amount in the asset's canonical scale.

Example: "500.00"
assetstringrequired

ISO 4217 currency code or stablecoin ticker. The maximum decimal scale of an AmountValue paired with this asset depends on the asset:

AssetDecimals
BRL2
USDT6
USDC6
BRLUSDTUSDC
Example: "BRL"
decimalsintegerrequired

Number of decimal places for the asset.

Example: 2
countintegerrequired

Number of contributing transactions.

Example: 3
401Missing or invalid authentication token.
codestringrequired

Machine-readable error code.

messagestringrequired

Human-readable description.

detailsobject
422Invalid query parameter or filter expression.
codestringrequired

Machine-readable error code.

messagestringrequired

Human-readable description.

detailsobject