---
title: "Get strategy order"
method: GET
path: "/v1/strategies/{address}/order"
tags: ["Strategies"]
---

# Get strategy order

`GET /v1/strategies/{address}/order`

## Request

- Base URL: `https://backend.swap.coffee`
- URL: `https://backend.swap.coffee/v1/strategies/{address}/order`
- Auth: one of:
  - none
  - API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/swap/apis/swap-coffee-api/docs/v1/strategies/:address/order/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `address` string, required

## Query parameters

- `id` integer, required

## Headers

- `x-verify` string, required

## Response `200`

Account's strategy order

- ApiStrategyOrder
  - `id` integer, required
  - `type` 'limit' | 'dca' | 'vca', required
  - `wallet` string, required
  - `status` 'active' | 'requested_cancellation' | 'cancelled_by_user' | 'cancelled_by_system' | 'executed' | 'max_retries_exceeded', required
  - `creation_timestamp` integer, required: Unix time in seconds
  - `token_from` ApiToken, required
    - `address` ApiTokenAddress, required
      - `blockchain` string, required
      - `address` string, required
    - `metadata` ApiTokenMetadata, required
      - `name` string, required
      - `symbol` string, required
      - `decimals` integer, required
      - `image_url` string
      - `listed` boolean, required
      - `verification` 'whitelisted' | 'blacklisted' | 'community' | 'unknown', required
  - `token_to` ApiToken, required
    - `address` ApiTokenAddress, required
      - `blockchain` string, required
      - `address` string, required
    - `metadata` ApiTokenMetadata, required
      - `name` string, required
      - `symbol` string, required
      - `decimals` integer, required
      - `image_url` string
      - `listed` boolean, required
      - `verification` 'whitelisted' | 'blacklisted' | 'community' | 'unknown', required
  - `initial_input_amount` string, required
  - `current_input_amount` string, required
  - `settings` ApiJson, required
  - `current_output_amount` string, required
  - `max_suborders` integer, required
  - `suborders_executed` integer, required
  - `max_invocations` integer, required: Max amount of swaps to be potentially executed (including those that fail to reasons like slippage tolerance abortion)
  - `invocations_executed` integer, required: Amount of swaps that had already been tried to be executed (including those that failed to reasons like slippage tolerance abortion)
  - `slippage` number, double, required
  - `max_path_length` integer, required: Max path length in tokens for every route that could potentially be executed within this order
  - `active_transactions` integer, required: Amount of this order transactions that were sent, but their result is still unknown
  - `close_timestamp` integer: Unix time in seconds

## Other responses

- `default`: Some error during request processing

---

[API](https://skmtc.dev/swap/apis/swap-coffee-api.md) - [All operations](https://skmtc.dev/swap/apis/swap-coffee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/swap/apis/swap-coffee-api/revisions/88f42fef59b7?raw)
