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

# Quote Amm Liquidity

> Quote a two-sided liquidity deposit.



## OpenAPI

````yaml /api-reference/openapi.json post /gateway/amm/quote-liquidity
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /gateway/amm/quote-liquidity:
    post:
      tags:
        - Gateway AMM
      summary: Quote Amm Liquidity
      description: Quote a two-sided liquidity deposit.
      operationId: quote_amm_liquidity_gateway_amm_quote_liquidity_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMMQuoteLiquidityRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMMQuoteLiquidityResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    AMMQuoteLiquidityRequest:
      properties:
        connector:
          type: string
          title: Connector
          description: AMM connector (e.g., 'meteora', 'raydium', 'uniswap')
        network:
          type: string
          title: Network
          description: Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta')
        pool_address:
          type: string
          title: Pool Address
          description: Pool contract address
        base_token_amount:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Base Token Amount
          description: Amount of base token to deposit
        quote_token_amount:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Quote Token Amount
          description: Amount of quote token to deposit
        slippage_pct:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Slippage Pct
          description: Maximum slippage percentage
      type: object
      required:
        - connector
        - network
        - pool_address
        - base_token_amount
        - quote_token_amount
      title: AMMQuoteLiquidityRequest
      description: Request to quote a two-sided liquidity deposit.
    AMMQuoteLiquidityResponse:
      properties:
        baseLimited:
          type: boolean
          title: Baselimited
          description: Whether the base side is the limiting side
        baseTokenAmount:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Basetokenamount
          description: Base token amount to deposit
        quoteTokenAmount:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Quotetokenamount
          description: Quote token amount to deposit
        baseTokenAmountMax:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Basetokenamountmax
          description: Max base token amount
        quoteTokenAmountMax:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Quotetokenamountmax
          description: Max quote token amount
      type: object
      required:
        - baseLimited
        - baseTokenAmount
        - quoteTokenAmount
        - baseTokenAmountMax
        - quoteTokenAmountMax
      title: AMMQuoteLiquidityResponse
      description: Response with a two-sided deposit quote.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````