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

# /citilink/products/similar

> List the products citilink.ru links to one product — close substitutes, direct analogues, cross-sell accessories, the cheaper picks it suggests and its discounted counterparts — each priced for the requested city and tagged with the relation it came from.

**Price:** 1 credit

**⚠️ Common errors:** 412: No such product on citilink.ru — the code or URL resolves to nothing., 422: Unknown city code — take one from citilink/cities.



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/citilink/products/similar
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/citilink/products/similar:
    post:
      tags:
        - /citilink
      summary: /citilink/products/similar
      description: >-
        List the products citilink.ru links to one product — close substitutes,
        direct analogues, cross-sell accessories, the cheaper picks it suggests
        and its discounted counterparts — each priced for the requested city and
        tagged with the relation it came from.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No such product on citilink.ru — the code or
        URL resolves to nothing., 422: Unknown city code — take one from
        citilink/cities.
      operationId: __api_citilink_products_similar_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CitilinkSimilarPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CitilinkRelatedProduct'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CitilinkSimilarPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        city:
          type: string
          minLength: 1
          default: msk_cl
        product:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        with_images:
          type: boolean
          default: false
        relations:
          items:
            $ref: '#/components/schemas/CitilinkRelation'
          type: array
          default: []
      type: object
      required:
        - product
        - count
    CitilinkRelatedProduct:
      properties:
        '@type':
          type: string
          default: CitilinkRelatedProduct
        id:
          type: string
        city:
          anyOf:
            - type: string
            - type: 'null'
        city_name:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        short_name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        brand:
          anyOf:
            - $ref: '#/components/schemas/CitilinkBrandRef'
            - type: 'null'
        category:
          anyOf:
            - $ref: '#/components/schemas/CitilinkCategoryRef'
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        old_price:
          anyOf:
            - type: number
            - type: 'null'
        club_price:
          anyOf:
            - type: number
            - type: 'null'
        club_price_view_type:
          anyOf:
            - type: string
            - type: 'null'
        discount_percent:
          anyOf:
            - type: integer
            - type: 'null'
        bonus_points:
          anyOf:
            - type: integer
            - type: 'null'
        sbp_bonus:
          anyOf:
            - type: integer
            - type: 'null'
        is_fair_price:
          anyOf:
            - type: boolean
            - type: 'null'
        currency:
          type: string
          default: RUB
        is_available:
          anyOf:
            - type: boolean
            - type: 'null'
        is_discount:
          anyOf:
            - type: boolean
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        opinion_count:
          anyOf:
            - type: integer
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        stock_in_stores:
          anyOf:
            - type: integer
            - type: 'null'
        max_stock_in_store:
          anyOf:
            - type: integer
            - type: 'null'
        pickup_points:
          items:
            $ref: '#/components/schemas/CitilinkPickupSummary'
          type: array
          default: []
        image:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        labels:
          items:
            $ref: '#/components/schemas/CitilinkLabel'
          type: array
          default: []
        key_properties:
          items:
            $ref: '#/components/schemas/CitilinkProperty'
          type: array
          default: []
        pack_size:
          anyOf:
            - type: integer
            - type: 'null'
        supplier_pack_size:
          anyOf:
            - type: integer
            - type: 'null'
        has_analog_products:
          anyOf:
            - type: boolean
            - type: 'null'
        access_mode:
          anyOf:
            - type: string
            - type: 'null'
        relation:
          anyOf:
            - type: string
            - type: 'null'
        source_product_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    CitilinkRelation:
      type: string
      enum:
        - similar
        - analog
        - accessory
        - optimal_choice
        - discounted
    CitilinkBrandRef:
      properties:
        '@type':
          type: string
          default: CitilinkBrandRef
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        vendor_site:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    CitilinkCategoryRef:
      properties:
        '@type':
          type: string
          default: CitilinkCategoryRef
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    CitilinkPickupSummary:
      properties:
        '@type':
          type: string
          default: CitilinkPickupSummary
        delivery_date:
          anyOf:
            - type: string
            - type: 'null'
        store_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
    CitilinkLabel:
      properties:
        '@type':
          type: string
          default: CitilinkLabel
        kind:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        action_id:
          anyOf:
            - type: string
            - type: 'null'
        expires_at:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    CitilinkProperty:
      properties:
        '@type':
          type: string
          default: CitilinkProperty
        name:
          type: string
        value:
          type: string
        measure:
          anyOf:
            - type: string
            - type: 'null'
        group:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
        - value
    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

````