---
title: "GET /crescent/amm/v1beta1/simulation/add_liquidity"
method: GET
path: "/crescent/amm/v1beta1/simulation/add_liquidity"
tags: ["Query"]
---

# GET /crescent/amm/v1beta1/simulation/add_liquidity

`GET /crescent/amm/v1beta1/simulation/add_liquidity`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/docs/crescent/amm/v1beta1/simulation/add_liquidity/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `pool_id` string, uint64
- `lower_price` string
- `upper_price` string
- `desired_amount` string

## Response `200`

A successful response.

- object
  - `liquidity` string
  - `amount` object[]
    - `denom` string
    - `amount` string

## Other responses

- `default`: An unexpected error response

## Changes

- **2023-09-11** `0cb495f8c604`: 1 info
  - endpoint added
- **2023-09-11** `65d4119fbf62`: 1 breaking
  - api path removed without deprecation
- **2023-07-10** `2c5e8a5ae418`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/changes/crescent/amm/v1beta1/simulation/add_liquidity/get.md)

---

[API](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/revisions/ddf5133cea9d?raw)
