Keepa’s Product Finder feature is a powerful tool for efficiently searching and analyzing Amazon products. Below is a detailed explanation of how to use this feature and its main characteristics.
Basic Usage of Keepa Product Finder
-
Set various filters to narrow down your search criteria, such as:
- Sales rank
- Amazon stock status
- Buy Box price
- Category
- Brand
-
Click the “Find Products” button to display a list of products that match your set criteria.
-
Analyze the displayed products and select those suitable for your business.
Example of Using Product Finder with JavaScript API
Here’s a specific code example of how to use Keepa’s Product Finder API with JavaScript. This allows you to efficiently search for Amazon products that meet specific criteria.
Required Preparation
- Keepa API Key: You need an API key to use Keepa’s API. You can obtain it from the official Keepa website.
- Request Library: Use an HTTP request library such as
request-promise.
Sample Code (JavaScript)
Below is a sample JavaScript code that uses Keepa’s Product Finder API to search for products that match specific criteria.
const rp = require('request-promise');
const key = 'Enter your API key here';
const queryJSON = {
"perPage": 100, // Number of results per page
"page": 0, // Page number
"productType": 0, // Product type
"rootCategory": "2127209051", // Root category ID
"title": "ノートパソコン -Apple", // Title keyword
"avg90_NEW_gte": 30000, // Average new price in the last 90 days is 30,000 yen or more
"current_SALES_gte": 1000, // Current ranking is 1,000 or better
"current_SALES_lte": 20000, // Current ranking is 20,000 or worse
"current_LISTPRICE_gte": 30000, // List price is 30,000 yen or more
"isPrimeExclusive": false // Include non-Prime exclusive products
};
const options = {
url: 'https://api.keepa.com/query?domain=5&key=' + key,
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Connection': 'keep-alive'
},
body: {
'selection': JSON.stringify(queryJSON)
},
json: true
};
rp(options)
.then(response => {
const asinList = response.asinList; // Array of ASINs matching the criteria
console.log('Total number of ASINs matching this criteria: ' + response.totalResults);
console.log('ASIN list: ', asinList);
})
.catch(err => {
console.error('An error occurred: ', err);
});
Code Explanation
- API Key Setup: Enter your API key in
const key = 'Enter your API key here';. - Search Criteria Setup: Specify search criteria in the
queryJSONobject. Here, we set conditions for laptops excluding Apple products, with price and ranking criteria. - Request Configuration: Configure the request in the
optionsobject, specifyingurl,method,headers, andbody. - Sending the Request: Send the request with
rp(options)and process the response.response.asinListcontains a list of ASINs that match the criteria.
Using this sample code, you can easily search for Amazon products that meet specific criteria using Keepa’s Product Finder API. By adjusting each condition, more detailed searches are possible.
Using Product Finder with Python API
Here’s a specific code example of how to use Keepa’s Product Finder API with Python. This method allows you to efficiently search for Amazon products that meet specific criteria.
Required Preparation
- Keepa API Key: You need an API key to use Keepa’s API. You can obtain it from the official Keepa website.
- keepa Library: A library for easily using the Keepa API in Python.
Installation
First, install the keepa library:
pip install keepa
Sample Code
Below is a sample Python code that uses Keepa’s Product Finder API to search for products that match specific criteria.
import keepa
import asyncio
async def product_finder_example():
# Set Keepa API key
api_key = 'Enter your API key here'
# Initialize Keepa API client
api = await keepa.AsyncKeepa.create(api_key)
# Set search criteria
product_params = {
"perPage": 100,
"page": 0,
"productType": 0,
"rootCategory": "2127209051", # Laptop category
"title": "ノートパソコン -Apple",
"avg90_NEW_gte": 30000, # Average new price in the last 90 days is 30,000 yen or more
"current_SALES_gte": 1000, # Current ranking is 1,000 or better
"current_SALES_lte": 20000, # Current ranking is 20,000 or worse
"current_LISTPRICE_gte": 30000, # List price is 30,000 yen or more
"isPrimeExclusive": False # Include non-Prime exclusive products
}
try:
# Call Product Finder API
results = await api.product_finder(product_params)
# Display results
print(f"Total search results: {results['totalResults']}")
print("ASIN list:")
for asin in results['asinList']:
print(asin)
except Exception as e:
print(f"An error occurred: {e}")
finally:
# Close API client
await api.close()
# Run async function
asyncio.run(product_finder_example())
Code Explanation
-
API Key Setup: Set your Keepa API key in the
api_keyvariable. -
Initialize Keepa API Client: Use
keepa.AsyncKeepa.create()to create an asynchronous API client. -
Set Search Criteria: Specify search criteria in the
product_paramsdictionary. Here, we set conditions for laptops (excluding Apple products) with price and ranking criteria. -
Call Product Finder API: Use the
api.product_finder()method to search for products with the configured criteria. -
Process Results: Display the total number of search results and the list of matching ASINs.
-
Error Handling: Use try-except statements to catch potential errors during the API request.
-
Resource Release: Call
api.close()in thefinallyblock to properly close the API client.
Using this sample code, you can easily search for Amazon products that meet specific criteria using Keepa’s Product Finder API. By adjusting the criteria, more detailed searches are possible. Additionally, since it uses asynchronous processing, it can efficiently handle large amounts of data.
Tips for Effective Use
-
Learn the Basics: Understanding Keepa’s basic features allows you to make the most of the tool.
-
Check Product History: Review fluctuations in price, Buy Box, and sales rank to understand product trends.
-
Hide Unnecessary Data: Hide information that isn’t needed for analysis to work more efficiently.
-
Skip Already Checked Products: Products whose titles have turned blue have already been reviewed, so skip them to avoid duplication.
Advanced Search Techniques
-
Filter by Specific Brands: For example, you can narrow down to Adidas brand products.
-
Set Sales Rank: For example, in the clothing category, setting the rank to 25,000 or below allows you to narrow down to popular products.
-
Amazon Stock Status: By narrowing down to products that Amazon doesn’t have in stock, you may find products with less competition.
-
Consider Seasonality: For example, when searching for patio, lounge, and garden category products in summer, setting the average rank for the past 30 days to 100,000 or below can effectively find seasonal products.
-
Set Weight Limits: For example, setting a limit of 5 pounds (about 2,200 grams) or less can narrow down to products that are easier to handle.
-
Filter by Number of Reviews: Especially for seasonal products, filtering by number of reviews in addition to sales rank makes it easier to find popular products.
-
Buy Box Status: By searching for products with a Suppressed Buy Box, you can find products whose prices may be rising.
By mastering Keepa’s Product Finder, you can efficiently perform product sourcing and market analysis on Amazon. By constantly keeping track of market trends and setting appropriate filters, you won’t miss business opportunities and can find competitive products.