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

# Create Quote Request

> Create a quote request for stablecoin swap

Create a quote request for a cross-chain stablecoin swap.

See standard error format in the API introduction.


## OpenAPI

````yaml POST /api/v1/quote-requests
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/quote-requests:
    post:
      description: Create a quote request for stablecoin swap
      requestBody:
        description: Quote request parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequest'
        required: true
      responses:
        '200':
          description: Quote request created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteRequestResponse'
components:
  schemas:
    QuoteRequest:
      type: object
      required:
        - recipient
        - offerer
        - inputToken
        - outputToken
        - inputAmount
        - inputChain
        - outputChain
      properties:
        recipient:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        offerer:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        inputToken:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        outputToken:
          type: string
          pattern: ^0x[a-fA-F0-9]{40}$
        inputAmount:
          type: string
        inputChain:
          type: string
        outputChain:
          type: string
    QuoteRequestResponse:
      type: object
      properties:
        message:
          type: string
        data:
          type: object
          properties:
            quoteId:
              type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````