Yandex Search API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
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.
Send POST https://api.everyinfra.com/api/v1/social with platform set to yandex and action set to search. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
Yandex Search looks up businesses and places on Yandex Maps by keyword, such as museums in Saint Petersburg or coffee shops in Moscow, and returns one row per place: name, descriptive text, address, city, phone, website, business categories, rating with its review count, coordinates and whether it is open at the moment. Sales teams, franchise operators and market analysts use it to map the local businesses of a city, build lead lists of shops and clinics, or check how a chain's branches are rated against their neighbors.
This is a map search, not a web search, so keyword should name a kind of business or a specific place. Set the city with location, which defaults to Moscow, and narrow by type with category. city and address are passed through exactly as Yandex writes them, so standardize spellings before you group rows by city. A null review_count means Yandex does not show the count, not that a place has no reviews, and is_open_now describes the moment of the call.
AI prompt
#Please help me write a data collection script with the EveryInfra Yandex Search endpoint (yandex/search).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to yandex and action to search, and put the parameters inside params.
- Required parameters:
- keyword: 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.
- Optional parameters:
- category: Filters place categories for the Yandex search action (e.g., restaurants, cafes, coffee_shops, hotels, or none to clear). (allowed: atms / auto_repair / banks / bars_pubs / beauty_salons / burgers / cafes / car_wash)
- lang: 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. (allowed: en / kk / ru / tr / uk)
- language: 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: 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: 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: 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.
- sort: 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. (allowed: distance / relevance)
- limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: id, url, name, text, address, city, country, categories, rating, rating_scale, review_count, phone; 16 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=yandex.
- Example request body:
{
"platform": "yandex",
"action": "search",
"params": {
"keyword": "музей Санкт-Петербург"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | yandex | Platform identifier, fixed value. |
action | body | string | Yes | search | Capability identifier, fixed value. |
keyword | body.params | string | Yes | - | 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 | body.params | string (enum) | No | - | 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.Allowed valuesatmsauto_repairbanksbars_pubsbeauty_salonsburgerscafescar_washcinemascoffee_shopsdentistsdry_cleaningfast_foodfitness_clubsgas_stationsgovernment_servicesgrocery_storeshookah_barshospitalshotelskindergartensmuseumsnonepharmaciespizzarestaurantsschoolsshopping_mallssports_facilitiessushi_rollsveterinary_clinics |
lang | body.params | string (enum) | No | - | 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.Allowed valuesenkkrutruk |
language | body.params | string | No | - | 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 | body.params | string | No | - | 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 | body.params | number | No | - | 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 | body.params | number | No | - | 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 | body.params | string (enum) | No | - | 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.Allowed valuesdistancerelevance |
limit | body.params | integer (1–100) | No | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "yandex",
"action": "search",
"params": {
"keyword": "музей Санкт-Петербург"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "yandex", "action": "search", "results": [ { "id": "•••", "url": "https://yandex.com/maps/org/yusupovskiy_dvorets_na_moyke/1484458665/", "name": "Юсуповский дворец на Мойке", "text": "наб. реки Мойки, 94, Санкт-Петербург", "address": "Санкт-Петербург, набережная реки Мойки, 94", "city": "Санкт-Петербург", "country": "Россия", "categories": [ "Музей", "достопримечательность", "культурный центр" ], "rating": 5, "review_count": 20295, "phone": [ "•••" ], "website": "https://yusupov-palace.ru/ru?yclid=1047539603321651199", "lat": 59.929384, "lng": 30.29887, "is_open_now": false, "platform": "yandex", "rating_scale": 5 }, { "id": "•••", "url": "https://yandex.com/maps/org/muzey_yantarya_solnechnogo_kamnya/198760504469/", "name": "Музей Янтаря - Солнечного камня", "text": "Невский просп., 51, Санкт-Петербург", "address": "Санкт-Петербург, Невский проспект, 51", "city": "Санкт-Петербург", "country": "Россия", "categories": [ "Музей", "магазин парфюмерии и косметики", "магазин бижутерии" ], "rating": 4.599999904632568, "review_count": 97, "phone": [ "•••" ], "website": "http://www.jantarspb.ru/?yclid=14418971870541905919", "lat": 59.931873, "lng": 30.34891, "is_open_now": false, "platform": "yandex", "rating_scale": 5 } ], "count": 10, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
url | Link to the record on the platform. |
name | Name of the object itself, for account, product and business capabilities. |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
address | Full address, passed through as is. |
city | City name in the platform's language, not normalized. |
country | Country or region: a full name or an ISO code depending on the platform, not normalized. |
categories | Keeps the platform's own meaning |
rating | Rating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
phone | Contact phone number, passed through without format normalization. |
website | External website entered by the account or business. |
lat | Keeps the platform's own meaning |
lng | Keeps the platform's own meaning |
is_open_now | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
FAQ
#Is this a Yandex web search API?
#No. Yandex Search looks up places on Yandex Maps, the way you would search the map for museums or banks in a city, and returns place records with addresses, phone numbers, ratings and coordinates rather than web pages. Product listings from Yandex Market are a separate dataset, read with the Yandex Market capability.
Which parameters set the city and the language?
#location sets the city searched and defaults to Moscow; give a city name, not a numeric region code. lang sets the interface language to ru, en, kk, tr or uk and overrides language when you send both; language defaults to ru here. Neither one promises that text in the results comes back translated.
How do category and the price filters narrow a search?
#category keeps one type of business, such as restaurants, cafes, pharmacies, museums or banks, and none applies no category; pick one that agrees with your keyword and city. min_price and max_price set the map's own price filter for businesses, a different measure from a product price on Yandex Market and never the cost of the call. sort orders by relevance or distance.
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Yandex Maps: Business Profile Cards, Categories, and Ratings ↗
Official profile card documentation outlines business category, address, rating, review count, and operating information. This explains map objects; the presence of buttons on profile cards does not imply that this API provides booking or map editing capabilities.
Checked 2026-09-05