POST /api/v1/perp/positions/:market/close

Close a position.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Market symbol

Body Params

Close position request

string | null

Price for limit close

string | null

Size to close (None = full close)

string

"market" or "limit"

Responses

404

No position

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json