# Get Amazon Sales Rank & BSR History

**Use case:** 

Analyze the Best Sellers Rank and sales performance of any Amazon product with Keepa. Get current BSR, historical sales ranks, category rankings, monthly sold estimates, and sales rank drops over 30, 90, 180 and 365 days.

## Input

```json
{
  "identifiers": [
    "B0BN72FYFG"
  ],
  "marketplace": "us",
  "include_price_history": true,
  "include_offers_sellers": false,
  "max_pages": 1,
  "raw_output": false,
  "output_fields": []
}
```

## Output

```json
{
  "data_captured_at": {
    "label": "Captured at",
    "format": "string"
  },
  "data_type": {
    "label": "Record type",
    "format": "string"
  },
  "asin": {
    "label": "ASIN",
    "format": "string"
  },
  "parent_asin": {
    "label": "Parent ASIN",
    "format": "string"
  },
  "marketplace": {
    "label": "Marketplace",
    "format": "string"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "product_image_url": {
    "label": "Image",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "brand": {
    "label": "Brand",
    "format": "string"
  },
  "amazon_price_history": {
    "label": "Amazon Price History",
    "format": "array"
  },
  "new_price_history": {
    "label": "New Price History",
    "format": "array"
  },
  "used_price_history": {
    "label": "Used Price History",
    "format": "array"
  },
  "list_price_history": {
    "label": "List Price History",
    "format": "array"
  },
  "buybox_price_history": {
    "label": "Buy Box Price History",
    "format": "array"
  },
  "buybox_used_price_history": {
    "label": "Buy Box Used Price History",
    "format": "array"
  },
  "bsr_history": {
    "label": "BSR History",
    "format": "array"
  },
  "sales_ranks": {
    "label": "Sales Ranks",
    "format": "array"
  },
  "parent_asin_history": {
    "label": "Parent ASIN History",
    "format": "array"
  },
  "monthly_sold_history": {
    "label": "Monthly Sold History",
    "format": "array"
  },
  "buybox_seller_id_history": {
    "label": "Buy Box Seller ID History",
    "format": "array"
  },
  "buybox_used_history": {
    "label": "Buy Box Used History",
    "format": "array"
  },
  "coupon_history": {
    "label": "Coupon History",
    "format": "array"
  },
  "sales_rank_reference_history": {
    "label": "Sales Rank Reference History",
    "format": "array"
  },
  "new_offer_count_history": {
    "label": "New Offer Count History",
    "format": "array"
  },
  "offer_update_count_history": {
    "label": "Offer Update Count History",
    "format": "array"
  },
  "new_fba_offer_count_history": {
    "label": "New FBA Offer Count History",
    "format": "array"
  },
  "new_fbm_price_history": {
    "label": "New FBM Price History",
    "format": "array"
  },
  "warehouse_price_history": {
    "label": "Warehouse Price History",
    "format": "array"
  },
  "used_offer_count_history": {
    "label": "Used Offer Count History",
    "format": "array"
  },
  "refurbished_offer_count_history": {
    "label": "Refurbished Offer Count History",
    "format": "array"
  },
  "rating_history": {
    "label": "Rating History",
    "format": "array"
  },
  "rating_count_history": {
    "label": "Rating Count History",
    "format": "array"
  },
  "used_like_new_price_history": {
    "label": "Used Like New Price History",
    "format": "array"
  },
  "used_good_price_history": {
    "label": "Used Good Price History",
    "format": "array"
  },
  "prime_exclusive_price_history": {
    "label": "Prime Exclusive Price History",
    "format": "array"
  },
  "new_fbm_offer_count_history": {
    "label": "New FBM Offer Count History",
    "format": "array"
  },
  "collectible_price_history": {
    "label": "Collectible Price History",
    "format": "array"
  },
  "refurbished_price_history": {
    "label": "Refurbished Price History",
    "format": "array"
  },
  "lightning_deal_price_history": {
    "label": "Lightning Deal Price History",
    "format": "array"
  },
  "new_fba_price_history": {
    "label": "New FBA Price History",
    "format": "array"
  },
  "collectible_offer_count_history": {
    "label": "Collectible Offer Count History",
    "format": "array"
  },
  "used_very_good_price_history": {
    "label": "Used Very Good Price History",
    "format": "array"
  },
  "used_acceptable_price_history": {
    "label": "Used Acceptable Price History",
    "format": "array"
  },
  "collectible_like_new_price_history": {
    "label": "Collectible Like New Price History",
    "format": "array"
  },
  "collectible_very_good_price_history": {
    "label": "Collectible Very Good Price History",
    "format": "array"
  },
  "collectible_good_price_history": {
    "label": "Collectible Good Price History",
    "format": "array"
  },
  "collectible_acceptable_price_history": {
    "label": "Collectible Acceptable Price History",
    "format": "array"
  },
  "refurbished_shipping_price_history": {
    "label": "Refurbished Shipping Price History",
    "format": "array"
  },
  "ebay_new_price_history": {
    "label": "Ebay New Price History",
    "format": "array"
  },
  "ebay_used_price_history": {
    "label": "Ebay Used Price History",
    "format": "array"
  },
  "trade_in_price_history": {
    "label": "Trade In Price History",
    "format": "array"
  },
  "rent_price_history": {
    "label": "Rent Price History",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Keepa Scraper](https://apify.com/radeance/keepa-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/radeance/keepa-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/radeance/keepa-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
