> ## 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.

# ロック済み CPMM ポジションメタデータを取得

> Constant Product Market Maker ロック済みポジションのメタデータを取得します。LP トークン金額、プール シェア パーセンテージ、ロックからの請求可能手数料を返します。



## OpenAPI

````yaml /ja/api-reference/openapi/dynamic-ipfs-v1.yaml get /lock/cpmm/position
openapi: 3.0.3
info:
  title: Dynamic IPFS API
  description: >-
    CLMM ポジションの動的 NFT メタデータと画像を再生成します。dApp が
    リアルタイムのポジションビジュアルと評価データ（プール詳細、金額、手数料、報酬を含む）を取得するために使用されます。


    このサービスは IPFS にポジションメタデータをキャッシュし、ポジション ID による計算済みポジション状態（USD 値、TVL
    パーセンテージ、未請求手数料）を提供します。CLMM および CPMM プールタイプの両方をサポートしています。
  version: 1.0.0
  contact:
    name: Raydium
    url: https://raydium.io
servers:
  - url: https://dynamic-ipfs.raydium.io
    description: Mainnet
  - url: https://dynamic-ipfs-devnet.raydium.io
    description: Devnet
security: []
tags:
  - name: CLMM Position
    description: Concentrated Liquidity Market Maker ポジションの動的メタデータを取得
  - name: Locked Positions
    description: ロック済みポジションデータを取得（CLMM および CPMM）
paths:
  /lock/cpmm/position:
    get:
      tags:
        - Locked Positions
      summary: ロック済み CPMM ポジションメタデータを取得
      description: >-
        Constant Product Market Maker ロック済みポジションのメタデータを取得します。LP トークン金額、プール シェア
        パーセンテージ、ロックからの請求可能手数料を返します。
      operationId: getLockedCpmmPosition
      parameters:
        - name: id
          in: query
          required: true
          description: ロック済み CPMM ポジション PDA 公開鍵（base58）
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CPNFTInterface'
        '400':
          description: 無効なポジション ID またはオーナー不一致
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: ポジションが見つかりません
          content:
            text/plain:
              schema:
                type: string
        '500':
          description: サーバーエラー
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    CPNFTInterface:
      type: object
      description: プール詳細と評価を含む完全な CPMM ロック済みポジション
      properties:
        poolInfo:
          $ref: '#/components/schemas/PoolInfoCPMM'
        positionInfo:
          $ref: '#/components/schemas/CPPositionInfo'
      required:
        - poolInfo
        - positionInfo
    PoolInfoCPMM:
      type: object
      description: Constant Product Market Maker プール情報
      properties:
        id:
          type: string
        mintA:
          $ref: '#/components/schemas/MintInfo'
        mintB:
          $ref: '#/components/schemas/MintInfo'
        lpMint:
          $ref: '#/components/schemas/MintInfo'
        lpPrice:
          type: number
          description: USD でのLP トークン価格
    CPPositionInfo:
      type: object
      description: CPMM ロック済みポジション状態
      properties:
        tvlPercentage:
          type: number
          description: プール シェアの割合（0～100）
        usdValue:
          type: number
          description: ロックされた LP の USD 価値
        amountA:
          type: number
          description: トークン A の基礎となる金額
        amountB:
          type: number
          description: トークン B の基礎となる金額
        unclaimedFee:
          $ref: '#/components/schemas/CPUnclaimedFeeInfo'
      required:
        - tvlPercentage
        - usdValue
        - amountA
        - amountB
        - unclaimedFee
    MintInfo:
      type: object
      properties:
        address:
          type: string
          description: トークンミントアドレス
        decimals:
          type: integer
          description: トークンデシマル
        symbol:
          type: string
          description: トークンシンボル
    CPUnclaimedFeeInfo:
      type: object
      description: ロックされた CPMM ポジションから請求可能な LP およびフィー
      properties:
        lp:
          type: number
          description: 請求可能な LP 額
        amountA:
          type: number
          description: 請求可能なトークン A
        amountB:
          type: number
          description: 請求可能なトークン B
        usdValue:
          type: number
          description: 請求可能な価値（USD）

````