> ## Documentation Index
> Fetch the complete documentation index at: https://orderly.network/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get algo orders

> **Limit: 5 requests per 1 second**

`GET /v1/algo/orders`

Get algo order details by customized filters.

For filter by status, one can reference special bundled statuses below for ease of access of Open (i.e `INCOMPLETE`) orders or `COMPLETED` orders.

`INCOMPLETE` = `NEW` + `PARTIAL_FILLED`


`COMPLETED` = `CANCELLED` + `FILLED`



## OpenAPI

````yaml orderly.openapi get /v1/algo/orders
openapi: 3.0.1
info:
  title: EVM
  description: ''
  version: 1.0.0
servers:
  - url: https://api.orderly.org
    description: Mainnet
  - url: https://testnet-api.orderly.org
    description: Testnet
security: []
tags:
  - name: public
  - name: private
paths:
  /v1/algo/orders:
    get:
      tags:
        - private
      summary: Get algo orders
      description: >-
        **Limit: 5 requests per 1 second**


        `GET /v1/algo/orders`


        Get algo order details by customized filters.


        For filter by status, one can reference special bundled statuses below
        for ease of access of Open (i.e `INCOMPLETE`) orders or `COMPLETED`
        orders.


        `INCOMPLETE` = `NEW` + `PARTIAL_FILLED`



        `COMPLETED` = `CANCELLED` + `FILLED`
      parameters:
        - name: symbol
          in: query
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: order_type
          in: query
          description: '`LIMIT`/`MARKET`'
          required: false
          example: ''
          schema:
            type: string
        - name: status
          in: query
          description: >-
            `NEW`/`CANCELLED`/`PARTIAL_FILLED`/`FILLED`/`REJECTED`/`INCOMPLETE`/`COMPLETED`
          required: false
          example: ''
          schema:
            type: string
        - name: order_tag
          in: query
          description: Filter by a custom tag assigned to the order.
          required: false
          example: ''
          schema:
            type: string
        - name: start_t
          in: query
          description: >-
            start time range that wish to query, noted the time stamp is
            13-digits timestamp.
          required: false
          example: ''
          schema:
            type: number
        - name: end_t
          in: query
          description: >-
            end time range that wish to query, noted the time stamp is 13-digits
            timestamp.
          required: false
          example: ''
          schema:
            type: number
        - name: page
          in: query
          description: the page you wish to query. start from 1
          required: false
          example: ''
          schema:
            type: number
        - name: size
          in: query
          description: 'the page size you wish to query (max: 500)'
          required: false
          example: ''
          schema:
            type: number
        - name: side
          in: query
          description: '`BUY`/`SELL`'
          required: false
          example: ''
          schema:
            type: string
        - name: algo_type
          in: query
          description: Supported types are `STOP`, `TPSL`, `positional_TPSL`
          required: false
          example: ''
          schema:
            type: string
        - name: is_triggered
          in: query
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - $ref: '#/components/parameters/orderly_timestamp'
        - $ref: '#/components/parameters/orderly_account_id'
        - $ref: '#/components/parameters/orderly_key'
        - $ref: '#/components/parameters/orderly_signature'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlgoOrdersResponse'
      deprecated: false
components:
  parameters:
    orderly_timestamp:
      name: orderly-timestamp
      in: header
      description: Timestamp of the signed request in milliseconds.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: '1649920583000'
    orderly_account_id:
      name: orderly-account-id
      in: header
      description: Account ID of the authenticated account.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: 6.858456565150415e+75
    orderly_key:
      name: orderly-key
      in: header
      description: Public orderly key used to sign the request.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: ed25519:8tm7dnKYkSc3FzgPuJaw1wztr79eeZpN35nHW5pL5XhX
    orderly_signature:
      name: orderly-signature
      in: header
      description: Signature of the request payload generated with the orderly key.
      required: true
      style: simple
      explode: false
      schema:
        type: string
      example: >-
        dG4bkKiqG0dUYLzViRZkvbI6Sy239JxAdNMIBxFZ4w030Jofr0ORV06GHtvXZkaZaWUXE+XAU3fnzKN/5fDeBQ==
  schemas:
    AlgoOrdersResponse:
      allOf:
        - $ref: '#/components/schemas/BasicResponse'
        - type: object
          required:
            - data
          properties:
            data:
              type: object
              required:
                - meta
                - rows
              properties:
                meta:
                  $ref: '#/components/schemas/PaginationMeta'
                rows:
                  type: array
                  items:
                    $ref: '#/components/schemas/AlgoOrder'
    BasicResponse:
      required:
        - success
      type: object
      properties:
        success:
          description: Indicates whether the request was successful.
          type: boolean
          example: true
        timestamp:
          description: Server timestamp in milliseconds.
          type: integer
          example: 1702989203989
    PaginationMeta:
      required:
        - current_page
        - records_per_page
        - total
      type: object
      properties:
        total:
          type: integer
          example: 9
        records_per_page:
          type: integer
          example: 25
        current_page:
          type: integer
          example: 1
          description: start from 1
    AlgoOrder:
      type: object
      required:
        - algo_order_id
        - algo_status
        - algo_type
        - created_time
        - fee_asset
        - is_triggered
        - order_tag
        - parent_algo_order_id
        - quantity
        - root_algo_order_id
        - root_algo_order_status
        - side
        - symbol
        - total_executed_quantity
        - total_fee
        - trigger_price
        - trigger_price_type
        - type
        - updated_time
        - visible_quantity
      properties:
        algo_order_id:
          type: number
          example: 168400010
        algo_status:
          type: string
          example: NEW
        algo_type:
          type: string
          example: STOP
        fee_asset:
          type: string
          example: USDC
        is_triggered:
          type: string
          example: 'false'
        order_tag:
          type: string
          example: test_tag
          description: >
            Optional tag for the order. Supports plain string (referral code) or
            `enum:<enum_id>` format.
        parent_algo_order_id:
          type: number
          example: 0
        quantity:
          type: number
          example: 5.5
        root_algo_order_id:
          type: number
          example: 168400010
        root_algo_order_status:
          type: string
          example: NEW
        side:
          type: string
          example: BUY
        symbol:
          type: string
          example: PERP_NEAR_USDC
        margin_mode:
          type: string
          enum:
            - CROSS
            - ISOLATED
          example: CROSS
        executed_quantity:
          type: number
          example: 0
        total_executed_quantity:
          type: number
          example: 0
        total_fee:
          type: number
          example: 0
        trigger_price:
          type: number
          example: 2.5
        trigger_price_type:
          type: string
          example: MARK_PRICE
        type:
          type: string
          example: MARKET
        created_time:
          type: string
          example: 1702871974317
        updated_time:
          type: string
          example: 1702871974317
        visible_quantity:
          type: number
          example: 5.5
        realized_pnl:
          type: number
          example: 0
        child_orders:
          type: array
          items:
            type: object
          description: Array of `AlgoOrder`

````