Authorization header. The API validates the key on every request and returns an error immediately if it is missing, malformed, or revoked.
Generate an API key
API keys are created and managed from your developer dashboard.- Log in at ngnmarket.com
- Go to Dashboard → Developer
- Click Generate API key, give it a name, and confirm
- Copy the key immediately.
Attach the key to requests
Pass your key in theAuthorization header using the Bearer scheme on every request:
Managing your keys
From the developer dashboard you can:- View all keys — see each key’s name, creation date, and when it was last used
- Create keys — up to 5 active keys per account. Give each key a name so you can identify which app or environment it belongs to
- Revoke a key — instantly invalidates the key. Any request using a revoked key immediately returns
INVALID_API_KEY. Revoked keys are kept in the dashboard for your audit trail
All keys on your account share a single monthly quota pool. Quota usage is tracked per account, not per key. See Rate limits for details.
Authentication errors
| Error code | Status | Cause |
|---|---|---|
MISSING_API_KEY | 401 | Authorization header is missing or not in Bearer <key> format |
INVALID_API_KEY | 401 | Key not found, already revoked, or does not start with ngm_ |