Skip to main content
POST

Authorizations

X-API-Key
string
header
required

API Key authentication. Obtain your API key from the Wallbit dashboard under Settings → API Keys.

Body

application/json
symbol
string
required

Asset symbol (e.g., AAPL, TSLA, MSFT)

Example:

"AAPL"

direction
enum<string>
required

Trade direction

Available options:
BUY,
SELL
Example:

"BUY"

currency
string
required

Currency (only USD supported)

Example:

"USD"

order_type
enum<string>
required

Order type

Available options:
MARKET,
LIMIT,
STOP,
STOP_LIMIT
Example:

"MARKET"

amount
number<float>

Amount in USD (required if shares not specified)

Example:

100

shares
number<float>

Number of shares (required if amount not specified)

Example:

5

stop_price
number<float>

Stop price (required for STOP and STOP_LIMIT)

Example:

150

limit_price
number<float>

Limit price (required for LIMIT and STOP_LIMIT)

Example:

145.5

time_in_force
enum<string>

Time in force (required for LIMIT)

Available options:
DAY,
GTC
Example:

"DAY"

Response

Trade created successfully

data
object