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

# /magazineluiza/products/search

> Search Magazine Luiza (Magalu) products by keyword with optional facet filters and sorting. Returns products with price, installments, rating, seller and category.

**Price:** 5 credits per 40 results



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/magazineluiza/products/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/magazineluiza/products/search:
    post:
      tags:
        - /magazineluiza
      summary: /magazineluiza/products/search
      description: >-
        Search Magazine Luiza (Magalu) products by keyword with optional facet
        filters and sorting. Returns products with price, installments, rating,
        seller and category.


        **Price:** 5 credits per 40 results
      operationId: __api_magazineluiza_products_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MagazineluizaSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MagazineluizaSearchProduct'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MagazineluizaSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        zipcode:
          anyOf:
            - type: string
            - type: 'null'
        term:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        sort:
          anyOf:
            - $ref: '#/components/schemas/MagazineluizaSearchSort'
            - type: 'null'
        filters:
          items:
            $ref: '#/components/schemas/MagazineluizaSearchFilter'
          type: array
          default: []
      type: object
      required:
        - term
        - count
    MagazineluizaSearchProduct:
      properties:
        '@type':
          type: string
          default: MagazineluizaSearchProduct
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - $ref: '#/components/schemas/MagazineluizaBrand'
            - type: 'null'
        reference:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_available:
          anyOf:
            - type: boolean
            - type: 'null'
        is_buy_box:
          anyOf:
            - type: boolean
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        list_price:
          anyOf:
            - type: number
            - type: 'null'
        discount_percent:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        installment_count:
          anyOf:
            - type: integer
            - type: 'null'
        installment_amount:
          anyOf:
            - type: number
            - type: 'null'
        rating:
          anyOf:
            - $ref: '#/components/schemas/MagazineluizaRating'
            - type: 'null'
        seller_id:
          anyOf:
            - type: string
            - type: 'null'
        seller_score:
          anyOf:
            - type: number
            - type: 'null'
        category:
          anyOf:
            - $ref: '#/components/schemas/MagazineluizaCategory'
            - type: 'null'
        subcategory:
          anyOf:
            - $ref: '#/components/schemas/MagazineluizaCategory'
            - type: 'null'
        offer_id:
          anyOf:
            - type: string
            - type: 'null'
        tags:
          items:
            type: string
          type: array
          default: []
        path:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    MagazineluizaSearchSort:
      type: string
      enum:
        - relevance
        - shipping_time
        - price_asc
        - price_desc
        - best_selling
        - rating
        - release_date
    MagazineluizaSearchFilter:
      properties:
        filter_type:
          type: string
          minLength: 1
        value:
          type: string
          minLength: 1
      type: object
      required:
        - filter_type
        - value
    MagazineluizaBrand:
      properties:
        '@type':
          type: string
          default: MagazineluizaBrand
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MagazineluizaRating:
      properties:
        '@type':
          type: string
          default: MagazineluizaRating
        count:
          anyOf:
            - type: integer
            - type: 'null'
        score:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    MagazineluizaCategory:
      properties:
        '@type':
          type: string
          default: MagazineluizaCategory
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````