> ## 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 Quote

> Get quote by ID

Get a quote by ID.


## OpenAPI

````yaml GET /api/v1/quotes/{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/quotes/{id}:
    get:
      description: Get quote by ID
      parameters:
        - name: id
          in: path
          description: Quote ID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Quote retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteResponse'
        '404':
          description: Quote not found
components:
  schemas:
    QuoteResponse:
      type: object
      properties:
        message:
          type: string
        data:
          type: object
          properties:
            quoteId:
              type: string
            orderId:
              type: string
            quote:
              type: object
              properties:
                id:
                  type: string
                quoteRequestId:
                  type: string
                liquidityProviderId:
                  type: string
                offerer:
                  type: string
                recipient:
                  type: string
                inputToken:
                  type: string
                outputToken:
                  type: string
                inputAmount:
                  type: string
                outputAmount:
                  type: string
                inputChain:
                  type: string
                outputChain:
                  type: string
                startTime:
                  type: number
                endTime:
                  type: number
                signingHash:
                  type: string
                status:
                  type: string
                  enum:
                    - active
                    - expired
                    - filled
                createdAt:
                  type: string
                orderId:
                  type: string
                typedData:
                  type: object
            typedData:
              type: object
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````