Keepa icon

Keepa

Interact with Keepa API for Amazon product data

Category → Get Category Tree

AI-generated

Overview

This node interacts with the Keepa API to retrieve Amazon category data, specifically fetching a category tree structure. It allows users to obtain hierarchical category information starting from a specified parent category ID or from the root categories if no parent is specified. This is useful for applications that need to display or process Amazon category hierarchies, such as product research tools, market analysis dashboards, or inventory categorization systems.

For example, a user might want to get all subcategories under the "Electronics" category on the US Amazon domain to analyze product trends or to build a navigation menu in an e-commerce analytics app.

Properties

Name Meaning
Domain Amazon domain to search in. Options include: US, Canada, UK, Germany, France, Italy, Spain, India, Mexico, Brazil, Australia, Japan. Default is US.
Parent Category ID The ID of the parent category to fetch subcategories for. Use 0 to get root categories.
Include Subcategories Boolean flag indicating whether to include subcategories in the response (true/false).

Output

The node outputs JSON data representing the category tree retrieved from the Keepa API. The structure typically includes category IDs, names, and nested subcategories if requested. This hierarchical JSON can be used directly to visualize category trees or to further process category relationships.

If binary data were involved (not in this case), it would be summarized accordingly, but here the output is purely JSON.

Dependencies

  • Requires an active connection to the Keepa API.
  • Requires an API key credential for authentication with the Keepa service.
  • The node uses the base URL https://api.keepa.com for API requests.

Troubleshooting

  • Common issues:

    • Invalid or missing API key will cause authentication errors.
    • Providing an invalid domain value or parent category ID may result in empty or error responses.
    • Network connectivity issues can prevent successful API calls.
  • Error messages:

    • Authentication failures usually indicate problems with the API key; verify the key and permissions.
    • "Category not found" or similar errors suggest the parent category ID does not exist or is incorrect.
    • Timeout or network errors require checking internet connectivity or API availability.

Links and References

Discussion