Skip to main content
POST
/
api
/
yandexmarket
/
products
/
search
/yandexmarket/products/search
curl --request POST \
  --url https://api.anysite.io/api/yandexmarket/products/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "text": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "dpop",
  "price_min": 1,
  "price_max": 1,
  "high_rating": false
}
'
[
  {
    "product_id": "<string>",
    "@type": "@yandex_market_snippet",
    "sku_id": "<string>",
    "offer_id": "<string>",
    "business_id": "<string>",
    "title": "<string>",
    "image": "<string>",
    "alias": "<string>",
    "price": 123,
    "price_max": 123,
    "currency": "RUB",
    "rating": 123,
    "rating_count": 123,
    "offers_count": 123,
    "vendor_id": 123,
    "category_ids": [],
    "specs_highlights": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
text
string
required

Search keyword

Minimum string length: 1
Examples:

"iphone 15"

"наушники"

count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:dpop

Result ordering

Available options:
dpop,
aprice,
dprice,
rating,
date,
discount_p
price_min
integer | null

Minimum price filter

Required range: x >= 0
price_max
integer | null

Maximum price filter

Required range: x >= 0
condition
enum<string> | null

Product condition filter

Available options:
new,
resale
payment
enum<string> | null

Accepted payment method filter

Available options:
online,
card_courier,
cash_courier,
postpaid_pickup
high_rating
boolean
default:false

Only highly-rated products

Response

Successful Response

product_id
string
required
@type
string
default:@yandex_market_snippet
sku_id
string | null
offer_id
string | null
business_id
string | null
title
string | null
image
string | null
alias
string | null
price
number | null
price_max
number | null
currency
string
default:RUB
rating
number | null
rating_count
integer | null
offers_count
integer | null
vendor_id
integer | null
category_ids
integer[]
specs_highlights
string[]