Seller Assistant API
HomeSeller AssistantHelp CenterAccount
HomeSeller AssistantHelp CenterAccount
Get API Keys
  1. Home
  • Introduction
  • Authentication
  • Throttling
  • Error Handling
  • Marketplace IDs and Categories
  • User Info
    • Get current user info
      GET
  • Products
    • Get product info
      GET
    • Get product statistics
      GET
    • Calculate product profit
      POST
  • UPC-EAN-ASIN converters
    • Get product ASINs based on identifiers (UPC or EAN)
      GET
    • Get product identifiers (UPC, EAN, etc.) based on ASIN
      GET
  • Restrictions
    • Check ASIN restrictions
      GET
  • Sales Estimation
    • Estimate sales by ASIN
      GET
    • Estimate sales by BSR and category
      POST
  • Keepa
    • Get Keepa product
      GET
  1. Home

Authentication

To access the Seller Assistant API, you need to authenticate your requests using an API key. This section provides detailed instructions on how to generate, use, and manage your API key to ensure secure and efficient interaction with the API.

Generating an API Key#

To authenticate with the Seller Assistant Public API, you first need to generate an API key. Follow these steps to obtain your API key:
1
Log in to Your Account
Sign in to your Seller Assistant account
2
Navigate to API Keys Page
Go to the account settings and find the API Keys page.
3
Generate API Key
Click on the “Generate API Key” button. Your new API key will be displayed. Make sure to copy and store it in a secure location, as this key will be used to authenticate your API requests.
4
Using the API Key
Once you have your API key, you can use it to authenticate your API requests. The API key can be included in your requests in two ways: as a query parameter or as a header.

Header Parameter Method#

You can include the API key as a header X-Api-Key.
Here’s an example:

Security Best Practices#

To ensure the security of your API key and protect your account, follow these best practices:
Keep Your API Key Confidential: Do not share your API key with anyone. Treat it like a password.
Rotate Your API Key Regularly: Periodically regenerate your API key to minimize the risk of unauthorized access.
Use Secure Connections: Always use HTTPS to encrypt your API requests and responses.
Limit Exposure: Avoid exposing your API key in public repositories, client-side code, or unsecured environments.

Managing Your API Key#

You can manage your API keys from the API Keys section in your Seller Assistant App account. This includes generating new keys, regenerating existing keys, and revoking keys that are no longer needed.

Regenerating an API Key#

If you suspect that your API key has been compromised or if you simply want to rotate your key, you can regenerate it:
1
Navigate to API Keys Section
Go to the API Keys page in your account settings.
2
Generate API Key
Click on the “Generate API Key” button. Your new API key will be displayed. Make sure to copy and store it in a secure location, as this key will be used to authenticate your API requests.
3
Revoke old API key
Select the key you wish to revoke and click on the “Delete” button. The key will be invalidated immediately.

Revoking an API Key#

If an API key is no longer needed or you want to disable it, you can revoke it:
1
Navigate to API Keys Section
These are instructions or content that only pertain to the first step.
2
Revoke API Key
Select the key you wish to revoke and click on the “Delete” button. The key will be invalidated immediately.

Error Handling#

If your API request is not authenticated correctly, you will receive a 403 Access Denied. Ensure that your API key is included correctly and that it is valid. Below is an example of an unauthorized response:
{
  "code": "access_denied",
  "message": "API Token is invalid",
  "trace_id": "4a7d3782-2ab2-435f-8475-62b7f4a9394c"
}
Modified at 2024-09-12 18:15:57
Previous
Introduction
Next
Throttling
Built with