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

# /onlinetrade/products

> Return one ONLINE TRADE.RU (onlinetrade.ru) product for a named Russian city by its numeric product id or product URL: name, brand, manufacturer code, current and pre-discount price in roubles with the discount percentage, the ON-bonus amount, stock state and stock note, warranty term, the full specification sheet, the headline specifications, the marketing description, product images, the category breadcrumb trail with category ids, the colour and memory variants of the same model, and the delivery options with their dates and costs for that city.

**Price:** 1 credit

**⚠️ Common errors:** 412: No onlinetrade product resolves from this id, or onlinetrade did not serve the product page, 422: The city is not one onlinetrade prices in, or item_id is neither a numeric id nor a product URL



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/onlinetrade/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/onlinetrade/products:
    post:
      tags:
        - /onlinetrade
      summary: /onlinetrade/products
      description: >-
        Return one ONLINE TRADE.RU (onlinetrade.ru) product for a named Russian
        city by its numeric product id or product URL: name, brand, manufacturer
        code, current and pre-discount price in roubles with the discount
        percentage, the ON-bonus amount, stock state and stock note, warranty
        term, the full specification sheet, the headline specifications, the
        marketing description, product images, the category breadcrumb trail
        with category ids, the colour and memory variants of the same model, and
        the delivery options with their dates and costs for that city.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No onlinetrade product resolves from this id,
        or onlinetrade did not serve the product page, 422: The city is not one
        onlinetrade prices in, or item_id is neither a numeric id nor a product
        URL
      operationId: __api_onlinetrade_products_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnlinetradeProductsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OnlinetradeProduct'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OnlinetradeProductsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        item_id:
          type: string
          minLength: 1
        city:
          type: string
          minLength: 1
          default: Москва
      type: object
      required:
        - item_id
    OnlinetradeProduct:
      properties:
        '@type':
          type: string
          default: OnlinetradeProduct
        item_id:
          type: string
        model_id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - type: string
            - type: 'null'
        mpn:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: integer
            - type: 'null'
        old_price:
          anyOf:
            - type: integer
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
        discount_percent:
          anyOf:
            - type: integer
            - type: 'null'
        badges:
          items:
            type: string
          type: array
          default: []
        price_valid_until:
          anyOf:
            - type: string
            - type: 'null'
        bonus:
          anyOf:
            - type: integer
            - type: 'null'
        availability:
          anyOf:
            - type: string
            - type: 'null'
        availability_note:
          anyOf:
            - type: string
            - type: 'null'
        condition:
          anyOf:
            - type: string
            - type: 'null'
        warranty:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        rating_count:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        highlights:
          items:
            $ref: '#/components/schemas/OnlinetradeSpec'
          type: array
          default: []
        specs:
          items:
            $ref: '#/components/schemas/OnlinetradeSpec'
          type: array
          default: []
        category_id:
          anyOf:
            - type: integer
            - type: 'null'
        breadcrumbs:
          items:
            $ref: '#/components/schemas/OnlinetradeCategoryRef'
          type: array
          default: []
        modifications:
          items:
            $ref: '#/components/schemas/OnlinetradeModification'
          type: array
          default: []
        delivery_options:
          items:
            $ref: '#/components/schemas/OnlinetradeDeliveryOption'
          type: array
          default: []
        pickup_points:
          items:
            $ref: '#/components/schemas/OnlinetradePickupPoint'
          type: array
          default: []
        top_review:
          anyOf:
            - type: string
            - type: 'null'
        listed_at:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        city_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - item_id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    OnlinetradeSpec:
      properties:
        '@type':
          type: string
          default: OnlinetradeSpec
        label:
          type: string
        value:
          type: string
      type: object
      required:
        - label
        - value
    OnlinetradeCategoryRef:
      properties:
        '@type':
          type: string
          default: OnlinetradeCategoryRef
        name:
          type: string
        id:
          anyOf:
            - type: integer
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    OnlinetradeModification:
      properties:
        '@type':
          type: string
          default: OnlinetradeModification
        item_id:
          type: string
        label:
          type: string
        selected:
          type: boolean
          default: false
      type: object
      required:
        - item_id
        - label
    OnlinetradeDeliveryOption:
      properties:
        '@type':
          type: string
          default: OnlinetradeDeliveryOption
        name:
          type: string
        date:
          anyOf:
            - type: string
            - type: 'null'
        cost:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    OnlinetradePickupPoint:
      properties:
        '@type':
          type: string
          default: OnlinetradePickupPoint
        name:
          type: string
        address:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        date:
          anyOf:
            - type: string
            - type: 'null'
        cost:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    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

````