Your Alchemy API key is blocked (returning 403 Forbidden). This prevents all NFT data from loading in the marketplace.
Current blocked key: skI70Usmhsnf0GDuGdYqj
- Visit https://dashboard.alchemy.com
- Sign in (or create free account)
- Click "Create new app"
- Configure:
- Chain: Base
- Network: Base Mainnet
- Name: Farcaster NFT Marketplace
- Click "Create app"
- Copy the API key from your app dashboard
Open .env.local and update line 5:
# Replace this line:
NEXT_PUBLIC_ALCHEMY_API_KEY=skI70Usmhsnf0GDuGdYqj
# With your new key:
NEXT_PUBLIC_ALCHEMY_API_KEY=your_new_api_key_hereAlso update line 9 (RPC URL):
NEXT_PUBLIC_BASE_RPC_URL=https://base-mainnet.g.alchemy.com/v2/your_new_api_key_here# Kill existing server (Ctrl+C in terminal)
# Then restart:
npm run dev- Open http://localhost:3000
- Check browser console - no more 403 errors
- NFT cards should load in marketplace
- Navigate to Collections page (
/collections) - Click any collection - NFTs should display
All Alchemy NFT API endpoints:
getNFTsForContract- Fetch NFTs by collectiongetNFTMetadata- Individual NFT datagetContractMetadata- Collection info
Error pattern: All requests to https://base-mainnet.g.alchemy.com/nft/v3/skI70Usmhsnf0GDuGdYqj/* returned 403 Forbidden
Possible reasons:
- Free tier rate limits exceeded
- API key deactivated/revoked
- Account suspended
- Key exposed publicly (in git repo)
- Never commit API keys - always use
.env.local - Add to .gitignore - ensure
.env.localis listed - Use separate keys for dev/prod
- Monitor usage in Alchemy dashboard
- Set up alerts for rate limit warnings
If you can't get Alchemy key immediately:
# Fallback to public RPC (slower, rate limited)
NEXT_PUBLIC_BASE_RPC_URL=https://mainnet.base.orgNote: Public RPC doesn't support NFT API endpoints. You'll need Alchemy for full marketplace functionality.
After fixing locally, update Vercel environment variables:
- Visit https://vercel.com/devsminiapp/farcaster-nft-marketplace/settings/environment-variables
- Update
NEXT_PUBLIC_ALCHEMY_API_KEYwith new key - Redeploy:
git push origin main
✅ Collection page navigation - WORKING ✅ Collections grid - WORKING ✅ Dynamic routing - WORKING ✅ Event-driven navigation - WORKING ❌ NFT data loading - BLOCKED (needs new API key) ❌ Collection catalogs - EMPTY (needs new API key)
Everything is built and ready - just needs a valid API key to load NFT data!
- Alchemy Docs: https://docs.alchemy.com/reference/nft-api-quickstart
- Rate Limits: https://docs.alchemy.com/reference/throughput
- Dashboard: https://dashboard.alchemy.com
TL;DR: Get new API key from dashboard.alchemy.com → Update .env.local line 5 → Restart npm run dev → NFTs will load! 🎉