> ## 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 Bed Bath & Beyond product search

> Searches Bed Bath & Beyond (bedbathandbeyond.com, US) for `query` and returns the products as JSON: `productId`, `sku`, `title`, `url`, `image`, `price` (the lowest option price) and `priceMax` (the top of the range when options differ), `priceText`, `priceType` (SALE or STANDARD), `currency` (USD), `comparePrice` with `compareType` (MSRP, COMPARE_AT or WAS), `discountPercent`, `regularPrice`, `hasOptions`, `optionCount`, `rating`, `reviewCount`, `badge` (e.g. Best Seller), `onSale`, `fastDelivery`, `rewards` (Welcome Rewards dollars) and `sponsored`. Sort with `sort`, start at `page`, and collect up to `max_results` across pages (about 60 per page, each page billed as one request, see `pagesFetched`). Keywords the site maps to a department (e.g. 'rugs') return that department's listing, named in `redirectedTo`. `url` takes a search link instead of `query`.



## OpenAPI

````yaml /api-reference/openapi.json post /marketplace/bedbathandbeyond-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/bedbathandbeyond-search:
    post:
      tags:
        - Plugins
      summary: Scrape Bed Bath & Beyond product search
      description: >-
        Searches Bed Bath & Beyond (bedbathandbeyond.com, US) for `query` and
        returns the products as JSON: `productId`, `sku`, `title`, `url`,
        `image`, `price` (the lowest option price) and `priceMax` (the top of
        the range when options differ), `priceText`, `priceType` (SALE or
        STANDARD), `currency` (USD), `comparePrice` with `compareType` (MSRP,
        COMPARE_AT or WAS), `discountPercent`, `regularPrice`, `hasOptions`,
        `optionCount`, `rating`, `reviewCount`, `badge` (e.g. Best Seller),
        `onSale`, `fastDelivery`, `rewards` (Welcome Rewards dollars) and
        `sponsored`. Sort with `sort`, start at `page`, and collect up to
        `max_results` across pages (about 60 per page, each page billed as one
        request, see `pagesFetched`). Keywords the site maps to a department
        (e.g. 'rugs') return that department's listing, named in `redirectedTo`.
        `url` takes a search link instead of `query`.
      operationId: bbb_search_marketplace_bedbathandbeyond_search_post
      parameters:
        - name: query
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              What to search, e.g. 'bath towels', 'office chair' or 'table
              lamp'.
            title: Query
          description: What to search, e.g. 'bath towels', 'office chair' or 'table lamp'.
        - name: sort
          in: query
          required: false
          schema:
            type: string
            description: >-
              Order: relevance, on_sale, best_selling, price_low, price_high,
              rating, newest.
            default: relevance
            title: Sort
          description: >-
            Order: relevance, on_sale, best_selling, price_low, price_high,
            rating, newest.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            description: 1-based results page to start from (1-100).
            default: 1
            title: Page
          description: 1-based results page to start from (1-100).
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            description: >-
              Products to collect across pages (1-300); the site serves about 60
              per page and each page fetched is billed as one request.
            default: 60
            title: Max Results
          description: >-
            Products to collect across pages (1-300); the site serves about 60
            per page and each page fetched is billed as one request.
        - name: url
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Instead of `query`: a Bed Bath & Beyond search link, e.g.
              https://www.bedbathandbeyond.com/search?keywords=towels (its sort
              and page are used).
            title: Url
          description: >-
            Instead of `query`: a Bed Bath & Beyond search link, e.g.
            https://www.bedbathandbeyond.com/search?keywords=towels (its sort
            and page are used).
      responses:
        '200':
          description: JSON with a `products` array plus paging totals.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '404':
          description: The site found no products for this search.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: >-
            Blocked by the site on every attempt, no results page returned, or
            the call did not finish 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.