Skip to main content
GET
Trade by ID

Authorizations

X-API-Key
string
header
required

Workspace API key (tfk_test_/tfk_live_); results are scoped to the key's workspace.

Path Parameters

id
string
required

Workspace whose trades are returned - results are scoped to it

orderId
string
required

Order id from the trades list - trades are keyed by order id, not transaction hash

Response

Successful Response

Full trade dossier keyed by order id. The settlement section carries the on-chain transaction hashes.

trade
Trade · object
required

Section A: trade details - the list-item fields plus fill time and slippage tolerance

settlement
Settlement · object
required

Section B: on-chain settlement - per-stage transaction references (submit/fill/proof/finalise and a generic transactions list), including the settlement transaction hashes

lp
Lp · object
required

Section C: LP info

orderKind
string | null

Canonical route-aware order kind - omitted for non-route orders

substatus
string | null

Finer-grained state within the coarse status

substatusMessage
string | null

Human-readable elaboration of substatus

legs
Legs · object[] | null

Per-leg execution for multi-leg route orders; omitted for single-leg orders

member
MemberAttribution · object | null

Member identity attached to a trade - present for admin/owner callers only.

compliance
Compliance · object | null

Compliance summary - admin/owner callers only

snapshotCompliance
Snapshotcompliance · object | null

Per-order compliance snapshot captured at creation - admin/owner callers only

travelRuleTransmission
Travelruletransmission · object | null

Latest Travel Rule transmission record - admin/owner callers only

complianceProofs
Complianceproofs · object | null

Cryptographic and provenance proofs - admin/owner callers only

intent
Intent · object | null

ERC-7683 intent envelope captured at submission - admin/owner callers only

fees
Fees · object

Fee breakdown: gas, protocol fee, solver fee, relayer tips - omitted when the order predates fee capture