{
  "openapi": "3.0.1",
  "info": {
    "title": "Yandex Maps Scraper · Парсер Яндекс Карт",
    "description": "Yandex Maps businesses by query and city or by link: phones, websites, social links, emails, address, hours, rating, photos and menu. Организации Яндекс Карт по запросу и городу или по ссылке: телефоны, сайты, соцсети, почта, адрес, часы, рейтинг, фото и меню.",
    "version": "0.1",
    "x-build-id": "kHiTUybK9h60zxyFk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/theshark~yandex-maps-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-theshark-yandex-maps-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/theshark~yandex-maps-scraper/runs": {
      "post": {
        "operationId": "runs-sync-theshark-yandex-maps-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/theshark~yandex-maps-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-theshark-yandex-maps-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "queries": {
            "title": "Search queries · Поисковые запросы",
            "type": "array",
            "description": "What to search for on Yandex Maps: a category or a name («кафе», «стоматология», «автосервис»). Russian words find more. When one search reaches 1,000 places, the Yandex Maps limit, the run splits its area into parts and searches each. An organization found twice is returned and charged once.<br><br>Что искать на Яндекс Картах: рубрику или название (кафе, стоматология, автосервис). По-русски находится больше. Если поиск доходит до 1000 мест — предела Яндекс Карт, — запуск делит его область на части и ищет в каждой. Организация, найденная дважды, отдаётся и оплачивается один раз.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations · Места",
            "type": "array",
            "description": "Cities, districts or streets to search in: every query runs in every location (Kazan, Samara, Moscow Arbat). Empty: the place written in the query itself, otherwise Moscow.<br><br>Города, районы или улицы, где искать: каждый запрос идёт в каждом месте (Казань, Самара, Москва Арбат). Пусто — место из самого запроса, иначе Москва.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Links · Ссылки",
            "type": "array",
            "description": "Yandex Maps links: a search page (yandex.ru/maps/43/kazan/search/..., or a map view with a search: only the places inside that view; filters chosen on the site come along), a category with all its places (yandex.ru/maps/43/kazan/category/cafe/184106390/), a chain with all its branches (yandex.ru/maps/43/kazan/chain/...), an organization (yandex.ru/maps/org/..., a short share link yandex.ru/maps/-/...) or an organization id alone (160974271233).<br><br>Ссылки Яндекс Карт: поиск (yandex.ru/maps/43/kazan/search/... или окно карты с поиском — только места в этом окне; фильтры, выбранные на сайте, тоже действуют), рубрика со всеми её местами (yandex.ru/maps/43/kazan/category/cafe/184106390/), сеть со всеми филиалами (yandex.ru/maps/43/kazan/chain/...), организация (yandex.ru/maps/org/..., короткая ссылка «Поделиться» yandex.ru/maps/-/...) или просто номер организации (160974271233).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "latitude": {
            "title": "Point: latitude · Точка: широта",
            "type": "number",
            "description": "Instead of locations: search around a point (55.796127). Needs longitude and a radius. The queries run strictly inside a square around the point, and places farther than the radius are left out and not charged. Applies to queries, not to links.<br><br>Вместо мест — поиск вокруг точки (55.796127). Нужны долгота и радиус. Запросы идут строго в квадрате вокруг точки, а места дальше радиуса не попадают в строки и не оплачиваются. Действует на запросы, не на ссылки."
          },
          "longitude": {
            "title": "Point: longitude · Точка: долгота",
            "type": "number",
            "description": "Longitude of the point (49.106414).<br><br>Долгота точки (49.106414)."
          },
          "radius_km": {
            "title": "Point: radius, km · Точка: радиус, км",
            "minimum": 0.1,
            "maximum": 100,
            "type": "number",
            "description": "Radius around the point, from 0.1 to 100 km.<br><br>Радиус вокруг точки, от 0,1 до 100 км."
          },
          "sort_by_distance": {
            "title": "Point: nearest first · Точка: сначала ближние",
            "type": "boolean",
            "description": "With a point: results go by distance from it, as Yandex Maps sorts them. Yandex Maps still puts its advertising places first.<br><br>С точкой — выдача по расстоянию от неё, как сортируют Яндекс Карты. Рекламные места Яндекс Карты всё равно ставят первыми.",
            "default": false
          },
          "max_items": {
            "title": "Maximum organizations per run · Организаций за запуск, не больше",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The run stops collecting at this number, across all queries and links.<br><br>На этом числе запуск останавливается — по всем запросам и ссылкам вместе.",
            "default": 100
          },
          "max_items_per_search": {
            "title": "Maximum organizations per search · Организаций с поиска, не больше",
            "minimum": 1,
            "type": "integer",
            "description": "Optional. Caps each search on its own, inside the run maximum: each query in each location, and each search link. Leave it empty to let one search take everything up to the run maximum.<br><br>Необязательно. Предел для каждого поиска отдельно, внутри предела запуска: для каждого запроса в каждом месте и для каждой ссылки на поиск. Пусто — один поиск может взять всё до предела запуска."
          },
          "min_rating": {
            "title": "Minimum rating · Рейтинг от",
            "enum": [
              "3.0",
              "3.5",
              "4.0",
              "4.5",
              "4.7",
              "4.9"
            ],
            "type": "string",
            "description": "Only places Yandex Maps rates at least this high. Yandex Maps applies every filter in this section to the search itself, so other places never reach the dataset and are not charged. Filters apply to searches and search links, not to organization links.<br><br>Только места с рейтингом Яндекс Карт не ниже этого. Все фильтры этого раздела применяют сами Яндекс Карты к поиску, поэтому другие места в датасет не попадают и не оплачиваются. Фильтры действуют на поиски и ссылки на поиск, не на ссылки на организации."
          },
          "place_filters": {
            "title": "Must have · Обязательно есть",
            "type": "array",
            "description": "Only places that have all of these, as Yandex Maps filters them. Which filters a category has depends on it: every category has open now, open 24 hours, card payment, parking and with photos; cafes and clinics also have the good place award, online booking and wheelchair access; cafes have Wi-Fi, delivery, takeaway and the rest.<br><br>Только места, где есть всё это, как фильтруют Яндекс Карты. Набор фильтров зависит от рубрики: у всех есть «открыто сейчас», «круглосуточно», оплата картой, парковка и «с фото»; у кафе и клиник — ещё «Хорошее место», онлайн-запись и доступность для колясок; у кафе — Wi-Fi, доставка, навынос и остальное.",
            "items": {
              "type": "string",
              "enum": [
                "open_now",
                "open_24h",
                "card_payment",
                "parking",
                "with_photos",
                "good_place",
                "online_booking",
                "wheelchair_access",
                "wifi",
                "delivery",
                "takeaway",
                "business_lunch",
                "breakfast",
                "summer_terrace",
                "coffee_to_go",
                "kids_room",
                "for_children"
              ],
              "enumTitles": [
                "Open now · Открыто сейчас",
                "Open 24 hours · Круглосуточно",
                "Card payment · Оплата картой",
                "Parking · Парковка",
                "With photos · С фото",
                "Good place award · Хорошее место",
                "Online booking · Онлайн-запись",
                "Wheelchair access · Доступно на коляске",
                "Wi-Fi · Есть Wi-Fi",
                "Food delivery · Доставка еды",
                "Takeaway · Еда навынос",
                "Business lunch · Бизнес-ланч",
                "Breakfast · Завтрак",
                "Summer terrace · Летняя веранда",
                "Coffee to go · Кофе с собой",
                "Kids room (cafes) · Детская комната (кафе)",
                "Treats children (clinics) · Приём детей (клиники)"
              ]
            },
            "default": []
          },
          "price_categories": {
            "title": "Price level · Уровень цен",
            "type": "array",
            "description": "Only places in any of these Yandex Maps price levels. Yandex Maps gives them mostly to cafes, restaurants and bars.<br><br>Только места с одним из этих уровней цен Яндекс Карт. Уровни цен Яндекс Карты дают в основном кафе, ресторанам и барам.",
            "items": {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "above_average",
                "high"
              ],
              "enumTitles": [
                "Low · Низкие",
                "Medium · Средние",
                "Above average · Выше среднего",
                "High · Высокие"
              ]
            },
            "default": []
          },
          "categories": {
            "title": "Categories (by id) · Рубрики (по номеру)",
            "type": "array",
            "description": "Only places in any of these Yandex Maps categories, by id: 184106390 cafes, 184106394 restaurants, 184106384 bars. The category_ids column of any run lists the ids of the places it returned. To collect a whole category, paste its category page link into Links instead.<br><br>Только места в одной из этих рубрик Яндекс Карт, по номеру: 184106390 — кафе, 184106394 — рестораны, 184106384 — бары. Номера рубрик найденных мест — в колонке category_ids любого запуска. Чтобы собрать рубрику целиком, вставьте ссылку на её страницу в Ссылки.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "chains": {
            "title": "Chains (by id) · Сети (по номеру)",
            "type": "array",
            "description": "Only branches of any of these Yandex Maps chains, by id (the chain_id column of any run). Fill in a query as well, a broad word is enough: the chain narrows a search. To collect a chain in a city, its chain page link in Links works too.<br><br>Только филиалы одной из этих сетей Яндекс Карт, по номеру (колонка chain_id любого запуска). Запрос тоже нужен, хватит общего слова: сеть сужает поиск. Собрать сеть в городе можно и ссылкой на страницу сети в Ссылках.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "category_names": {
            "title": "Categories (by name) · Рубрики (по названию)",
            "type": "array",
            "description": "Only places in any of these Yandex Maps categories, by name, as Yandex Maps writes it in the data language («шиномонтаж»). The run looks the name up first and logs which category it took: the one with the same name, otherwise Yandex Maps' first match.<br><br>Только места в одной из этих рубрик Яндекс Карт, по названию — как его пишут Яндекс Карты на языке данных (шиномонтаж). Сначала запуск находит рубрику по названию и пишет в лог, какую взял: с тем же названием, иначе — первую, что предложили Яндекс Карты.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "chain_names": {
            "title": "Chains (by name) · Сети (по названию)",
            "type": "array",
            "description": "Only branches of any of these Yandex Maps chains, by name, as Yandex Maps writes it («Магнит», «Шоколадница»). The run looks the name up where the searches go and logs the chain it found.<br><br>Только филиалы одной из этих сетей Яндекс Карт, по названию — как его пишут Яндекс Карты (Магнит, Шоколадница). Запуск находит сеть там, где идут поиски, и пишет в лог, какую нашёл.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "with_phone": {
            "title": "Only with a phone · Только с телефоном",
            "type": "boolean",
            "description": "Leave out places whose card has no phone. They are not counted in Maximum organizations and not charged. These lead filters apply to searches, not to organization links.<br><br>Пропускать места, у которых в карточке нет телефона. Они не идут в счёт предела организаций и не оплачиваются. Отбор для лидов действует на поиски, не на ссылки на организации.",
            "default": false
          },
          "with_website": {
            "title": "Only with a website · Только с сайтом",
            "type": "boolean",
            "description": "Leave out places whose card has no website.<br><br>Пропускать места, у которых в карточке нет сайта.",
            "default": false
          },
          "min_reviews": {
            "title": "Minimum reviews · Отзывов от",
            "minimum": 1,
            "type": "integer",
            "description": "Only places with at least this many written reviews (the reviews_count column).<br><br>Только места, где отзывов не меньше этого числа (колонка reviews_count)."
          },
          "skip_closed": {
            "title": "Skip closed places · Без закрытых",
            "type": "boolean",
            "description": "Leave out places Yandex Maps marks as closed for good or temporarily closed.<br><br>Пропускать места, которые Яндекс Карты отмечают закрытыми навсегда или временно.",
            "default": false
          },
          "site_emails": {
            "title": "Emails from websites · Почта с сайтов",
            "type": "boolean",
            "description": "Opens the organization's own website as Yandex Maps lists it (the home page, and its Contacts or About page if needed) and adds the emails found there. Only websites from Yandex Maps are opened. A charge only for organizations where an email was found. Takes longer: up to 3 more pages per organization with a website.<br><br>Открывает сайт самой организации из Яндекс Карт (главную, а если нужно — страницу «Контакты» или «О нас») и добавляет найденную там почту. Открываются только сайты из Яндекс Карт. Оплата — только за организации, где почта нашлась. Дольше: до 3 страниц на организацию с сайтом.",
            "default": false
          },
          "menu": {
            "title": "Full menu or price list · Всё меню или прайс",
            "type": "boolean",
            "description": "Also collect the whole menu (or price list) with prices, weights and photos: one more request per organization whose card shows popular dishes or goods. A separate charge per organization with a menu. Without it every row still has up to 10 popular dishes.<br><br>Ещё и всё меню (или прайс) с ценами, весом и фото: ещё один запрос на организацию, у которой в карточке есть популярные блюда или товары. Отдельная плата за организацию с меню. И без этого в каждой строке — до 10 популярных блюд.",
            "default": false
          },
          "all_photos": {
            "title": "All photos · Все фото",
            "type": "boolean",
            "description": "Collect every photo of the organization instead of the first 11: one more request per organization that has more. A separate charge per organization whose row got more than 11 photos.<br><br>Все фото организации вместо первых 11: ещё один запрос на организацию, у которой их больше. Отдельная плата за организацию, у которой в строке больше 11 фото.",
            "default": false
          },
          "posts": {
            "title": "Posts · Посты",
            "type": "boolean",
            "description": "Also collect the organization's posts (news, events, offers) with their date, text and photos, up to the last 100: one more request per organization. A separate charge per organization with posts.<br><br>Ещё и посты организации (новости, события, акции) с датой, текстом и фото, до 100 последних: ещё один запрос на организацию. Отдельная плата за организацию с постами.",
            "default": false
          },
          "new_only": {
            "title": "Only new organizations · Только новые организации",
            "type": "boolean",
            "description": "Skip organizations this history store has already delivered, and pay only for new ones.<br><br>Пропускать организации, которые это хранилище истории уже отдавало, и платить только за новые.",
            "default": false
          },
          "language": {
            "title": "Language of the data · Язык данных",
            "enum": [
              "ru",
              "en",
              "tr",
              "kk",
              "uk"
            ],
            "type": "string",
            "description": "Language Yandex Maps gives its data in: categories, opening hours and features are translated; English and Turkish also spell most names, addresses, cities and metro stations in Latin letters. Reviews and the place summary stay as written.<br><br>Язык, на котором Яндекс Карты отдают данные: рубрики, часы работы и особенности переводятся; на английском и турецком большинство названий, адресов, городов и станций метро — ещё и латиницей. Отзывы и краткое описание места — как написаны.",
            "default": "ru"
          },
          "sessions": {
            "title": "Sessions at once · Сессий одновременно",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "How many anonymous visitors work at the same time, each with its own IP.<br><br>Сколько анонимных посетителей работают одновременно, у каждого свой IP.",
            "default": 4
          },
          "proxy": {
            "title": "Your own proxies · Свои прокси",
            "type": "string",
            "description": "Optional. One per line: user:pass@host:port, Russian IPs. Without them the run uses its own Russian proxies.<br><br>Необязательно. По одному в строке: user:pass@host:port, российские IP. Без них запуск идёт через свои российские прокси."
          },
          "history_store": {
            "title": "History store · Хранилище истории",
            "type": "string",
            "description": "Named key-value store that keeps sessions and delivered organizations between runs.<br><br>Именованное key-value хранилище, где между запусками лежат сессии и отданные организации.",
            "default": "yandex-maps-history"
          },
          "output_language": {
            "title": "Language of the log and status · Язык лога и статуса",
            "enum": [
              "en",
              "ru"
            ],
            "type": "string",
            "description": "Yandex Maps' own data stays as the site gives it.<br><br>Данные самих Яндекс Карт остаются такими, как отдаёт сайт.",
            "default": "en"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}