# StableNinja Amazon Best Sellers by Category

> StableNinja Amazon Best Sellers by Category is a paid API for AI agents from stableninja.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Fetches Amazon best seller product listings for a specified category and country marketplace.

## Facts

- Endpoint: GET https://stableninja.dev/api/amazon/best-sellers
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableninja-amazon-best-sellers-by-category-1b74a65c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YjVcGCUQZJwtHeXiRLeoA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stableninja-amazon-best-sellers-by-category-1b74a65c
```

Example prompt: What are the top selling products on Amazon in the Electronics category in the US right now? Show me page 1 of results.

## When to prefer this

Use this endpoint when you need ranked best-seller product data from Amazon for a specific category and country marketplace. Prefer this over keyword search when you want trending or top-selling items rather than keyword-matched results, or when doing market research on what's popular in a given product category.

## Known failure modes

- Missing required 'category' parameter returns a 400 or validation error
- Invalid or unsupported country code returns an error
- Category string that doesn't match an Amazon category may return empty results or an error
- Page number out of range may return empty results
- Payment not processed (x402) results in 402 Payment Required response
- Rate limiting or upstream Amazon scraping issues may cause 5xx errors

## How this service works

Fetch Amazon best sellers by category.

## Output

A list of Amazon best seller products for the specified category and country, including product rankings, titles, prices, ratings, and other product metadata available from Amazon's best seller pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "category"
     ],
     "properties": {
      "page": {
       "type": "integer",
       "maximum": 9007199254740991,
       "minimum": 1
      },
      "country": {
       "enum": [
        "US",
        "AU",
        "BR",
        "CA",
        "CN",
        "FR",
        "DE",
        "IN",
        "IT",
        "MX",
        "NL",
        "SG",
        "ES",
        "TR",
        "AE",
        "GB",
        "JP",
        "SA",
        "PL",
        "SE",
        "BE",
        "EG",
        "ZA",
        "IE"
       ],
       "type": "string"
      },
      "category": {
       "type": "string",
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableninja-amazon-best-sellers-by-category-1b74a65c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableninja.dev](https://www.zero.xyz/host/stableninja.dev/llms.txt)
