API key access is available on Professional and Premium plans. If you’re on a different plan, you’ll be prompted to upgrade when attempting to create an API key.
Creating an API Key
- Log in to your Keyword Insights dashboard.
- Navigate to API Keys from the left sidebar menu.
- Click the Create API key button.
- Enter a descriptive name for the key (e.g. “Python scripts”, “N8N integration”).
- Click Create.
kwi_sk_aBcDe...) along with the creation date and last used date.
Using the API Key
Pass your API key in theX-API-Key header with every request:
Storing the Key Securely
We recommend loading your API key from an environment variable:Example: Create a Clustering Order
order_id that you’ll use to retrieve results once the order is processed.
Managing API Keys
You can manage your API keys from the dashboard at any time:- View keys — see all active keys with their prefix, creation date, and last used date.
- Delete keys — revoke a key immediately. Any application using that key will lose access.
Deleting an API key is immediate and permanent. Make sure no active integrations depend on the key before deleting it.
Migrating from Bearer tokens
The public API no longer accepts Bearer tokens. A request with only anAuthorization: Bearer ... header gets a 401 response. Replace the Authorization header with X-API-Key: