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

# Get All Collections

> List all collections created under the current Crossmint project

**API scope required**: `collections.read`


<Note>For Solana collections the `onChain.contractAddress` property will be named `onChain.mintAddress`</Note>

<ResponseExample>
  ```json 200 theme={null}
  {
    "results": [
      {
        "id": "bb691876-edb3-404c-af3e-c019b8e2ed2c",
        "metadata": {
          "name": "Test Collection",
          "description": "Test",
          "imageUrl": "ipfs://QmVocoiYXZLAtheEHV3VF8w4pa68bkPutT8cQZdMrrpzxh",
          "symbol": "XMINT"
        },
        "fungibility": "non-fungible",
        "onChain": {
          "chain": "polygon",
          "type": "erc-721",
          "contractAddress": "0x9564bD85f3D5677D86244dDb06F06bbD22D9d0DB"
        },
        "supplyLimit": 95,
        "payments": {
          "price": "0.001",
          "recipientAddress": "0x6C3b3225759Cbda68F96378A9F0277B4374f9F06"
        }
      }
    ]
  }
  ```

  <Snippet file="mintapi-400-503-responses.mdx" />
</ResponseExample>


## OpenAPI

````yaml get /2022-06-09/collections/
openapi: 3.0.1
info:
  description: N/A
  version: 1.0.0
  title: NFT Minting
  contact:
    name: Crossmint NFT Minting APIs
    url: https://www.crossmint.com
    email: support@crossmint.com
servers:
  - url: https://staging.crossmint.com/api
    description: Staging environment (testnets)
  - url: https://www.crossmint.com/api
    description: Production environment (mainnets)
security:
  - apiKey: []
paths:
  /2022-06-09/collections/:
    get:
      tags:
        - NFT Collections
      summary: Get All Collections
      description: |
        List all collections created under the current Crossmint project

        **API scope required**: `collections.read`
      operationId: list-collections
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/GetCollectionResponse'
        '400':
          description: >-
            Invalid arguments, please make sure you're following the api
            specification.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400Response'
        '403':
          description: Forbidden error, please ensure the credentials are correct.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Response'
        '404':
          description: Not found error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/404Response'
        '503':
          description: >-
            Please try again in a few minutes. If the issue still persists,
            contact Crossmint support.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/503Response'
components:
  schemas:
    GetCollectionResponse:
      type: object
      properties:
        id:
          type: string
          example: bb691876-edb3-404c-af3e-c019b8e2ed2c
        metadata:
          type: object
          properties:
            name:
              type: string
              example: Sample NFT Collection
            description:
              type: string
              example: This is a sample NFT collection
            imageUrl:
              type: string
              example: https://www.crossmint.com/assets/crossmint/logo.png
            symbol:
              type: string
              example: TOKEN
        fungibility:
          type: string
          example: non-fungible
        onChain:
          type: object
          properties:
            chain:
              type: string
              example: polygon
            type:
              type: string
              example: erc-721
            contractAddress:
              type: string
              example: '0x9564bD85f3D5677D86244dDb06F06bbD22D9d0DB'
        supplyLimit:
          type: integer
          example: 95
        payments:
          type: object
          properties:
            price:
              type: string
              example: '0.001'
            recipientAddress:
              type: string
              example: '0x6C3b3225759Cbda68F96378A9F0277B4374f9F06'
        subscription:
          type: object
          properties:
            enabled:
              type: boolean
    400Response:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: Invalid arguments or empty parameter <missing parameter>.
    403Response:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: Malformed API key. / API key provided doesn't have required scopes.
    404Response:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: Not found
    503Response:
      type: object
      properties:
        error:
          type: boolean
          example: true
        message:
          type: string
          example: >-
            Please try again in a few minutes. If the issue still persists,
            contact Crossmint support.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Obtained in the Crossmint developer console

````