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

# getAssetsByGroup

> 特定のコレクションまたはグループ内のすべてのSolana NFTおよび圧縮されたNFTを、柔軟なグループキーとページネーションサポートを使用して取得します

## リクエストパラメータ

<ParamField body="groupKey" type="string" required>
  検索するSolanaのグループ分類タイプ（例：'collection'、'community'、'creator'など）。
</ParamField>

<ParamField body="groupValue" type="string" required>
  すべての一致するNFTを取得するSolanaのコレクションアドレスまたはグループ識別子。
</ParamField>

<ParamField body="page" type="number">
  Solanaコレクションの結果をページネーションするためのページ番号。
</ParamField>

<ParamField body="limit" type="number">
  このコレクションからのリクエストごとに返されるSolana NFTの最大数。
</ParamField>

<ParamField body="sortBy" type="object">
  レスポンスのソートオプション。
</ParamField>

<ParamField body="sortBy.sortBy" type="string">
  コレクション内で取得されたSolana NFTをソートする基準。

  * `created`
  * `recent_action`
  * `updated`
  * `none`
</ParamField>

<ParamField body="sortBy.sortDirection" type="string">
  コレクション内で取得されたSolana NFTをソートする方向。

  * `asc`
  * `desc`
</ParamField>

<ParamField body="before" type="string">
  資産を逆方向にページネーションするためのカーソル。
</ParamField>

<ParamField body="after" type="string">
  資産を順方向にページネーションするためのカーソル。
</ParamField>

<ParamField body="options" type="object">
  レスポンスの表示オプション。
</ParamField>

<ParamField body="options.showUnverifiedCollections" type="boolean" default="false">
  検証されていないコレクションのグループ情報を表示し、それらをスキップしません。
</ParamField>

<ParamField body="options.showCollectionMetadata" type="boolean" default="false">
  コレクションのメタデータを表示します。
</ParamField>

<ParamField body="options.showGrandTotal" type="boolean" default="false">
  クエリに一致した資産の総数を表示します。これによりリクエストが遅くなります。
</ParamField>


## OpenAPI

````yaml ja/openapi/das-api/getAssetsByGroup.yaml POST /
openapi: 3.1.0
info:
  title: Solana NFTコレクションエクスプローラーAPI
  version: 1.0.0
  description: >
    Solanaブロックチェーン上で完全なNFTコレクションとトークングループを探索するための高度なSolana Digital Asset
    Standard (DAS)
    APIです。この専門的なコレクション閲覧APIは、特定のコレクション、コミュニティ、またはグループ内のすべてのデジタル資産を強力なフィルタリングとソート機能で取得することができます。NFTマーケットプレイス、ポートフォリオアプリケーション、および従来および圧縮NFTの一貫したフォーマットで完全なコレクションを表示する必要がある分析プラットフォームに最適です。
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: メインネットRPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: デブネットRPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetsByGroup
      description: >
        特定のコレクションまたはグループに属するすべてのSolanaデジタル資産を取得します。

        この強力なコレクション閲覧APIは、同じグループ指定（コレクション、コミュニティ、またはその他のグループとして）を共有するNFTの完全なリストを、各資産の包括的なメタデータと所有権の詳細と共に返します。コレクションを表示するNFTマーケットプレイス、グループ化された資産を表示するポートフォリオアプリケーション、Solanaエコシステム全体でのコレクション単位のメトリクスを追跡する分析プラットフォームに必須です。
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPCプロトコルのバージョンです。
                  default: '2.0'
                id:
                  type: string
                  description: リクエストを識別するためのIDです。
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetsByGroup
                  description: 呼び出すDASメソッドの名前です。
                  default: getAssetsByGroup
                params:
                  type: object
                  default:
                    groupKey: collection
                    groupValue: J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w
                  properties:
                    groupKey:
                      type: string
                      description: >-
                        検索するSolanaグループ分類タイプ（例: 'collection', 'community',
                        'creator' など）。
                      example: collection
                    groupValue:
                      type: string
                      description: 一致するすべてのNFTを取得するためのSolanaコレクションアドレスまたはグループ識別子。
                      example: J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w
                    page:
                      type: integer
                      description: Solanaコレクション結果を介したページネーションのためのページ番号。
                      example: 1
                    limit:
                      type: integer
                      description: このコレクションからのリクエストごとに返すSolana NFTの最大数。
                      example: 100
                    sortBy:
                      type: object
                      description: レスポンスのソートオプション。
                      properties:
                        sortBy:
                          type: string
                          description: コレクション内で取得されたSolana NFTがソートされる基準。
                          enum:
                            - created
                            - recent_action
                            - updated
                            - none
                        sortDirection:
                          type: string
                          description: コレクション内で取得されたSolana NFTがソートされる向き。
                          enum:
                            - asc
                            - desc
                    before:
                      type: string
                      description: 資産を遡ってページネーションするためのカーソル。
                      example: string
                    after:
                      type: string
                      description: 資産を順送りでページネーションするためのカーソル。
                      example: string
                    options:
                      type: object
                      description: レスポンスの表示オプション。
                      properties:
                        showUnverifiedCollections:
                          type: boolean
                          description: 未確認のコレクションのグループ情報をスキップせずに表示します。
                          default: false
                        showCollectionMetadata:
                          type: boolean
                          description: コレクションのメタデータを表示します。
                          default: false
                        showGrandTotal:
                          type: boolean
                          description: クエリに一致する資産の合計数を表示します。これによりリクエストの処理が遅くなります。
                          default: false
                  required:
                    - groupKey
                    - groupValue
      responses:
        '200':
          description: 正常なレスポンス
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  result:
                    type: object
                    properties:
                      last_indexed_slot:
                        type: integer
                        description: このスロットまでの全てのデータがインデックスされていることが保証されています。
                        example: 365750752
                      total:
                        type: integer
                        description: このコレクションまたはグループで見つかったSolana NFTの総数。
                        example: 1
                      limit:
                        type: integer
                        description: リクエストされた資産の最大数。
                        example: 1
                      page:
                        type: integer
                        description: 結果の現在のページ。
                        example: 1
                      items:
                        type: array
                        description: このコレクションまたはグループに属するSolana NFTの配列。
                        items:
                          type: object
                          properties:
                            interface:
                              type: string
                              description: このコレクション内のNFTのSolanaトークン標準インターフェース。
                              enum:
                                - V1_NFT
                                - V1_PRINT
                                - LEGACY_NFT
                                - V2_NFT
                                - FungibleAsset
                                - FungibleToken
                                - Custom
                                - Identity
                                - Executable
                                - ProgrammableNFT
                                - MplCoreAsset
                                - MplBubblegumV2
                                - MplCoreCollection
                                - MplCoreGroup
                              example: ProgrammableNFT
                            is_agent:
                              type: boolean
                              description: >-
                                この資産がエージェントアイデンティティ（MPL Core
                                AgentIdentity外部プラグイン）を持っているかどうか。偽の場合は省略されます。
                            agent_token:
                              type: string
                              description: >-
                                エージェントレジストリプログラムからのBase58エンコードされたエージェントトークンミント。登録されていない場合に省略されます。
                            asset_signer:
                              type: string
                              description: >-
                                MPL
                                Core用のBase58エンコードされた資産署名者PDA。適用されない場合に省略されます。
                            plugins:
                              type: object
                              description: オプションのMIP-11 `groups` メンバーシップを含むMPL Coreプラグイン。
                              additionalProperties: true
                            id:
                              type: string
                              description: このコレクション内のSolana NFTのユニークなミントアドレス。
                              example: JEGruwYE13mhX2wi2MGrPmeLiVyZtbBptmVy9vG3pXRC
                            authorities:
                              type: array
                              description: このコレクション内のSolana NFTの更新権限者。
                            compression:
                              type: object
                              description: このSolana NFTの圧縮ステータス、状態圧縮技術を使用しているかどうかを示します。
                            grouping:
                              type: array
                              description: このSolana NFTのコレクションおよびグループ化の関連性。
                            royalty:
                              type: object
                              description: マーケットプレイスで販売される際のこのSolana NFTのロイヤルティ設定。
                            creators:
                              type: array
                              description: このコレクション内のSolana NFTに関連付けられた確認済みクリエイターアドレス。
                            ownership:
                              type: object
                              description: このコレクション内のSolana NFTの現在の所有権の詳細。
                            supply:
                              type: object
                              description: このSolana NFTがマスターエディションで印刷がある場合の供給情報。
                            mutable:
                              type: boolean
                              description: このSolana NFTのメタデータが権限者によって更新可能かどうか。
                              example: true
                            burnt:
                              type: boolean
                              description: このSolana NFTが焼却/破壊されているかどうか。
                              example: false
        '400':
          description: 不正なリクエスト。サーバーは無効な構文のためリクエストを理解できませんでした。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32602
                      message:
                        type: string
                        example: 無効なリクエストパラメータ。
                  id:
                    type: string
                    example: '1'
        '401':
          description: 認証が必要です。クライアントは要求されたレスポンスを得るために認証する必要があります。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32001
                      message:
                        type: string
                        example: 認証に失敗しました。APIキーが不足または無効です。
                  id:
                    type: string
                    example: '1'
        '403':
          description: 禁止されています。クライアントはコンテンツへのアクセス権がありません。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32003
                      message:
                        type: string
                        example: このリソースにアクセスする権限がありません。
                  id:
                    type: string
                    example: '1'
        '404':
          description: 見つかりません。サーバーは要求されたリソースが見つかりません。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32004
                      message:
                        type: string
                        example: 指定されたグループにNFTが見つかりません。
                  id:
                    type: string
                    example: '1'
        '429':
          description: リクエストが多すぎます。ユーザーは、指定された時間に多くのリクエストを送信しました。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32029
                      message:
                        type: string
                        example: レート制限を超えました。後でもう一度やり直してください。
                  id:
                    type: string
                    example: '1'
        '500':
          description: 内部サーバーエラー。サーバーは対処方法がわからない状況に陥りました。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32000
                      message:
                        type: string
                        example: サーバーで予期しないエラーが発生しました。
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        あなたのHelius APIキーです。
        [ダッシュボード](https://dashboard.helius.dev/api-keys)で無料で取得できます。

````