Most read-only endpoints work without authentication (guest access). For higher rate limits and builder tools, you need a JWT token.
Include it in the Authorization header:
curl -H "Authorization: Bearer YOUR_TOKEN" "https://api.matcraft.ai/api/v1/materials"Or with the Python SDK:
from matcraft import MatCraftClient
client = MatCraftClient(token="YOUR_TOKEN")Tokens expire after 30 days by default. Use the refresh endpoint to get a new token before expiry.