---
title: "Collect Fees From Clmm Position"
method: POST
path: "/gateway/clmm/collect-fees"
tags: ["Gateway CLMM"]
---

# Collect Fees From Clmm Position

`POST /gateway/clmm/collect-fees`

Collect accumulated fees from a CLMM liquidity position.

Example:
    connector: 'meteora'
    network: 'solana-mainnet-beta'
    position_address: '...'
    wallet_address: (optional)

Returns:
    Transaction hash and collected fee amounts

## Request body

- CLMMCollectFeesRequest — Request to collect fees from a 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 — Position address to collect fees from
  - `pool_address` string, nullable — Pool the position belongs to. Informational only — neither Gateway's call nor the fee snapshot needs it, and unrecorded positions work without it
  - `wallet_address` string, nullable — Wallet address (optional, uses default if not provided)

## Response `200`

Successful Response

- CLMMCollectFeesResponse — Response after collecting fees
  - `transaction_hash` string, required — Transaction hash
  - `position_address` string, required — Position address
  - `base_fee_collected` string, nullable — Base token fees collected
  - `quote_fee_collected` string, nullable — Quote token fees collected
  - `status` string — Transaction status

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-27** `6edd79085219` — 1 info
  - added the new optional request property `pool_address`
- **2026-04-08** `92703f48a69e` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2025-12-20** `1005bcd47280` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/gateway/clmm/collect-fees/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)
