Skip to main content
POST
/
gateway
/
clmm
/
add
Add Liquidity To Clmm Position
curl --request POST \
  --url http://localhost:8000/gateway/clmm/add \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connector": "<string>",
  "network": "<string>",
  "position_address": "<string>",
  "base_token_amount": 123,
  "quote_token_amount": 123,
  "slippage_pct": 1,
  "wallet_address": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to add MORE liquidity to an EXISTING CLMM position

connector
string
required

CLMM connector (e.g., 'meteora', 'raydium', 'uniswap')

network
string
required

Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta')

position_address
string
required

Existing position address to add liquidity to

base_token_amount

Amount of base token to add

quote_token_amount

Amount of quote token to add

slippage_pct
default:1

Maximum slippage percentage (default: 1.0)

wallet_address
string | null

Wallet address (optional, uses default if not provided)

Response

Successful Response