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

# Get Order

> Get order by ID

Get an order by ID.


## OpenAPI

````yaml GET /api/v1/orders/{id}
openapi: 3.1.0
info:
  title: Lidian Protocol API
  description: REST and WebSocket API for the Lidian cross-chain stablecoin swap protocol
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.lidian.finance
    description: API
security:
  - apiKeyAuth: []
paths:
  /api/v1/orders/{id}:
    get:
      description: Get order by ID
      parameters:
        - name: id
          in: path
          description: Order ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Order retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderResponse'
        '404':
          description: Order not found
components:
  schemas:
    OrderResponse:
      type: object
      properties:
        message:
          type: string
        data:
          type: object
          properties:
            orderId:
              type: string
            quoteId:
              type: string
            signature:
              type: string
            status:
              type: string
              enum:
                - created
                - accepted
                - completed
                - failed
                - received
                - fulfilled
                - cancelled
            moneyMoverAccountId:
              type: string
            liquidityProviderAccountId:
              type: string
            details:
              type: object
            createdAt:
              type: string
            updatedAt:
              type: string
            completedAt:
              type: string
            failureReason:
              type: string
            createdBy:
              type: string
            updatedBy:
              type: string
            metadata:
              type: object
            quote:
              type: object
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````