YML feed | Requirements and element descriptions
In this article, you will learn about the following information:
YML (Yandex Market Language) is Yandex's own standard based on XML. YML files allow you to fully describe a store's catalog in a format suitable for automatic generation.
Any XML document can contain only one root element. The YML format uses the <yml_catalog> element as the root. The date attribute of the <yml_catalog> element must correspond to the date and time when the YML file was generated on your side. The date must have the format YYYY-MM-DD hh:mm.
The list of product offers is contained in the <offers> element. Each product offer is described by a separate <offer> element. The <currencies> and <categories> elements inside the <shop> element must be specified before the list of product offers.
Feed requirements
- Do not use non-printable characters with ASCII codes from 0 to 31 (except characters 9, 10, 13 – tab, line feed, carriage return).
- Replace the characters
" & > < 'with equivalent codes:
| Character in text | Code for feed |
|---|---|
" |
" |
- Use UTF-8 or windows-1251 encoding.
List and description of feed elements
You can download a feed template on the Create products group from feed page in your account.

Elements table:
| Element | Description |
|---|---|
| <yml_catalog> |
Any XML document has a root element. The YML format uses the In the attribute, specify the date and time for which the data in the file is relevant. The uploaded catalog version must not be older than 10 days. The date and time must comply with RFC 3339. Specify the time zone (offset from UTC). You cannot specify a date and time in the future. <yml_catalog date="2022-05-22T14:37+03:00"> |
| <shop> | Inside <yml_catalog>, a single instance. Describes the store for which you are preparing the file. No attributes. |
| <name> (inside <shop>) | Your store name. |
| <company> (inside <shop>) | Your company name. |
| <url> (inside <shop>) | Address of the page on your site with product photos and description. Maximum URL length is 512 characters. Write according to RFC 3986. |
| <currencies> (inside <shop>) | The currency in which the product price is specified. Supported: Russian and Belarusian rubles, euros, dollars, Ukrainian hryvnias, Kazakhstani tenge. |
| <categories> (inside <shop>) |
List of product categories. When creating categories, follow these recommendations:
Assign a unique <categories> |
| <delivery-options> |
Contains up to 5 Can be nested inside
Attributes of
<delivery-options> |
| <offers> (inside <shop>) |
Contains any number of Inside |
| <name> (inside <offer>) | Product name. |
| <vendor> (inside <offer>) |
Brand or manufacturer name. Write as the brand writes it. For Pharmacy category:
|
| <vendorCode> (inside <offer>) | Product code assigned by the manufacturer. If multiple, separate by commas. Example: VNDR-0005A, VNDR-0005B |
| <url> (inside <offer>) | Product page address on your site. Max 512 characters, RFC 3986. |
| <price> (inside <offer>) | Price per unit including all taxes. |
| <enable_auto_discounts> (inside <offer>) | Allow Yandex to automatically apply and display discounts (e.g., dynamic). Values: true / false. |
| <currencyId> (inside <offer>) | Currency of the price (same as in <currencies>). |
| <categoryId> (inside <offer>) | Category number (positive integer up to 18 digits, no leading zeros). |
| <picture> (inside <offer>) | Direct link to a product image. Formats JPEG, PNG, WEBP. Weight up to 10 MB, size not less than 300 × 400 pixels. We recommend using an image aspect ratio of 3:4. Multiple links allowed, first photo is main. |
| <supplier> (inside <offer>) | OGRN (for Russia) – 13‑digit legal entity number. |
| <delivery> | Can be inside <shop> or <offer>. Whether courier delivery is available. true / false. |
| <pickup> | Can be inside <shop> or <offer>. Whether pickup is available. true / false. |
| <pickup-options> (inside <offer>) |
Use the Example of the <pickup-options> One
The cost attribute — pickup cost
If the pickup cost for a product differs depending on the district of the city, specify the maximum price for the service. The order-before attribute — order cut-off time Specify the local time (in the store's time zone) by which the order must be placed for the delivery time to the pickup point to apply. Use only an integer from 0 to 24 as the value. For example, 18:00 is specified as If the attribute is not specified, the default value is 13. |
| <store> (inside <offer>) | Possibility to buy in a physical retail store without prior order. true / false. |
| <description> (inside <offer>) |
Detailed product description: for example, its advantages and features.
<description>
|
| <sales_notes> (inside <offer>) | Used to provide additional information about the terms of the order. |
| <min-quantity> (inside <offer>) | Intended to specify the minimum quantity of product units available for order. |
| <dimensions> (inside <offer>) | Product dimensions. |
| <manufacturer_warranty> (inside <offer>) |
Used to indicate the presence and duration of the official manufacturer's warranty for the product. The element can take two value formats:
|
| <country_of_origin> (inside <offer>) | Country where the product was manufactured. |
| <adult> (inside <offer>) | This parameter marks the product as 18+. Set it only for products related to sexual needs. |
| <barcode> (inside <offer>) | Product barcode from the manufacturer. If the product is sold in packages, the package barcode is needed. Specify as a sequence of digits. EAN-13, EAN-8, UPC-A, UPC-E codes are acceptable. For books, specify ISBN. If there are multiple barcodes, list them all separated by commas. |
| <param> (inside <offer>) | Used to convey product characteristics, such as color, material, composition. |
| <weight> (inside <offer>) | Product weight. |
| <dimensions> (inside <offer>) | Product dimensions. |
| <gifts> (inside <shop>) |
Gifts that the buyer can receive when purchasing a product. Specify a unique gift identifier, name, and a direct link to the image. <gifts> |
| <promos> (inside <shop>) |
Used to describe promotions and special offers that apply to your products. This can be a discount, a gift with purchase, or other marketing mechanics. Unlike <promos> id — Unique identifier of the promotion within the file. type — Type of promotion. Possible values:
|