Enhanced Metadata Storage and Refresh API in Insight

We've revamped our metadata storage and refresh mechanisms to provide a more reliable, scalable, and efficient experience when working with NFT collections metadata through Insight!
What’s New?
More Reliable Metadata Storage
- Replaced the previous caching approach with a more permanent storage solution, ensuring faster retrieval and better consistency across requests.
- Metadata is now stored and accessed in a way that eliminates potential inconsistencies, making it the single source of truth for retrieval.
Explicit Force Refresh Endpoints
To give developers more control, we’ve introduced dedicated API endpoints for refreshing metadata on demand:
- Collection Metadata Refresh
GET v1/nfts/metadata/refresh/:contract_address
- Token Metadata Refresh
GET v1/nfts/metadata/refresh/:contract_address/:token_id
- Both endpoints fully support multichain operations via
chain
query parameters. - Refreshing token metadata also ensures collection-level metadata stays up to date.
Why This Matters
✅ Improved Data Consistency – Eliminates mismatches between different layers, ensuring metadata stays accurate.
✅ Simplified Architecture – No more juggling between temporary and permanent storage solutions.
✅ Better Scalability – Optimized for large-scale metadata operations, enabling more efficient handling of growing datasets.
✅ Multichain-Ready – Works seamlessly across chains, just like you’re used to.
What’s Next?
We’re actively working on further performance optimizations by consolidating multiple separate queries into more efficient, single-fetch operations. This will unlock even faster metadata retrieval without sacrificing accuracy. Stay tuned with more updates to thirdweb Insight! 🚀