---
title: "Quote Amm Liquidity"
method: POST
path: "/gateway/amm/quote-liquidity"
tags: ["Gateway AMM"]
---

# Quote Amm Liquidity

`POST /gateway/amm/quote-liquidity`

Quote a two-sided liquidity deposit.

## Request body

- AMMQuoteLiquidityRequest — Request to quote a two-sided liquidity deposit.
  - `connector` string, required — AMM connector (e.g., 'meteora', 'raydium', 'uniswap')
  - `network` string, required — Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta')
  - `pool_address` string, required — Pool contract address
  - `base_token_amount` union, required — Amount of base token to deposit
    - number
    - string
  - `quote_token_amount` union, required — Amount of quote token to deposit
    - number
    - string
  - `slippage_pct` union — Maximum slippage percentage
    - number
    - string

## Response `200`

Successful Response

- AMMQuoteLiquidityResponse — Response with a two-sided deposit quote.
  - `baseLimited` boolean, required — Whether the base side is the limiting side
  - `baseTokenAmount` string, required — Base token amount to deposit
  - `quoteTokenAmount` string, required — Quote token amount to deposit
  - `baseTokenAmountMax` string, required — Max base token amount
  - `quoteTokenAmountMax` string, required — Max quote token amount

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-27** `6edd79085219` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/gateway/amm/quote-liquidity/post.md)

---

[API](https://skmtc.dev/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.dev/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hummingbot/apis/hummingbot-api/revisions/6edd79085219?raw)
