Creating an API key
1
Sign in to the dashboard
Go to gladeapi.com/auth/login and sign in to your account. If you do not have an account yet, sign up for free — no credit card required.
2
Navigate to API Keys
From the dashboard sidebar, click API Keys. You will see a list of any existing keys along with their creation date and last-used timestamp.
3
Create a new key
Click New key, optionally give it a descriptive label (for example,
production-price-monitor), and confirm. Your new key is displayed one time only — copy it immediately before closing the dialog.4
Store the key securely
Paste the key into an environment variable, a
.env file that is excluded from version control, or your team’s secrets manager (for example, AWS Secrets Manager, HashiCorp Vault, or GitHub Actions secrets). Never hard-code it in source files.Passing your key
Glade API accepts your key in three header formats. Use whichever format is most convenient for your stack; all three are equivalent in terms of authentication and billing. 1.API-KEY header (recommended)
The simplest and most explicit option. Add an API-KEY header to every request:
Authorization header)
If your HTTP client or framework uses the standard Bearer token pattern, pass your key as the token value:
API-KEY and Authorization: Bearer:
Conflicting credentials — for example, sending both an
API-KEY header and an Authorization header with different key values in the same request — are rejected with a 400 Bad Request error. Always pass a single key in a single header per request.Authentication errors
When authentication fails, Glade API returns a JSON error envelope with asuccess: false flag and a structured errors array:
Calls that return any of these errors are never charged — you only consume units on successful responses.
Keeping keys secure
Set your key as an environment variable so you can reference it consistently across scripts:$GLADE_API_KEY in any script or command without exposing the raw value:

