/yandexmarket/products

POST /api/yandexmarket/products

Price: 20 credits

Get full Yandex.Market product details by id (or product URL): title, brand, image, description, price, rating, review count, category breadcrumbs, primary seller and spec table.

How to use it

One full product card, by bare numeric id or by any Yandex.Market product, card or offers URL. The card describes whichever offer is cheapest at that moment, so almost every field can differ between two calls minutes apart — even `brand`, which reads 'Без бренда' when a no-name reseller is currently cheapest. Only the catalog identity holds still, so re-fetching is not a way to confirm a product and a changed brand is not a different product. **`price` is the Yandex-card price of whichever offer was cheapest when the card was read — the same quantity the listing endpoints publish as `price_with_card`, not the pre-card base price /yandexmarket/products/offers calls `price`** — so comparing it against that `price` column is always wrong. Even against `price_with_card` the two endpoints can disagree, because each samples the offer pool independently and that pool rotates between calls. `rating` and the review counts are null on listings with no review page, which is normal rather than an error. `category_id` comes back in one of two forms, depending on how the source built that product's breadcrumb: an all-digits catalog id, which /yandexmarket/categories/products accepts directly, or an SEO slug such as 'mobilnyye-telefony-apple', which it rejects with 422. Both are common. So test whether `category_id` is numeric before passing it on, and treat the slug form as a label rather than a key.

Parameters

Request body

Response

Errors

Response headers