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

# Get NFT collections by name

> Returns NFT collections matching the specified name.



## OpenAPI

````yaml /api-reference/rollup-indexer/openapi.yaml get /indexer/nft/v1/collections/by_name/{name}
openapi: 3.1.0
info:
  title: Indexer API
  description: >-
    Query indexed data including transactions, blocks, NFTs, and token holders
    across Initia Stack chains.
  version: 1.0.0
servers:
  - url: https://rollytics-api-evm-1.anvil.asia-southeast.initia.xyz
    description: evm-1 (testnet)
  - url: https://rollytics-api-move-1.anvil.asia-southeast.initia.xyz
    description: move-1 (testnet)
  - url: https://rollytics-api-wasm-1.anvil.asia-southeast.initia.xyz
    description: wasm-1 (testnet)
security: []
paths:
  /indexer/nft/v1/collections/by_name/{name}:
    get:
      tags:
        - NFTs
      summary: Get NFT collections by name
      description: Returns NFT collections matching the specified name.
      operationId: getNftCollectionsByName
      parameters:
        - name: name
          in: path
          description: The collection name to search for.
          required: true
          schema:
            type: string
        - $ref: '#/components/parameters/paginationKey'
        - $ref: '#/components/parameters/paginationOffset'
        - $ref: '#/components/parameters/paginationLimit'
        - $ref: '#/components/parameters/paginationCountTotal'
        - $ref: '#/components/parameters/paginationReverse'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  collections:
                    type: array
                    items:
                      $ref: '#/components/schemas/NftCollection'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
components:
  parameters:
    paginationKey:
      name: pagination.key
      in: query
      description: Cursor key for pagination.
      required: false
      schema:
        type: string
    paginationOffset:
      name: pagination.offset
      in: query
      description: Number of records to skip.
      required: false
      schema:
        type: integer
    paginationLimit:
      name: pagination.limit
      in: query
      description: Maximum number of records to return. Defaults to 100.
      required: false
      schema:
        type: integer
        default: 100
    paginationCountTotal:
      name: pagination.count_total
      in: query
      description: Whether to return the total count. Defaults to `true`.
      required: false
      schema:
        type: boolean
        default: true
    paginationReverse:
      name: pagination.reverse
      in: query
      description: When `true`, returns results in descending order. Defaults to `true`.
      required: false
      schema:
        type: boolean
        default: true
  schemas:
    NftCollection:
      type: object
      properties:
        object_addr:
          type: string
          description: Collection contract address.
        collection:
          type: object
          description: Collection details.
          properties:
            creator:
              type: string
              description: Creator address.
            name:
              type: string
              description: Collection name.
            origin_name:
              type: string
              description: Original collection name.
            nfts:
              type: object
              description: NFT count metadata.
              properties:
                handle:
                  type: string
                  description: Storage handle.
                length:
                  type: integer
                  description: Total number of NFTs in this collection.
        height:
          type: integer
          description: Block height when the collection was created.
        timestamp:
          type: string
          description: Timestamp in RFC 3339 format.
    Pagination:
      type: object
      description: Pagination metadata for list responses.
      properties:
        previous_key:
          type: string
          nullable: true
          description: Cursor key for the previous page.
        next_key:
          type: string
          nullable: true
          description: Cursor key for the next page. Null when there are no more results.
        total:
          type: string
          description: Total number of records matching the query.

````