Amazon Categories API
The Amazon Categories API provides access to Amazon's complete category hierarchy (browse nodes) across 23 Amazon domains. It supports three kinds of category trees:
- Standard — browse-node categories used by product search (
standard). - Ranking — categories from Amazon's ranking pages (
bestsellers,new_releases,most_wished_for,most_gifted). - Deals — categories from Amazon's Today's Deals page (
deals).
The API supports three query modes:
- Root listing — When no lookup parameters are provided, the API returns all root-level categories for the selected domain and category type.
- Category lookup — Use
category_idto look up a specific category, see its parent context, and drill into its direct children. - Name search — Use
qto find categories by name (case-insensitive, up to 100 results).
Not every domain supports every category type. See the full
availability matrix
for the supported amazon_domain and category_type combinations.
API Parameters
Category Type
-
- Name
-
category_type - Required
- Optional
- Description
-
The type of category tree to browse:
standard- default. Browse node categories used for product search.bestsellers- Categories from Amazon's Best Sellers ranking page.new_releases- Categories from Amazon's New Releases ranking page.most_wished_for- Categories from Amazon's Most Wished For ranking page.most_gifted- Categories from Amazon's Most Gifted ranking page.deals- Categories from Amazon's Deals page.
bestsellers,new_releases,most_wished_for,most_gifted) can also be used as thecategory_idparameter of the Amazon Bestsellers API.
Category Lookup
-
- Name
-
category_id - Required
- Optional
- Description
-
The Amazon browse node ID of a specific category. Returns the category, its parent context, and direct children. Cannot be used together with
q.
-
- Name
-
q - Required
- Optional
- Description
-
A text query to search categories by name. Cannot be used together with
category_id.
Localization
-
- Name
-
amazon_domain - Required
- Optional
- Description
-
The Amazon domain to browse categories for. Check the full list of supported Amazon domains.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
amazon_categories.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
API Examples
Root Categories
https://www.searchapi.io/api/v1/search?engine=amazon_categories
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "amazon_categories"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_dbyrKD1vgMQrIn6geJNER4zQ",
"status": "Success",
"created_at": "2026-04-07T02:00:25Z",
"request_time_taken": 0.0,
"parsing_time_taken": 0.05,
"total_time_taken": 0.05,
"json_url": "https://www.searchapi.io/api/v1/searches/search_dbyrKD1vgMQrIn6geJNER4zQ"
},
"search_parameters": {
"engine": "amazon_categories",
"amazon_domain": "amazon.com",
"category_type": "standard"
},
"search_information": {
"total_categories": 33
},
"categories": [
{
"id": "2619526011",
"name": "Appliances",
"link": "https://www.amazon.com/s?rh=n%3A2619526011&dc",
"has_children": true,
"is_root": true,
"path": "Appliances",
"domain": "amazon.com"
},
{
"id": "2350150011",
"name": "Apps & Games",
"link": "https://www.amazon.com/s?rh=n%3A2350150011&dc",
"has_children": true,
"is_root": true,
"path": "Apps & Games",
"domain": "amazon.com"
},
{
"id": "2617942011",
"name": "Arts, Crafts & Sewing",
"link": "https://www.amazon.com/s?rh=n%3A2617942011&dc",
"has_children": true,
"is_root": true,
"path": "Arts, Crafts & Sewing",
"domain": "amazon.com"
},
"..."
]
}
Category by ID
https://www.searchapi.io/api/v1/search?category_id=493964&engine=amazon_categories
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "amazon_categories",
"category_id": "493964"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_Y80BKjxagxvjcx735nMQeWO6",
"status": "Success",
"created_at": "2026-04-07T02:00:59Z",
"request_time_taken": 0.0,
"parsing_time_taken": 0.05,
"total_time_taken": 0.05,
"json_url": "https://www.searchapi.io/api/v1/searches/search_Y80BKjxagxvjcx735nMQeWO6"
},
"search_parameters": {
"engine": "amazon_categories",
"amazon_domain": "amazon.com",
"category_type": "standard",
"category_id": "493964"
},
"search_information": {
"total_categories": 21
},
"current_category": {
"id": "493964",
"name": "Electronics",
"link": "https://www.amazon.com/s?rh=n%3A493964&dc",
"has_children": true,
"is_root": true,
"path": "Electronics",
"domain": "amazon.com"
},
"categories": [
{
"id": "281407",
"name": "Accessories & Supplies",
"link": "https://www.amazon.com/s?rh=n%3A281407&dc",
"has_children": false,
"is_root": false,
"path": "Electronics > Accessories & Supplies",
"domain": "amazon.com",
"parent_id": "493964",
"parent_name": "Electronics"
},
{
"id": "502394",
"name": "Camera & Photo",
"link": "https://www.amazon.com/s?rh=n%3A502394&dc",
"has_children": true,
"is_root": false,
"path": "Electronics > Camera & Photo",
"domain": "amazon.com",
"parent_id": "493964",
"parent_name": "Electronics"
},
{
"id": "3248684011",
"name": "Car & Vehicle Electronics",
"link": "https://www.amazon.com/s?rh=n%3A3248684011&dc",
"has_children": false,
"is_root": false,
"path": "Electronics > Car & Vehicle Electronics",
"domain": "amazon.com",
"parent_id": "493964",
"parent_name": "Electronics"
},
"..."
]
}
Search Categories
https://www.searchapi.io/api/v1/search?engine=amazon_categories&q=Electronics
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "amazon_categories",
"q": "Electronics"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_xRvzEGkNolVqF6npj4Q9WJbO",
"status": "Success",
"created_at": "2026-04-07T02:01:03Z",
"request_time_taken": 0.0,
"parsing_time_taken": 0.05,
"total_time_taken": 0.05,
"json_url": "https://www.searchapi.io/api/v1/searches/search_xRvzEGkNolVqF6npj4Q9WJbO"
},
"search_parameters": {
"engine": "amazon_categories",
"amazon_domain": "amazon.com",
"category_type": "standard",
"q": "Electronics"
},
"search_information": {
"total_categories": 10
},
"categories": [
{
"id": "3248684011",
"name": "Car & Vehicle Electronics",
"link": "https://www.amazon.com/s?rh=n%3A3248684011&dc",
"has_children": false,
"is_root": false,
"path": "Electronics > Car & Vehicle Electronics",
"domain": "amazon.com",
"parent_id": "493964",
"parent_name": "Electronics"
},
{
"id": "2230642011",
"name": "Car Electronics & Accessories",
"link": "https://www.amazon.com/s?rh=n%3A2230642011&dc",
"has_children": false,
"is_root": false,
"path": "Automotive > Car Electronics & Accessories",
"domain": "amazon.com",
"parent_id": "15690151",
"parent_name": "Automotive"
},
{
"id": "227544",
"name": "Electrical & Electronics",
"link": "https://www.amazon.com/s?rh=n%3A227544&dc",
"has_children": true,
"is_root": false,
"path": "Patio, Lawn & Garden > Farm & Ranch > Agriculture & Grounds Management > Engineering > Electrical & Electronics",
"domain": "amazon.com",
"parent_id": "173515",
"parent_name": "Engineering"
},
"..."
]
}