Skip to main content
This guide covers the two core Trade History surfaces: listing your workspace’s trades with filters, and drilling into one trade’s full detail.
Outcome: two small scripts - one listing your trades, one dissecting a single trade.Time: about 5 minutes.Bring: a workspace API key or a JWT bearer token (details); scoping happens on its own.

1. List your workspace’s trades

Fetch trades across every supported chain in one call - no per-network queries.

Reading What Comes Back

Trimmed to representative fields - nullable fields come back as null when absent (orderKind is omitted entirely); the full shape is in the API reference.

Slicing a time window

dateFrom and dateTo bound the result set:
Send times as RFC 3339 strings - 2026-06-20T00:00:00Z style. Epoch integers don’t silently no-op here; they bounce with a validation error, which is the kinder failure.

Pagination

Pagination is offset-based: step offset forward by limit until you’ve covered total:

2. Drill into a single trade

Fetch one trade’s full dossier - trade details, on-chain settlement transactions, and LP info. Trades are keyed by order id, not transaction hash; the settlement transaction hashes live inside the detail’s settlement section.
The detail response groups the record into sections: trade (the list fields plus fill time and slippage tolerance), settlement (per-stage transaction references), lp, and - for admin/owner callers - compliance, Travel Rule, proof, intent, and fee sections.

Errors