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

# /yandexmarket/categories/products

> List Yandex.Market products inside a category by category id (or category URL): product cards with id, title, image, price, spec highlights and seller, with price range, condition, payment, rating and ordering filters.

**Price:** 20 credits per 10 results

**⚠️ Common errors:** 412: Category not found (well-formed id but the category does not exist or has no products)



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/yandexmarket/categories/products
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/yandexmarket/categories/products:
    post:
      tags:
        - /yandexmarket
      summary: /yandexmarket/categories/products
      description: >-
        List Yandex.Market products inside a category by category id (or
        category URL): product cards with id, title, image, price, spec
        highlights and seller, with price range, condition, payment, rating and
        ordering filters.


        **Price:** 20 credits per 10 results


        **⚠️ Common errors:** 412: Category not found (well-formed id but the
        category does not exist or has no products)
      operationId: __api_yandexmarket_categories_products_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YandexMarketCategoriesProductsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YandexMarketSnippet'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YandexMarketCategoriesProductsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        category:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        sort:
          $ref: '#/components/schemas/YandexMarketSort'
          default: dpop
        price_min:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        price_max:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
        condition:
          anyOf:
            - $ref: '#/components/schemas/YandexMarketCondition'
            - type: 'null'
        payment:
          anyOf:
            - $ref: '#/components/schemas/YandexMarketPayment'
            - type: 'null'
        high_rating:
          type: boolean
          default: false
      type: object
      required:
        - category
        - count
    YandexMarketSnippet:
      properties:
        '@type':
          type: string
          default: YandexMarketSnippet
        product_id:
          type: string
        sku_id:
          anyOf:
            - type: string
            - type: 'null'
        offer_id:
          anyOf:
            - type: string
            - type: 'null'
        business_id:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        price_max:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          type: string
          default: RUB
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        offers_count:
          anyOf:
            - type: integer
            - type: 'null'
        vendor_id:
          anyOf:
            - type: integer
            - type: 'null'
        category_ids:
          items:
            type: integer
          type: array
          default: []
        specs_highlights:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - product_id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    YandexMarketSort:
      type: string
      enum:
        - dpop
        - aprice
        - dprice
        - rating
        - date
        - discount_p
    YandexMarketCondition:
      type: string
      enum:
        - new
        - resale
    YandexMarketPayment:
      type: string
      enum:
        - online
        - card_courier
        - cash_courier
        - postpaid_pickup
    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

````