Skip to content
Scrappa Get API key
Amazon API 1 credit/request

Amazon Categories API Documentation

GET https://scrappa.co/api/amazon/categories

Amazon Categories API Documentation Read the category navigation of a category: its name, parent categories and child categories with node id and the category value to pass to the best sellers, new releases and category products endpoints.

Amazon Categories API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/amazon/categories
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "domain": "US",
        "current": "Electronics",
        "parents": [],
        "category": "electronics",
        "children": [
            {
                "name": "Accessories & Supplies",
                "node": "281407",
                "category": "electronics/281407"
            }
        ],
        "source_url": "https://www.amazon.com/gp/bestsellers/electronics"
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

2 optional filters available.

category string Optional

Category slug, optionally with a node id. Default: electronics.

Example value example
domain string Optional

Amazon marketplace. Supported here: US, DE, UK. Default: US.

Example value example.com

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "domain": "US",
        "current": "Electronics",
        "parents": [],
        "category": "electronics",
        "children": [
            {
                "name": "Accessories & Supplies",
                "node": "281407",
                "category": "electronics/281407"
            }
        ],
        "source_url": "https://www.amazon.com/gp/bestsellers/electronics"
    },
    "meta": {
        "cached": false,
        "domain": "US",
        "currency": "USD",
        "language": "en_US",
        "timestamp": "2026-10-31T22:00:00.000000Z",
        "response_time_ms": 4200
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

The category does not exist. This response is not billable.

{
    "error": "Not found on Amazon.",
    "success": false
}
503

Service Unavailable

Amazon could not be reached after several tries. This response is not billable. Retry shortly.

{
    "code": "transport_unavailable",
    "error": "Amazon could not be reached right now. Try again shortly. No credits were used.",
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.