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

> Get the details for one of your NFT collections

Replace:

* `<QUICKNODE_URL>`: Set to your own quicknode RPC URL
* `<collectionId>`: the ID or slug of the collection you want information for

```curl theme={null}
curl -i '<QUICKNODE_URL>' -X POST -H 'content-type: application/json' --data-binary '{
    "jsonrpc": "2.0",
    "method": "cm_getCollection",
    "params": [
      "<collectionId>"
    ]
  }'
```

## Parameters

| Index | Name         | Type   | Description                                                                                                                                |
| :---- | :----------- | :----- | :----------------------------------------------------------------------------------------------------------------------------------------- |
| 0     | collectionId | string | the ID which serves as the "name" of the collection; use "default-solana" or "default-polygon" for your default collections on each chain. |

## Returns

```json theme={null}
{
    "id": "<collectionId>",
    "metadata": {
        "name": "my collection name",
        "description": "my collection description",
        "imageUrl": "https://www.crossmint.com/api/2022-06-09/media/defaultCollectionImage"
    },
    "onChain": {
        "chain": "solana",
        "type": "metaplex-certified-collection"
    }
}
```
