Skip to main content
POST
Place spot order

Authorizations

Authorization
string
header
required

API key in the format dk_live_.... Pass as Authorization: Bearer dk_live_...

Body

application/json
symbol
string
required

Spot trading pair symbol (for example PURR or HFUN)

Example:

"PURR"

side
enum<string>
required
Available options:
BUY,
SELL
amountUsd
number
required

Amount in USD

Example:

100

orderType
enum<string>
required
Available options:
market,
limit
limitPrice
number

Limit price (required for limit orders)

maxSlippagePercent
number

Optional maximum slippage percentage

Response

Order accepted for asynchronous execution

success
boolean
required
Example:

true

actionId
string
required

Action ID for polling status via /v1/actions

workflowId
string
required

Internal workflow ID