Skip to main content
POST
Place orders

Authorizations

Authorization
string
header
required

Privy-issued JWT. Required for L1 routes; accepted on L2 routes.

Headers

fs-idempotency-key
string

Optional idempotency key, scoped to the authenticated user and request body hash. Honored on POST /v1/orders only.

Body

application/json
orders
object[]
required
Required array length: 1 - 15 elements

Response

Per-order results. Mixed success/error is normal.

results
object[]

One entry per submitted order, in request order. Each item is either a success or an inline error — always inspect each.

A successfully accepted order. Always status: OPEN at POST time — matching is asynchronous and transitions arrive on the user WebSocket channel.

_idempotent_replayed
boolean

Present and true only when an fs-idempotency-key replayed a cached result.