Actions6
Overview
This node performs a search on Amazon using the ScrapingDog API. It allows users to query Amazon product listings by keyword and retrieve search results programmatically. This is useful for automating product research, price comparison, market analysis, or monitoring product availability on Amazon.
Typical use cases include:
- E-commerce sellers tracking competitor products.
- Market researchers gathering data on product trends.
- Developers integrating Amazon search results into custom applications or workflows.
For example, you can input a keyword like "wireless headphones" and get back a list of matching products from a specified Amazon domain and country, optionally paginated.
Properties
| Name | Meaning |
|---|---|
| Keyword | The search term or keyword to look for on Amazon (required). |
| Page | The page number of search results to retrieve (options: 1 to 10). |
| Amazon Domain | The Amazon website domain to search in (e.g., com, co.uk, de, etc.). |
| Country | The country context for the search (e.g., United States, Germany, India, etc.). |
| Postal Code | Optional postal code to localize the search results geographically. |
Output
The output is a JSON object representing the search results returned by the ScrapingDog API for the Amazon search endpoint. The structure depends on the API response but generally includes product details such as titles, prices, URLs, images, ratings, and other metadata related to the search query.
If an error occurs during the request, the output JSON will contain fields indicating the error status, message, HTTP status code, and description.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for the ScrapingDog service.
- The node makes HTTP GET requests to the ScrapingDog API endpoint
https://api.scrapingdog.com/amazon/search. - No additional environment variables are needed beyond the API key credential configured in n8n.
Troubleshooting
Common issues:
- Invalid or missing API key will cause authentication errors.
- Network connectivity problems may result in request failures.
- Exceeding API rate limits could lead to HTTP 429 errors.
- Providing invalid parameter values (e.g., unsupported domain or country) might cause unexpected responses or errors.
Error messages:
"HTTP error! status: XXX <statusText>": Indicates the HTTP request failed with the given status code. Check API key validity, network connection, and parameter correctness."Unknown error occurred": A generic catch-all error; check logs and ensure the API endpoint is reachable.
To resolve errors, verify your API key, confirm parameters are valid, and ensure the ScrapingDog service is operational.