Utility Routes
These endpoints provide miscellaneous utility functions for working with Crystara data.
Process Collection URI Cache
Processes and caches collection image URIs.
GET/POST /api/process-collection-uri-cache
Parameters
Name | Required | Description |
---|---|---|
collectionName | Yes | Name of the collection to process |
creatorAddress | No | Creator address of the collection |
Example Request (GET)
fetch('https://api.crystara.trade/mainnet/api/process-collection-uri-cache?collectionName=CryptoWarriors&creatorAddress=0x123abc...', {
headers: {
'x-api-key': 'your-api-key-here'
}
})
.then(response => response.json())
.then(data => console.log(data));
Example Request (POST)
fetch('https://api.crystara.trade/mainnet/api/process-collection-uri-cache', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'your-api-key-here'
},
body: JSON.stringify({
collectionName: 'CryptoWarriors',
creatorAddress: '0x123abc...'
})
})
.then(response => response.json())
.then(data => console.log(data));
Response
Coming Soon
Additional Utility Endpoints
The following endpoints are planned for future releases:
- Metadata Validation
- Image Processing and Optimization
- Collection Statistics Generation
- Bulk Data Export
For updates on new endpoints, join our Discord community.
If you need specific utility functions that aren't currently available through these endpoints, please contact [email protected].
Note: These routes were last updated April 2, 2025.