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

# Get the status of an order.



## OpenAPI

````yaml cow-protocol/reference/apis/openapi/orderbook.yml get /api/v1/orders/{UID}/status
openapi: 3.0.3
info:
  version: 0.0.1
  title: Order Book API
servers:
  - description: Mainnet (Prod)
    url: https://api.cow.fi/mainnet
  - description: Mainnet (Staging)
    url: https://barn.api.cow.fi/mainnet
  - description: Gnosis Chain (Prod)
    url: https://api.cow.fi/xdai
  - description: Gnosis Chain (Staging)
    url: https://barn.api.cow.fi/xdai
  - description: Arbitrum One (Prod)
    url: https://api.cow.fi/arbitrum_one
  - description: Arbitrum One (Staging)
    url: https://barn.api.cow.fi/arbitrum_one
  - description: Base (Prod)
    url: https://api.cow.fi/base
  - description: Base (Staging)
    url: https://barn.api.cow.fi/base
  - description: Avalanche (Prod)
    url: https://api.cow.fi/avalanche
  - description: Avalanche (Staging)
    url: https://barn.api.cow.fi/avalanche
  - description: Polygon (Prod)
    url: https://api.cow.fi/polygon
  - description: Polygon (Staging)
    url: https://barn.api.cow.fi/polygon
  - description: Lens (Prod)
    url: https://api.cow.fi/lens
  - description: Lens (Staging)
    url: https://barn.api.cow.fi/lens
  - description: Linea (Prod)
    url: https://api.cow.fi/linea
  - description: Linea (Staging)
    url: https://barn.api.cow.fi/linea
  - description: BNB (Prod)
    url: https://api.cow.fi/bnb
  - description: BNB (Staging)
    url: https://barn.api.cow.fi/bnb
  - description: Plasma (Prod)
    url: https://api.cow.fi/plasma
  - description: Plasma (Staging)
    url: https://barn.api.cow.fi/plasma
  - description: Ink (Prod)
    url: https://api.cow.fi/ink
  - description: Ink (Staging)
    url: https://barn.api.cow.fi/ink
  - description: Sepolia (Prod)
    url: https://api.cow.fi/sepolia
  - description: Sepolia (Staging)
    url: https://barn.api.cow.fi/sepolia
  - description: Local
    url: http://localhost:8080
security: []
paths:
  /api/v1/orders/{UID}/status:
    get:
      summary: Get the status of an order.
      operationId: getOrderStatus
      parameters:
        - in: path
          name: UID
          schema:
            $ref: '#/components/schemas/UID'
          required: true
      responses:
        '200':
          description: >-
            The order status with a list of solvers that proposed solutions (if
            applicable).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompetitionOrderStatus'
        '400':
          description: Invalid order UID.
components:
  schemas:
    UID:
      description: |-
        Unique identifier for the order: 56 bytes encoded as hex with `0x`
        prefix.

        Bytes 0..32 are the order digest, bytes 30..52 the owner address and
        bytes 52..56 the expiry (`validTo`) as a `uint32` unix epoch timestamp.
      type: string
      example: >-
        0xff2e2e54d178997f173266817c1e9ed6fee1a1aae4b43971c53b543cffcc2969845c6f5599fbb25dbdd1b9b013daf85c03f3c63763e4bc4a
    CompetitionOrderStatus:
      type: object
      properties:
        type:
          type: string
          enum:
            - open
            - scheduled
            - active
            - solved
            - executing
            - traded
            - cancelled
        value:
          description: |-
            A list of solvers who participated in the latest competition, sorted
            by score in ascending order, where the last element is the winner.

            The presence of executed amounts defines whether the solver provided
            a solution for the desired order.
          type: array
          items:
            type: object
            properties:
              solver:
                type: string
                description: Name of the solver.
              executedAmounts:
                $ref: '#/components/schemas/ExecutedAmounts'
            required:
              - solver
      required:
        - type
    ExecutedAmounts:
      type: object
      properties:
        sell:
          $ref: '#/components/schemas/BigUint'
        buy:
          $ref: '#/components/schemas/BigUint'
      required:
        - sell
        - buy
    BigUint:
      description: A big unsigned integer encoded in decimal.
      type: string
      example: '1234567890'

````