GET
/
positions
cURL
curl --request GET \
  --url https://api.cleopetra.fun/positions \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "total": 123,
  "positions": [
    {
      "position_address": "<string>",
      "program_type": "<string>",
      "pool_address": "<string>",
      "token_x_info": {
        "mint": "<string>",
        "symbol": "<string>",
        "decimals": 123,
        "image": "<string>"
      },
      "token_y_info": {
        "mint": "<string>",
        "symbol": "<string>",
        "decimals": 123,
        "image": "<string>"
      },
      "total_deposit_usd": 123,
      "total_unclaimed_fees_usd": 123,
      "total_claimed_fees_usd": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "pnl": 123,
      "pnl_usd": 123,
      "in_range": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

user
string
required
programs
enum<string>[]
required
limit
number
default:10
required
page
number
default:1
required

Response

200 - application/json

Successful response with paginated positions

The response is of type object.