# 📈 Track prices and discounts for a list of products

**Use case:** 

Paste product URLs or bare sku ids and get one row per product with the current price, the price before discount, the discount percentage, promotions, coupons, stock status and delivery estimate. Reviews, Q&A and description are switched off so the run stays cheap. Schedule it to build a price history.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.joybuy.fr/dp/p/10409186"
    },
    {
      "url": "https://www.joybuy.fr/dp/p/10408679"
    },
    {
      "url": "https://www.joybuy.fr/dp/p/10161490"
    },
    {
      "url": "https://www.joybuy.fr/dp/p/10412556"
    }
  ],
  "keywords": [
    "iphone 17"
  ],
  "maxItemsPerInput": 50,
  "sortType": "sort_default",
  "scrapeDescription": false,
  "minRating": "0",
  "inStockOnly": false,
  "bestsellersOnly": false,
  "lightningOffersOnly": false,
  "fastDeliveryOnly": false,
  "scrapeReviews": false,
  "maxReviews": 10,
  "scrapeQuestions": false,
  "maxQuestions": 5,
  "includePersonalData": true,
  "country": "FR",
  "language": "en_GB"
}
```

## Output

```json
{
  "thumbnailImage": {
    "label": "Image",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "object"
  },
  "priceWas": {
    "label": "Was",
    "format": "object"
  },
  "discountPercent": {
    "label": "Discount %",
    "format": "number"
  },
  "variants": {
    "label": "Variants",
    "format": "array"
  },
  "videos": {
    "label": "Video",
    "format": "array"
  },
  "images": {
    "label": "Images",
    "format": "array"
  },
  "brand": {
    "label": "Brand",
    "format": "string"
  },
  "seller": {
    "label": "Seller",
    "format": "string"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "starsBreakdown": {
    "label": "Stars breakdown",
    "format": "object"
  },
  "soldLabel": {
    "label": "Sold",
    "format": "string"
  },
  "inStock": {
    "label": "In stock",
    "format": "boolean"
  },
  "categoryPath": {
    "label": "Category",
    "format": "array"
  },
  "delivery": {
    "label": "Delivery",
    "format": "object"
  },
  "skuId": {
    "label": "Sku id",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "crawledAt": {
    "label": "Crawled at",
    "format": "string"
  },
  "scrapingInfo": {
    "label": "Scraping info",
    "format": "object"
  },
  "promotions": {
    "label": "Promotions"
  },
  "coupons": {
    "label": "Coupons"
  },
  "purchaseLimit": {
    "label": "Purchase limit"
  },
  "weightGrams": {
    "label": "Weight (g)"
  },
  "dimensions": {
    "label": "Box dimensions (mm)"
  },
  "energyLabelImages": {
    "label": "Energy labels"
  },
  "fulfillmentMethods": {
    "label": "Fulfilment"
  },
  "guarantees": {
    "label": "Guarantees",
    "format": "array"
  },
  "warranty": {
    "label": "Warranty"
  },
  "model": {
    "label": "Model"
  },
  "spuId": {
    "label": "SPU id"
  },
  "venderId": {
    "label": "Vendor id"
  },
  "sellerId": {
    "label": "Seller id",
    "format": "string"
  },
  "categoryIds": {
    "label": "Category ids"
  },
  "shareLink": {
    "label": "Share link"
  },
  "freight": {
    "label": "Shipping cost"
  },
  "unitPrice": {
    "label": "Unit price"
  },
  "installmentText": {
    "label": "Instalments"
  },
  "protectionPlans": {
    "label": "Protection plans"
  },
  "energyLabelUrls": {
    "label": "Energy label urls"
  },
  "minPurchaseQuantity": {
    "label": "Min qty"
  },
  "isSponsored": {
    "label": "Sponsored"
  },
  "aiReviewSummary": {
    "label": "AI review summary",
    "format": "string"
  },
  "goodRatePercent": {
    "label": "Good rating %",
    "format": "number"
  },
  "country": {
    "label": "Market",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Joybuy scraper 🛍️](https://apify.com/borderline/joybuy-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/borderline/joybuy-api.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/borderline/joybuy-api.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`).
