> ## 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.

# /namshi/products/search

> Search Namshi products by keyword with rich filters: brand, colour, price range, discount, delivery type, new arrivals, gender, category-specific size and attribute facets, and sorting. Returns product cards with product title, brand, normal and sale price, discount, currency, images, stock, rating and colour variants.

**Price:** 20 credits per 60 results



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/namshi/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/namshi/products/search:
    post:
      tags:
        - /namshi
      summary: /namshi/products/search
      description: >-
        Search Namshi products by keyword with rich filters: brand, colour,
        price range, discount, delivery type, new arrivals, gender,
        category-specific size and attribute facets, and sorting. Returns
        product cards with product title, brand, normal and sale price,
        discount, currency, images, stock, rating and colour variants.


        **Price:** 20 credits per 60 results
      operationId: __api_namshi_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/NamshiProductsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NamshiProductCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NamshiProductsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        region:
          $ref: '#/components/schemas/NamshiRegion'
          default: uae
        language:
          $ref: '#/components/schemas/NamshiLanguage'
          default: en
        count:
          type: integer
          minimum: 1
        brand_code:
          items:
            type: string
          type: array
          default: []
        colour_family:
          items:
            $ref: '#/components/schemas/NamshiColour'
          type: array
          default: []
        discount_option:
          anyOf:
            - $ref: '#/components/schemas/NamshiDiscountOption'
            - type: 'null'
        delivery_type:
          anyOf:
            - $ref: '#/components/schemas/NamshiDeliveryType'
            - type: 'null'
        new_arrivals:
          anyOf:
            - type: boolean
            - type: 'null'
        price_min:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        price_max:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        selected_gender:
          anyOf:
            - $ref: '#/components/schemas/NamshiGender'
            - type: 'null'
        sort_by:
          anyOf:
            - $ref: '#/components/schemas/NamshiSortBy'
            - type: 'null'
        sort_dir:
          anyOf:
            - $ref: '#/components/schemas/NamshiSortDir'
            - type: 'null'
        filters:
          additionalProperties:
            type: string
          type: object
          default: {}
        keyword:
          type: string
          minLength: 1
      type: object
      required:
        - count
        - keyword
    NamshiProductCard:
      properties:
        '@type':
          type: string
          default: NamshiProductCard
        id:
          type: string
        sku:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        product_title:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - type: string
            - type: 'null'
        brand_code:
          anyOf:
            - type: string
            - type: 'null'
        normal_price:
          anyOf:
            - type: number
            - type: 'null'
        sale_price:
          anyOf:
            - type: number
            - type: 'null'
        discount_percent:
          anyOf:
            - type: integer
            - type: 'null'
        deal_code:
          anyOf:
            - type: string
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        videos:
          items:
            type: string
          type: array
          default: []
        badges:
          items:
            type: string
          type: array
          default: []
        stock_status:
          anyOf:
            - type: string
            - type: 'null'
        stock_label:
          anyOf:
            - type: string
            - type: 'null'
        is_rocket:
          anyOf:
            - type: boolean
            - type: 'null'
        is_global:
          anyOf:
            - type: boolean
            - type: 'null'
        is_outlet:
          anyOf:
            - type: boolean
            - type: 'null'
        has_variant:
          anyOf:
            - type: boolean
            - type: 'null'
        max_qty:
          anyOf:
            - type: integer
            - type: 'null'
        listing_type:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        grouped_products:
          items:
            $ref: '#/components/schemas/NamshiCardVariant'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    NamshiRegion:
      type: string
      enum:
        - uae
        - saudi
        - kuwait
        - qatar
        - bahrain
        - oman
    NamshiLanguage:
      type: string
      enum:
        - en
        - ar
    NamshiColour:
      type: string
      enum:
        - black
        - white
        - blue
        - red
        - green
        - pink
        - purple
        - yellow
        - beige
        - brown
        - grey
        - silver
        - gold
        - orange
        - multicolour
        - metallic
        - clear
    NamshiDiscountOption:
      type: string
      enum:
        - discounted
        - full_price
    NamshiDeliveryType:
      type: string
      enum:
        - standard
        - global
        - rocket
    NamshiGender:
      type: string
      enum:
        - women
        - men
    NamshiSortBy:
      type: string
      enum:
        - recommended
        - best_seller
        - discount_percent
        - arrival_date
        - current_price
    NamshiSortDir:
      type: string
      enum:
        - asc
        - desc
    NamshiCardVariant:
      properties:
        '@type':
          type: string
          default: NamshiCardVariant
        id:
          type: string
        sku:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        product_title:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - type: string
            - type: 'null'
        group_value:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        normal_price:
          anyOf:
            - type: number
            - type: 'null'
        sale_price:
          anyOf:
            - type: number
            - type: 'null'
        discount_percent:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    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

````