> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Dapatkan riwayat posisi CLMM

> Mengambil data harga dan likuiditas historis untuk pool CLMM. Cache 30 detik.



## OpenAPI

````yaml /id/api-reference/openapi/api-v3.yaml get /pools/line/position
openapi: 3.0.3
info:
  title: Raydium API v3
  version: 3.0.0
  description: >-
    Raydium API v3 menyediakan endpoint REST untuk mengambil data liquidity
    pool, informasi mint, detail farm, IDO pool, dan metadata chain Solana.
    Digunakan oleh wallet, agregator, dan trader untuk mendapatkan feed harga,
    data pool, dan informasi routing.
servers:
  - url: https://api-v3.raydium.io
    description: Produksi (Mainnet)
  - url: https://api-v3-devnet.raydium.io
    description: Pengembangan (Devnet)
security: []
tags:
  - name: Main
    description: Endpoint API inti untuk informasi chain, TVL, dan konfigurasi
  - name: Mint
    description: Informasi mint token dan harga
  - name: Pools
    description: Info liquidity pool, kunci, dan data historis
  - name: Farms
    description: Informasi farm pool dan kunci
  - name: IDO
    description: Informasi IDO pool dan kunci
paths:
  /pools/line/position:
    get:
      tags:
        - Pools
      summary: Dapatkan riwayat posisi CLMM
      description: >-
        Mengambil data harga dan likuiditas historis untuk pool CLMM. Cache 30
        detik.
      operationId: getPoolsLinePosition
      parameters:
        - name: id
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ApiResponse'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/PositionLineResponse'
components:
  schemas:
    ApiResponse:
      type: object
      description: >-
        Amplop respons umum. Field `data` disediakan oleh skema respons
        masing-masing endpoint melalui `allOf` dan karena itu tidak
        dideklarasikan pada amplop dasar.
      required:
        - id
        - success
      properties:
        id:
          type: string
          description: ID permintaan (UUID)
        success:
          type: boolean
          description: Apakah permintaan berhasil
        msg:
          type: string
          description: Pesan kesalahan jika success bernilai false
    PositionLineResponse:
      type: object
      properties:
        count:
          type: number
        line:
          type: array
          items:
            type: object

````