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

Amazon Best Sellers API Documentation

GET https://scrappa.co/api/amazon/best-sellers/{category}

Amazon Best Sellers API Documentation Read the ranked best sellers list of a category: rank, ASIN, title, price, rating, rating count, image and product link. Fifty entries per page. Pages 1 and 2 give ranks 1 to 100. An unknown category answers 404.

Amazon Best Sellers API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/amazon/best-sellers/{category}
Auth header
x-api-key
Cost
1 credit/request
category = example
Response preview
200 OK
{
    "data": {
        "kind": "best-sellers",
        "page": 1,
        "items": [
            {
                "url": "https://www.amazon.com/dp/B08JHCVHTY",
                "asin": "B08JHCVHTY",
                "rank": 1,
                "image": "https://images-na.ssl-images-amazon.com/images/I/31YHGbJsldL._AC_UL300_SR300,200_.png",
                "price": {
                    "amount": 11.99,
                    "display": "$11.99",
                    "currency": "USD"
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

2 optional filters available.

category string Required

Category slug, optionally with a node id. Examples: electronics or electronics/281407. Take values from the categories endpoint.

Example value example
domain string Optional

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

Example value example.com
page integer Optional

List page, 1 or 2. Default: 1.

Example value 1

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": {
        "kind": "best-sellers",
        "page": 1,
        "items": [
            {
                "url": "https://www.amazon.com/dp/B08JHCVHTY",
                "asin": "B08JHCVHTY",
                "rank": 1,
                "image": "https://images-na.ssl-images-amazon.com/images/I/31YHGbJsldL._AC_UL300_SR300,200_.png",
                "price": {
                    "amount": 11.99,
                    "display": "$11.99",
                    "currency": "USD"
                },
                "title": "blink plus plan with monthly auto-renewal",
                "rating": 4.4,
                "ratings_count": 281628
            }
        ],
        "title": "Amazon Best Sellers: Best Electronics",
        "domain": "US",
        "category": "electronics",
        "source_url": "https://www.amazon.com/gp/bestsellers/electronics",
        "items_count": 50,
        "has_next_page": true
    },
    "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.

422

Validation Error

A query or path parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "page": [
            "The page must not be greater than 2."
        ]
    },
    "message": "The page must not be greater than 2."
}
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.