NFT Collections
Get All Collections
API Reference
Wallets
- POSTCreate Wallet
- GETGet Wallet By Locator
- GETGet Wallet Balance
- POSTFund Wallet
- GETGet NFTs from Wallet
- POSTCreate Transaction
- GETGet Transaction
- GETGet Wallet Transactions
- POSTApprove Transaction
- POSTCreate Signature
- GETGet All Signatures
- GETGet Signature
- POSTApprove Signature
- POSTRegister Delegated Signer
- GETGet Delegated Signer
NFTs
NFT Collections
NFT Templates
Verifiable Credentials
Verifiable Credential Types
Verifiable Credential Templates
Headless Checkout
Action Status
Admin
Subscriptions
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
Copy
curl --request GET \
--url https://staging.crossmint.com/api/2022-06-09/collections/ \
--header 'X-API-KEY: <api-key>'
Copy
{
"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
Obtained in the Crossmint developer console
Response
200 - application/json
Copy
curl --request GET \
--url https://staging.crossmint.com/api/2022-06-09/collections/ \
--header 'X-API-KEY: <api-key>'
Copy
{
"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"
}
}
]
}