Capital.com (Unofficial) icon

Capital.com (Unofficial)

Interact with the Capital.com Open API

Position → Close

AI-generated

Summary

Closes the Capital.com position identified by its deal ID by sending a DELETE request. Returns the API response with deleted: true added.

Inputs

  • Deal ID (required) — The position deal ID to close.

Output shape

A single record

Contains the API response fields plus deleted: true.

Links

Discussion