Skip to main content
POST
/
gateway
/
clmm
/
positions_owned
Get Clmm Positions Owned
curl --request POST \
  --url http://localhost:8000/gateway/clmm/positions_owned \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connector": "<string>",
  "network": "<string>",
  "pool_address": "<string>",
  "wallet_address": "<string>"
}
'
[
  {
    "position_address": "<string>",
    "pool_address": "<string>",
    "trading_pair": "<string>",
    "base_token": "<string>",
    "quote_token": "<string>",
    "base_token_amount": "<string>",
    "quote_token_amount": "<string>",
    "current_price": "<string>",
    "lower_price": "<string>",
    "upper_price": "<string>",
    "in_range": true,
    "base_fee_amount": "<string>",
    "quote_fee_amount": "<string>",
    "lower_bin_id": 123,
    "upper_bin_id": 123
  }
]

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 get all CLMM positions owned by a wallet for a specific pool

connector
string
required

CLMM 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 to filter positions

wallet_address
string | null

Wallet address (optional, uses default if not provided)

Response

Successful Response

position_address
string
required

Position address

pool_address
string
required

Pool address

trading_pair
string
required

Trading pair

base_token
string
required

Base token symbol

quote_token
string
required

Quote token symbol

base_token_amount
string
required

Base token amount in position

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
quote_token_amount
string
required

Quote token amount in position

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
current_price
string
required

Current pool price

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
lower_price
string
required

Lower price bound

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
upper_price
string
required

Upper price bound

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
in_range
boolean
required

Whether position is currently in range

base_fee_amount
string | null

Base token uncollected fees

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
quote_fee_amount
string | null

Quote token uncollected fees

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
lower_bin_id
integer | null

Lower bin ID (Meteora)

upper_bin_id
integer | null

Upper bin ID (Meteora)