> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape Cdiscount search

> Searches Cdiscount (France) for `query` and returns `products`, each with `position`, `productId` (the SKU), `offerId`, `title`, `url`, `image`, `images`, `price`, `strikePrice` (the crossed-out reference price, only when Cdiscount shows one), `discountPercent`, `currency` (EUR), `rating`, `reviewCount`, `seller` (id, name, `isCdiscount`), `marketplace`, `fulfilledByCdiscount`, `cdiscountAVolonte`, `freeShipping`, `deliveryLabel`, `condition`, `highlights` (key specs), `badges` (promotions) and `brandId`. Also `total`, `lastPage` and `nextPage`. Search results show the brand only as an id; the product endpoint has the brand name. `page` and `max_results` page through the results. One unit per Cdiscount page read.



## OpenAPI

````yaml /api-reference/openapi.json post /marketplace/cdiscount-search
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Documented here:
    page-source extraction, Google SERP scraping, image fetch, and the dedicated
    plugin endpoints (search engines, marketplaces, reviews, travel, social and
    more). All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /marketplace/cdiscount-search:
    post:
      tags:
        - Plugins
      summary: Scrape Cdiscount search
      description: >-
        Searches Cdiscount (France) for `query` and returns `products`, each
        with `position`, `productId` (the SKU), `offerId`, `title`, `url`,
        `image`, `images`, `price`, `strikePrice` (the crossed-out reference
        price, only when Cdiscount shows one), `discountPercent`, `currency`
        (EUR), `rating`, `reviewCount`, `seller` (id, name, `isCdiscount`),
        `marketplace`, `fulfilledByCdiscount`, `cdiscountAVolonte`,
        `freeShipping`, `deliveryLabel`, `condition`, `highlights` (key specs),
        `badges` (promotions) and `brandId`. Also `total`, `lastPage` and
        `nextPage`. Search results show the brand only as an id; the product
        endpoint has the brand name. `page` and `max_results` page through the
        results. One unit per Cdiscount page read.
      operationId: cdiscount_search_marketplace_cdiscount_search_post
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
            description: What to search for, e.g. 'iphone 15' or 'machine a laver'.
            title: Query
          description: What to search for, e.g. 'iphone 15' or 'machine a laver'.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            description: First Cdiscount results page to read (1-100).
            default: 1
            title: Page
          description: First Cdiscount results page to read (1-100).
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            description: >-
              Products to collect across pages, 1-300. A page holds about 47
              products; each page is one unit.
            default: 47
            title: Max Results
          description: >-
            Products to collect across pages, 1-300. A page holds about 47
            products; each page is one unit.
      responses:
        '200':
          description: JSON with a `products` array.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '404':
          description: Cdiscount found nothing for this search.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: >-
            Blocked by Cdiscount on every attempt, an unusable answer, or no
            answer in time.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.