fb_ API key, passed in the X-API-Key header. There are no per-provider credentials to manage — one key covers every provider and endpoint available through the gateway.
Sending your key
Include your key in theX-API-Key header of every request:
Managing keys
Create and revoke keys from API Keys in the dashboard. Keep these rules in mind as you manage them:- Keys are shown once. At creation, copy your key immediately — fetchbean only ever stores a hash, so it cannot be recovered or displayed again.
- Use one key per app or environment. Separate keys for production, staging, and development mean you can revoke one without disrupting the others.
- Revocation is instant. As soon as you revoke a key, all requests using it return
401. There is no grace period.
Securing your key
Store your key as an environment variable and read it at runtime:Authentication errors
A missing or invalid key returns HTTP401 with a typed error body:
billable: false field confirms that authentication failures are never charged to your account. If you see a 401, check that you copied the full key correctly and that the key hasn’t been revoked.

