Skip to main content
POST

Overview

Create a short position on Strike Protocol with specified margin and leverage. A short position profits when the asset price decreases.
This endpoint requires authentication with a valid API key.

Authentication

Include your API key in the X-API-Key header:

Request Body

string
required
Margin amount in USD. Must be a positive number as a string.Minimum: 1 USD equivalent
Example: “100.0”
integer
required
Leverage multiplier for the position.Range: 1 to 1000
Example: 10
string
required
Trading pair symbol.Supported values: “BTC-USD”, “ETH-USD”, “SOL-USD”
Example: “BTC-USD”

Response Fields

boolean
Indicates if the position was created successfully
integer
Unique identifier for the created position
string
Blockchain transaction hash for the position creation
string
Margin amount used for the position
integer
Leverage multiplier applied
string
Total position size (margin × leverage)
string
Price at which the position was opened
string
Price at which the position will be liquidated

Error Responses

object
Invalid request parameters or insufficient balance
object
Missing or invalid authentication token
object
Rate limit exceeded (10 requests per minute for trading endpoints)

Next Steps

After creating a short position:
  1. Monitor Position - Use Get Positions to track your position
  2. Check Dashboard - View comprehensive data with Dashboard
  3. Close Position - Manually close with Close Position
  4. Emergency Exit - Use Emergency Exit if needed
Short positions carry unlimited loss potential and require careful risk management. Monitor positions closely and consider using stop losses.
Short positions are suitable when you expect the asset price to decrease. Consider using lower leverage for short positions due to their higher risk profile.

Authorizations

X-API-Key
string
header
required

Strike Protocol API key authentication

Body

application/json
margin
string
required

Margin amount in USD

leverage
integer
required

Leverage multiplier (1-1000)

Required range: 1 <= x <= 1000
symbol
string
required

Market symbol (e.g., BTC-USD)

Response

Position created successfully

success
boolean
positionId
integer
txHash
string
margin
string
leverage
integer
size
string
entryPrice
string
liquidationPrice
string