Admin users who have access to our API product can easily generate their own API key or an API key for another user on their account within the Similarweb platform.

Note: Only account administrators can generate new API keys.

To generate an API key, follow these steps:

  1. From the left menu, select Settings > Account.

  2. Select API > Standard API.

  3. Click Generate a New API Key.

  4. Enter the API key name.

  5. Select the primary user of the API key you are creating - have you generated the API key for yourself or for another user on the account? If this key is for another user, enter their email address.

  6. Click Create.

    Your key will be displayed in the Generated Keys table.

  7. Finally, you'll need to confirm that the key is activated and can be used to pull data.

    • In the Generated Keys table, click the "+" to the left of the email address of the user you generated the API key for. You'll see a drop-down with the specific API key(s) generated for that user, including the Title, Key, Created Date, Last Used, Monthly Usage, and Activation.

    • Under the Activation column, make sure the toggle is on for the relevant API key.

    Note: If an API key has been created but not activated, then you will receive an "Invalid API key" error when trying to pull data with it.


How do I delete or transfer an API key?

When an admin user deletes or deactivates a user on their account, if there are any active API keys associated with that user, the admin will be prompted with 2 options:

  1. Transfer the API key(s) to a different active user on the same account.

  2. Disable the API key(s) so that all users on the account will no longer be able to use it.

Was this article helpful?
4 out of 61 found this helpful