{
  "data": {
    "id": "yv9xsRHpwIzszIcrW",
    "actId": "KdPieB0eXhxLGZhgt",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-11-19T01:42:37.937Z",
    "finishedAt": "2026-11-19T01:42:55.923Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 17910,
      "runTimeSecs": 17.91,
      "computeUnits": 0.0199,
      "imageSizeBytes": 359601152
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "QYo53EZkJk0prePWY",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Cdiscount Scraper Input\",\n  \"description\": \"Search Cdiscount products, get product details, or find top sellers on France's largest e-commerce platform.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to scrape.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"productDetails\",\n        \"topSellers\"\n      ],\n      \"enumTitles\": [\n        \"Search products by keyword\",\n        \"Get product details by URL\",\n        \"Browse top sellers / best sellers\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"keyword\": {\n      \"title\": \"Search keyword\",\n      \"type\": \"string\",\n      \"description\": \"Keyword to search for (mode=search or topSellers).\",\n      \"editor\": \"textfield\",\n      \"default\": \"smartphone\",\n      \"prefill\": \"smartphone\"\n    },\n    \"productUrls\": {\n      \"title\": \"Product URLs (mode=productDetails)\",\n      \"type\": \"array\",\n      \"description\": \"List of Cdiscount product page URLs to scrape.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"sortBy\": {\n      \"title\": \"Sort by\",\n      \"type\": \"string\",\n      \"description\": \"Sort order for search results.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"price_asc\",\n        \"price_desc\",\n        \"rating\",\n        \"new\"\n      ],\n      \"enumTitles\": [\n        \"Most relevant\",\n        \"Price: low to high\",\n        \"Price: high to low\",\n        \"Best rated\",\n        \"Newest first\"\n      ],\n      \"default\": \"relevance\",\n      \"prefill\": \"relevance\"\n    },\n    \"minPrice\": {\n      \"title\": \"Min price (EUR)\",\n      \"type\": \"integer\",\n      \"description\": \"Filter products with price at or above this value.\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"maxPrice\": {\n      \"title\": \"Max price (EUR)\",\n      \"type\": \"integer\",\n      \"description\": \"Filter products with price at or below this value.\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of products to return.\",\n      \"minimum\": 1,\n      \"maximum\": 500,\n      \"default\": 20,\n      \"prefill\": 20\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Cdiscount Product Search & Price Tracker\n\nCdiscount is one of France's largest online marketplaces, but comparing prices or ratings across more than a handful of listings means clicking through page after page by hand. This actor turns a Cdiscount keyword search, a list of product URLs, or a top-rated-products lookup into structured product records with pricing, discount, and rating data already extracted.\n\n## What this actor does\n\n- Searches Cdiscount by keyword, with sort order (relevance, price, rating, newest) and a price range filter applied to the results.\n- Fetches full product pages by URL to pull brand, seller, and description alongside the pricing and rating fields.\n- Surfaces top-rated products for a keyword by reading the same search results sorted by customer rating — this mode doesn't add new fields, it just orders the results differently.\n- Computes the discount percentage itself from the current and pre-discount price whenever both are published.\n- Leaves a field out of the record entirely when Cdiscount doesn't publish it for that product, instead of sending an empty placeholder.\n\n## Output per product\n\n| Field | Description |\n|---|---|\n| `productId` | Cdiscount's internal product identifier |\n| `title` | Product name |\n| `brand` | Manufacturer or brand name |\n| `price` | Current price in euros |\n| `originalPrice` | Pre-discount price in euros, when Cdiscount shows one |\n| `discountPercent` | Discount percentage, computed from `price` and `originalPrice` |\n| `rating` | Customer rating, 0–5 scale |\n| `reviewCount` | Number of customer reviews |\n| `imageUrl` | Main product image URL |\n| `productUrl` | Direct link to the Cdiscount product page |\n| `category` | Product category or department, from search results |\n| `seller` | Marketplace seller name (from `productDetails` mode) |\n| `description` | Product description text (from `productDetails` mode) |\n| `searchKeyword` | The keyword that returned this product (`search` and `topSellers` modes) |\n| `recordType` | Always `product` |\n| `scrapedAt` | ISO 8601 UTC timestamp of the scrape |\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search` (keyword search), `productDetails` (fetch specific URLs), or `topSellers` (keyword search sorted by rating). Required. |\n| `keyword` | string | `smartphone` | Search keyword, used in `search` and `topSellers` modes. |\n| `productUrls` | array | `[]` | Cdiscount product page URLs to scrape, used in `productDetails` mode. |\n| `sortBy` | string | `relevance` | Result order for `search` mode: `relevance`, `price_asc`, `price_desc`, `rating`, or `new`. |\n| `minPrice` | integer | – | Keep only products priced at or above this value, in euros. |\n| `maxPrice` | integer | – | Keep only products priced at or below this value, in euros. |\n| `maxItems` | integer | `20` | Maximum number of products to return. |\n\n### Example: keyword search with a price range\n\n```json\n{\n  \"mode\": \"search\",\n  \"keyword\": \"aspirateur\",\n  \"sortBy\": \"price_asc\",\n  \"minPrice\": 50,\n  \"maxPrice\": 200,\n  \"maxItems\": 50\n}\n```\n\n### Example: specific product pages\n\n```json\n{\n  \"mode\": \"productDetails\",\n  \"productUrls\": [\n    \"https://www.cdiscount.com/telephonie/telephone-mobile/exemple-produit.html\"\n  ],\n  \"maxItems\": 10\n}\n```\n\n### Example: top-rated products for a category\n\n```json\n{\n  \"mode\": \"topSellers\",\n  \"keyword\": \"ordinateur portable\",\n  \"maxItems\": 30\n}\n```\n\n## Use cases\n\n- **Price tracking** — watch how a product's price and discount move over time by rerunning `productDetails` on the same URLs.\n- **Market research** — pull a category's full price and rating spread with a single `search` run.\n- **Competitive benchmarking** — compare brand, seller, and rating data for similar products side by side.\n- **Catalog enrichment** — add Cdiscount pricing and availability signals to a product database by matching on `productId`.\n- **Deal discovery** — sort by `price_asc` or filter by `minPrice`/`maxPrice` to surface the cheapest options in a category.\n\n## FAQ\n\n**Does this need a Cdiscount account or login?**\nNo. All three modes read Cdiscount's public search and product pages.\n\n**What currency are the prices in?**\nEuros. Cdiscount is a French marketplace and doesn't publish prices in other currencies.\n\n**What's actually different about `topSellers` mode?**\nIt runs the same keyword search as `search` mode, just sorted by customer rating instead of relevance. It doesn't add seller or description fields — for those, use `productDetails` with the product's URL.\n\n**Why don't search results include `seller` or `description`?**\nThose two fields only appear on the full product page, which `productDetails` mode fetches. Search results only carry what's visible on the search results grid.\n\n**Why is `originalPrice` or `discountPercent` sometimes missing?**\nThose fields are only included when Cdiscount itself publishes a pre-discount \"crossed out\" price for that product. If a product isn't discounted, there's nothing to compute a percentage from.\n\n**Can I combine a price range with a sort order?**\nYes — `minPrice`/`maxPrice` and `sortBy` both apply to `search` mode and can be set together.\n\n**How many products can one run return?**\nUp to the `maxItems` value you set, capped at 500 per run.\n\n**Is this affiliated with Cdiscount?**\nNo. This actor reads Cdiscount's public pages and is not affiliated with, endorsed by, or connected to Cdiscount in any way.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "cdiscount-product-search-and-price-tracker",
      "title": "Cdiscount Product Search & Price Tracker",
      "description": "Search Cdiscount by keyword, look up product URLs, or pull top-rated results, with price, discount, brand, seller, and rating data per product.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Cdiscount Product Search & Price Tracker\n\nCdiscount is one of France's largest online marketplaces, but comparing prices or ratings across more than a handful of listings means clicking through page after page by hand. This actor turns a Cdiscount keyword search, a list of product URLs, or a top-rated-products lookup into structured product records with pricing, discount, and rating data already extracted.\n\n## What this actor does\n\n- Searches Cdiscount by keyword, with sort order (relevance, price, rating, newest) and a price range filter applied to the results.\n- Fetches full product pages by URL to pull brand, seller, and description alongside the pricing and rating fields.\n- Surfaces top-rated products for a keyword by reading the same search results sorted by customer rating — this mode doesn't add new fields, it just orders the results differently.\n- Computes the discount percentage itself from the current and pre-discount price whenever both are published.\n- Leaves a field out of the record entirely when Cdiscount doesn't publish it for that product, instead of sending an empty placeholder.\n\n## Output per product\n\n| Field | Description |\n|---|---|\n| `productId` | Cdiscount's internal product identifier |\n| `title` | Product name |\n| `brand` | Manufacturer or brand name |\n| `price` | Current price in euros |\n| `originalPrice` | Pre-discount price in euros, when Cdiscount shows one |\n| `discountPercent` | Discount percentage, computed from `price` and `originalPrice` |\n| `rating` | Customer rating, 0–5 scale |\n| `reviewCount` | Number of customer reviews |\n| `imageUrl` | Main product image URL |\n| `productUrl` | Direct link to the Cdiscount product page |\n| `category` | Product category or department, from search results |\n| `seller` | Marketplace seller name (from `productDetails` mode) |\n| `description` | Product description text (from `productDetails` mode) |\n| `searchKeyword` | The keyword that returned this product (`search` and `topSellers` modes) |\n| `recordType` | Always `product` |\n| `scrapedAt` | ISO 8601 UTC timestamp of the scrape |\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search` (keyword search), `productDetails` (fetch specific URLs), or `topSellers` (keyword search sorted by rating). Required. |\n| `keyword` | string | `smartphone` | Search keyword, used in `search` and `topSellers` modes. |\n| `productUrls` | array | `[]` | Cdiscount product page URLs to scrape, used in `productDetails` mode. |\n| `sortBy` | string | `relevance` | Result order for `search` mode: `relevance`, `price_asc`, `price_desc`, `rating`, or `new`. |\n| `minPrice` | integer | – | Keep only products priced at or above this value, in euros. |\n| `maxPrice` | integer | – | Keep only products priced at or below this value, in euros. |\n| `maxItems` | integer | `20` | Maximum number of products to return. |\n\n### Example: keyword search with a price range\n\n```json\n{\n  \"mode\": \"search\",\n  \"keyword\": \"aspirateur\",\n  \"sortBy\": \"price_asc\",\n  \"minPrice\": 50,\n  \"maxPrice\": 200,\n  \"maxItems\": 50\n}\n```\n\n### Example: specific product pages\n\n```json\n{\n  \"mode\": \"productDetails\",\n  \"productUrls\": [\n    \"https://www.cdiscount.com/telephonie/telephone-mobile/exemple-produit.html\"\n  ],\n  \"maxItems\": 10\n}\n```\n\n### Example: top-rated products for a category\n\n```json\n{\n  \"mode\": \"topSellers\",\n  \"keyword\": \"ordinateur portable\",\n  \"maxItems\": 30\n}\n```\n\n## Use cases\n\n- **Price tracking** — watch how a product's price and discount move over time by rerunning `productDetails` on the same URLs.\n- **Market research** — pull a category's full price and rating spread with a single `search` run.\n- **Competitive benchmarking** — compare brand, seller, and rating data for similar products side by side.\n- **Catalog enrichment** — add Cdiscount pricing and availability signals to a product database by matching on `productId`.\n- **Deal discovery** — sort by `price_asc` or filter by `minPrice`/`maxPrice` to surface the cheapest options in a category.\n\n## FAQ\n\n**Does this need a Cdiscount account or login?**\nNo. All three modes read Cdiscount's public search and product pages.\n\n**What currency are the prices in?**\nEuros. Cdiscount is a French marketplace and doesn't publish prices in other currencies.\n\n**What's actually different about `topSellers` mode?**\nIt runs the same keyword search as `search` mode, just sorted by customer rating instead of relevance. It doesn't add seller or description fields — for those, use `productDetails` with the product's URL.\n\n**Why don't search results include `seller` or `description`?**\nThose two fields only appear on the full product page, which `productDetails` mode fetches. Search results only carry what's visible on the search results grid.\n\n**Why is `originalPrice` or `discountPercent` sometimes missing?**\nThose fields are only included when Cdiscount itself publishes a pre-discount \"crossed out\" price for that product. If a product isn't discounted, there's nothing to compute a percentage from.\n\n**Can I combine a price range with a sort order?**\nYes — `minPrice`/`maxPrice` and `sortBy` both apply to `search` mode and can be set together.\n\n**How many products can one run return?**\nUp to the `maxItems` value you set, capped at 500 per run.\n\n**Is this affiliated with Cdiscount?**\nNo. This actor reads Cdiscount's public pages and is not affiliated with, endorsed by, or connected to Cdiscount in any way.\n",
      "input": {
        "title": "Cdiscount Scraper Input",
        "description": "Search Cdiscount products, get product details, or find top sellers on France's largest e-commerce platform.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to scrape.",
            "editor": "select",
            "enum": [
              "search",
              "productDetails",
              "topSellers"
            ],
            "enumTitles": [
              "Search products by keyword",
              "Get product details by URL",
              "Browse top sellers / best sellers"
            ],
            "default": "search",
            "prefill": "search"
          },
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Keyword to search for (mode=search or topSellers).",
            "editor": "textfield",
            "default": "smartphone",
            "prefill": "smartphone"
          },
          "productUrls": {
            "title": "Product URLs (mode=productDetails)",
            "type": "array",
            "description": "List of Cdiscount product page URLs to scrape.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "Sort order for search results.",
            "editor": "select",
            "enum": [
              "relevance",
              "price_asc",
              "price_desc",
              "rating",
              "new"
            ],
            "enumTitles": [
              "Most relevant",
              "Price: low to high",
              "Price: high to low",
              "Best rated",
              "Newest first"
            ],
            "default": "relevance",
            "prefill": "relevance"
          },
          "minPrice": {
            "title": "Min price (EUR)",
            "type": "integer",
            "description": "Filter products with price at or above this value.",
            "minimum": 0,
            "maximum": 100000
          },
          "maxPrice": {
            "title": "Max price (EUR)",
            "type": "integer",
            "description": "Filter products with price at or below this value.",
            "minimum": 0,
            "maximum": 100000
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of products to return.",
            "minimum": 1,
            "maximum": 500,
            "default": 20,
            "prefill": 20
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Cdiscount Product Search & Price Tracker Output",
        "description": "Cdiscount product records with price, discount percentage, brand, seller, and rating data.",
        "properties": {
          "products": {
            "type": "string",
            "title": "Cdiscount products",
            "description": "Dataset containing all scraped Cdiscount products.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Products",
              "transformation": {
                "fields": [
                  "title",
                  "price",
                  "originalPrice",
                  "discountPercent",
                  "brand",
                  "rating",
                  "productUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "imageDigest": "4f1da200c8e9d0a086e6184ee528d94fb8cccf9fd7f86f46adba5f5ee3d79629",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0199
    }
  }
}