Origin header with cross-site requests. Bludia accepts a request with an Origin header only if that origin is in the API key’s allowed origins.
Origin header (servers, mobile apps, curl) aren’t affected.
Configure allowed origins
Edit the key in API → API Keys and add each origin:
Include the exact scheme, host, and port. Use
* only for development or truly public data.
What Bludia returns
Troubleshooting
403 CORS blocked from the browser, but curl works
403 CORS blocked from the browser, but curl works
curl doesn’t send Origin. Add your site’s exact origin to the key’s allowed origins.Works on localhost, fails in production
Works on localhost, fails in production
Add the production origin (for example
https://app.example.com) to the key, or use a separate production key.Calls from my Next.js server fail with CORS
Calls from my Next.js server fail with CORS
Server-side
fetch doesn’t send Origin unless you add it. Check that you aren’t forwarding the browser’s headers.