List account deals
const url = 'https://api.koneth.com/api/v1/management/servers/6be9a699-2f28-402e-b64e-93ba6bdafe1b/accounts/7001042/deals?page=1&limit=20';const options = { method: 'GET', headers: {'X-Request-Id': 'onboarding-client-1042', Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.koneth.com/api/v1/management/servers/6be9a699-2f28-402e-b64e-93ba6bdafe1b/accounts/7001042/deals?page=1&limit=20' \ --header 'Authorization: <Authorization>' \ --header 'X-Request-Id: onboarding-client-1042'Returns a newest-first page of executions for one trading account. Use deals
to inspect each entry, exit, and partial-close timestamp. Requires
accounts:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”UUID of a trading server owned by your organization.
Example
6be9a699-2f28-402e-b64e-93ba6bdafe1bTrading account number.
Example
7001042Header Parameters
Section titled “Header Parameters”Optional correlation ID used for API request billing and logs.
Example
onboarding-client-1042Query Parameters
Section titled “Query Parameters”One-based page number.
Maximum records returned on one page.
Responses
Section titled “Responses”Deal page returned.
object
An individual execution, including an entry, exit, or partial close.
object
Date and time this execution occurred; preserved independently for every partial close.
object
Examplegenerated
{ "deals": [ { "id": "example", "orderId": "example", "positionId": "example", "symbol": "example", "side": "example", "kind": "example", "volume": 1, "price": 1, "commission": 1, "realizedPnl": 1, "swap": 1, "executedAt": "2026-04-15T12:00:00Z" } ], "pagination": { "page": 1, "limit": 1, "total": 1, "totalPages": 1 }}Invalid request.
object
Validation issue details when the request fails schema validation.
object
Examplegenerated
{ "error": "example", "issues": [ {} ]}Management API authentication is missing or invalid.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Management API authentication required"}The organization cannot cover the active API request price.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Insufficient API credits"}The key lacks the required scope or server access.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Missing API scope: accounts:read"}The requested resource was not found.
object
Validation issue details when the request fails schema validation.
object
Examplegenerated
{ "error": "example", "issues": [ {} ]}Unexpected server error.
object
Validation issue details when the request fails schema validation.
object
Example
{ "error": "Internal server error"}