NFT Collections
Get All Collections
- Developer Console
- Developer Blog
- Introduction
- POSTCreate Wallet
- GETGet Wallets for User
- GETGet NFTs from Wallet
- POSTTransfer NFT (email)
- POSTTransfer NFT (userId)
- POSTSign Message
- POSTMint NFT
- PUTMint NFT with ID
- POSTMint SFT
- GETGet All NFTs
- GETMint Status
- PATCHEdit NFT
- DELBurn NFT
- POSTCreate Collection
- PUTCreate Collection with ID
- GETGet All Collections
- GETGet Collection Info
- PATCHUpdate Collection Info
- PUTSet Royalties
- GETGet Royalties Config
- DELRemove Royalties
- PUTSet Base URI
- GETGet Base URI
- PUTSet Transferability
- GETGet Transferability
- POSTCreate Template
- PUTCreate Template with ID
- GETGet Template
- GETGet All Templates
- PATCHEdit Template
- GETGet Action Status
- GETGet Usage
API Reference
Wallets
NFTs
NFT Collections
NFT Templates
Action Status
Admin
NFT Collections
Get All Collections
List all collections created under the current Crossmint project
API scope required: collections.read
GET
/
2022-06-09
/
collections
/
X-API-KEY
string
*
X-API-KEY
Required
string
Obtained in the Crossmint developer console
curl --request GET \
--url https://staging.crossmint.com/api/2022-06-09/collections/ \
--header 'X-API-KEY: <api-key>'
{
"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"
}
}
]
}
For Solana collections the
onChain.contractAddress
property will be named onChain.mintAddress
Authorizations
X-API-KEY
string
headerrequiredObtained in the Crossmint developer console
Response
200 - application/json
results
object[]
results.id
string
results.metadata
object
results.metadata.name
string
results.metadata.description
string
results.metadata.imageUrl
string
results.metadata.symbol
string
results.fungibility
string
results.onChain
object
results.onChain.chain
string
results.onChain.type
string
results.onChain.contractAddress
string
results.supplyLimit
integer
results.payments
object
results.payments.price
string
results.payments.recipientAddress
string
curl --request GET \
--url https://staging.crossmint.com/api/2022-06-09/collections/ \
--header 'X-API-KEY: <api-key>'
{
"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"
}
}
]
}