# Yandex API

Retrieve Yandex Maps merchants and Market products to examine business reviews, item prices, and shop ratings.

Set the target city to filter local business searches. Moscow is the default region for market lookups.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "yandex", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/yandex-api](https://everyinfra.com/en/yandex-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Find businesses and places on Yandex Maps for a keyword in a city. Get address, phone, website, categories, rating, review count, coordinates and open-now status. `location` defaults to Moscow, and `category` narrows the place type. Ratings do not confirm availability or quality.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Specifies search terms for Yandex actions, targeting local places in search and e-commerce items in market. Map listings and product catalogs query separate underlying datasets.
  - `category` (optional): Filters place categories for the Yandex search action (e.g., restaurants, cafes, coffee_shops, hotels, or none to clear). This parameter does not apply to Yandex Market product categories and must align with the specified keyword and city. One of: atms, auto_repair, banks, bars_pubs, beauty_salons, burgers, cafes, car_wash, cinemas, coffee_shops, dentists, dry_cleaning, fast_food, fitness_clubs, gas_stations, government_services, grocery_stores, hookah_bars, hospitals, hotels, kindergartens, museums, none, pharmacies, pizza, restaurants, schools, shopping_malls, sports_facilities, sushi_rolls, veterinary_clinics.
  - `lang` (optional): Sets the response language for the Yandex search action, accepting ru, en, kk, tr, or uk. This controls search interface locale and does not guarantee translation of user-generated review content. One of: en, kk, ru, tr, uk.
  - `language` (optional): Sets the fallback interface language for Yandex actions, defaulting to ru for search and en for reviews. Explicitly passing lang on the search action overrides this parameter.
  - `location` (optional): Sets the target city for the Yandex search action, defaulting to Moscow. This parameter takes city names and is distinct from numeric Yandex Market region IDs.
  - `max_price` (optional): Sets the upper price boundary for the targeted Yandex action when used in conjunction with min_price. It does not filter by maximum user rating. Filtering uses whole numbers: decimals round up (145.98 becomes 146).
  - `min_price` (optional): Sets the lower price limit for Yandex actions, representing product price on market and local place price tier on search. These values reflect target-platform price points rather than API usage fees. Filtering uses whole numbers: decimals round down (39.81 becomes 39).
  - `sort` (optional): Controls sorting order per Yandex action. Accepts relevance or distance for search; popular or top_rated for market; and newest (default), relevance, top_rated, or lowest_rated for reviews. Values cannot be used across different actions. One of: distance, relevance.
- Returns fields: id, url, name, text, address, city, country, categories, rating, rating_scale, review_count, phone, website, lat, lng, is_open_now, platform
- Capability page: [https://everyinfra.com/en/yandex-api/search](https://everyinfra.com/en/yandex-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/yandex-api/search.md)

### market — Market
Compare products on Yandex Market for a search term. Get price, rating, review and purchase counts, shop name and rating, and stock. Set the city with `city` or the numeric `region` code, which defaults to Moscow. Nothing is ordered, and stock is not guaranteed.
- Sync delivery · Price: $22.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Specifies search terms for Yandex actions, targeting local places in search and e-commerce items in market. Map listings and product catalogs query separate underlying datasets.
  - `city` (optional): Specifies the target city slug (e.g., moscow, saint_petersburg) for the Yandex market action. Must match an allowed enum value and cannot be substituted for location on map searches. One of: chelyabinsk, kazan, krasnodar, krasnoyarsk, moscow, nizhny_novgorod, novosibirsk, omsk, perm, rostov_on_don, saint_petersburg, samara, ufa, volgograd, voronezh, yekaterinburg.
  - `max_price` (optional): Sets the upper price boundary for the targeted Yandex action when used in conjunction with min_price. It does not filter by maximum user rating. Filtering uses whole numbers: decimals round up (145.98 becomes 146).
  - `min_price` (optional): Sets the lower price limit for Yandex actions, representing product price on market and local place price tier on search. These values reflect target-platform price points rather than API usage fees. Filtering uses whole numbers: decimals round down (39.81 becomes 39).
  - `region` (optional): Accepts a numeric city region code for the Yandex market action, defaulting to 213 (Moscow). This is an internal region identifier, not an RU country code. Providing an explicit city parameter overrides this setting.
  - `sort` (optional): Controls sorting order per Yandex action. Accepts relevance or distance for search; popular or top_rated for market; and newest (default), relevance, top_rated, or lowest_rated for reviews. Values cannot be used across different actions. One of: popular, top_rated.
- Returns fields: id, url, title, price, currency, rating, rating_scale, rating_count, review_count, purchase_count, category, shop_name, shop_rating, stock, is_available, image_url, platform
- Capability page: [https://everyinfra.com/en/yandex-api/market](https://everyinfra.com/en/yandex-api/market?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/yandex-api/market.md)

### reviews — Reviews
Collect reviews of a business on Yandex Maps, up to 200 per call. Each review has text, score, date, likes and dislikes, and the owner's reply. Pass a map place link or business ID, not a Market product link. `sort` can put `lowest_rated` complaints first.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `url` (required): Specifies a full Yandex Map place URL or a direct businessId string for the reviews action. This parameter does not accept Yandex Market product links.
  - `language` (optional): Sets the fallback interface language for Yandex actions, defaulting to ru for search and en for reviews. Explicitly passing lang on the search action overrides this parameter.
  - `sort` (optional): Controls sorting order per Yandex action. Accepts relevance or distance for search; popular or top_rated for market; and newest (default), relevance, top_rated, or lowest_rated for reviews. Values cannot be used across different actions. One of: lowest_rated, newest, relevance, top_rated.
- Returns fields: id, url, text, rating, rating_scale, posted_at, language, like_count, dislike_count, comment_count, author_name, owner_reply, business_id, business_name, business_rating, business_review_count, platform
- Capability page: [https://everyinfra.com/en/yandex-api/reviews](https://everyinfra.com/en/yandex-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/yandex-api/reviews.md)

## Yandex API questions

### What can I retrieve with the Yandex API?

Set `platform` to `yandex`. The current catalog lists search, market, and reviews. These action names identify different Yandex objects or views; they are not interchangeable search modes.

### Which input starts the Yandex `search` request?

Specifies search terms for Yandex actions, targeting local places in search and e-commerce items in market. Map listings and product catalogs query separate underlying datasets. Send it as `keyword` inside `params`.

### Which fields can Yandex `search` return?

Its declared schema includes `name`, `text`, `address`, and `city`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Yandex action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=yandex
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
