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

# /proftools/products/search

> Search the ProfTools (proftools.ru) catalogue by text and return product cards with the catalogue URL, title, retail price in roubles and its unit of measure, stock state, the quantity the shop will sell, the promotional labels the card carries, the category path and the thumbnail.

**Price:** 1 credit

**⚠️ Common errors:** 412: Proftools did not return a search results page for this query.



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/proftools/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/proftools/products/search:
    post:
      tags:
        - /proftools
      summary: /proftools/products/search
      description: >-
        Search the ProfTools (proftools.ru) catalogue by text and return product
        cards with the catalogue URL, title, retail price in roubles and its
        unit of measure, stock state, the quantity the shop will sell, the
        promotional labels the card carries, the category path and the
        thumbnail.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: Proftools did not return a search results
        page for this query.
      operationId: __api_proftools_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/ProftoolsProductsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProftoolsProductCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ProftoolsProductsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        sort:
          $ref: '#/components/schemas/ProftoolsProductSort'
          default: default
      type: object
      required:
        - query
        - count
    ProftoolsProductCard:
      properties:
        '@type':
          type: string
          default: ProftoolsProductCard
        id:
          type: string
        url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        category_path:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        price_measure:
          anyOf:
            - type: string
            - type: 'null'
        is_in_stock:
          anyOf:
            - type: boolean
            - type: 'null'
        stock_status:
          anyOf:
            - type: string
            - type: 'null'
        available_quantity:
          anyOf:
            - type: integer
            - type: 'null'
        labels:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ProftoolsProductSort:
      type: string
      enum:
        - default
        - price_asc
        - price_desc
        - id_asc
        - id_desc
    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

````