Apinoa Docs

Places

Yandex 지도에서 장소를 찾습니다.

원본 .mdx 보기
GET | POST /v1/yandex/places

파라미터는 GET의 쿼리 문자열로도, POST의 JSON 본문으로도 보낼 수 있습니다. 둘은 같습니다.

요청

curl -G "https://gateway.apinoa.com/v1/yandex/places" \
  --data-urlencode "q=кафе" \
  --data-urlencode "near=Москва" \
  --data-urlencode "limit=5" \
  -H "x-api-key: $APINOA_API_KEY"

파라미터

파라미터타입필수설명
cursorstringThe previous page's cursor. Pass it alone for the next page.
limitinteger 1–100Results wanted (default 20, at most 100). More than one page is charged per page.
locationstringSearch as if from this point: lat,lng.
nearstringSearch around this place name, or a lat,lng point.
qstringThe query, search operators included.
typeenumThe map's list of places (the only one Yandex has). maps

같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.

응답

data에 PlacesPage를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

{
  "success": true,
  "data": {
    "engine": "yandex",
    "query": "кафе",
    "outcome": "results",
    "type": "maps",
    "near": "Москва",
    "lang": "en",
    "places": [
      {
        "id": "19464848293",
        "name": "Ryba moya",
        "url": "https://yandex.com/maps/org/ryba_moya/19464848293/",
        "address": {
          "full": "Moscow, Slavyanskaya Square, 2",
          "street": "Slavyanskaya Square, 2",
          "city": "Moscow",
          "postalCode": "109012",
          "country": "Russian Federation"
        },
        "coordinates": {"lat": 55.753391, "lng": 37.633956},
        "categories": ["Restaurant"],
        "rating": 4.9,
        "reviewCount": 2744,
        "priceLevel": "Avg. bill: from 3000 ₽",
        "phone": "+7 (495) 784-68-58",
        "website": "https://rybamoya.ru/?yclid=1305595376695246847&utm_content=19214665871…",
        "hours": [{"day": "daily", "hours": "12:00 PM–12:00 AM"}],
        "photos": ["https://avatars.mds.yandex.net/get-altay/4080517/2a0000017a04e6c999ab1…"],
        "attributes": [{"group": "Prices", "label": "average bill", "value": "3000–3500 ₽"}],
        "status": "closed",
        "lang": "en",
        "ext": {
          "subtitle": "Moscow, Slavyanskaya Square, 2",
          "ratingCount": 6132,
          "openNow": "Closed until 12:00 PM",
          "metro": [{"name": "Kitay-Gorod", "distance": "35 m", "type": "metro", "color": "#8647b2"}],
          "stops": [{"name": "Метро Китай-город", "distance": "41 m", "type": "common"}],
          "ad": true,
          "socialLinks": [
            {
              "type": "telegram",
              "href": "https://t.me/perelmanrestaurants",
              "readableHref": "@perelmanrestaurants"
            }
          ],
          "price": {"item": "Avg. bill", "from": 3000, "to": 3500, "currency": "₽"},
          "aspects": [
            {
              "text": "Meal",
              "count": 2275,
              "positive": 2002,
              "neutral": 58,
              "negative": 215,
              "photos": ["https://avatars.mds.yandex.net/get-altay/11244149/2a0000018c54982d3cc0…"]
            }
          ],
          "popularTimes": {
            "monday": [0],
            "tuesday": [0],
            "wednesday": [0],
            "thursday": [0],
            "friday": [0],
            "saturday": [0],
            "sunday": [0]
          },
          "menu": {
            "items": [
              {
                "title": "Сашими из лосося",
                "description": "Тонко нарезанное филе подаём с маринованным имбирём. Дополняем соевым…",
                "price": 1190,
                "currency": "₽",
                "volume": "85 g",
                "image": "https://avatars.mds.yandex.net/get-eda/17780111/9bed7a6d1dc748758ccd6b…",
                "url": "https://eda.yandex/restaurant/ryba_moya_slavyanskaya_ploshhad_2",
                "category": "popular"
              }
            ],
            "total": 49,
            "kind": "food",
            "source": "Yango Deli",
            "updated": "2026-10-04T09:23:14Z"
          },
          "advert": {
            "advertiser": "ООО \"СЫТОСТЬ\"",
            "advertiserTin": "7702407463",
            "products": [
              {
                "title": "Рулетики из форели",
                "price": "1 690 р.",
                "priceValue": 1690,
                "currency": "RUB",
                "image": "https://avatars.mds.yandex.net/get-tycoon/18984817/2a0000019eab71c29be…",
                "url": "https://rybamoya.ru/?utm_source=yandex_business&utm_medium=branding_pr…"
              }
            ]
          },
          "additionalAddress": "Рыба моя, этаж -1",
          "utcOffset": "+03:00",
          "entrances": [{"lat": 55.75341237, "lng": 37.63391087, "azimuth": 307.640383403427}],
          "panorama": "https://static-pano.maps.yandex.ru/v1/?panoid=1298236030_673226614_23_…",
          "goodPlaceYear": 2026,
          "unusualHours": ["2026-11-04"],
          "sources": [{"name": "Яндекс", "url": "ya.ru"}]
        },
        "photoCount": 500,
        "logo": "https://avatars.mds.yandex.net/get-altay/9720991/2a0000018853197f7fb60…",
        "verifiedOwner": true
      }
    ],
    "page": {"index": 1, "size": 24, "total": 74},
    "cursor": "CpvAP5fXWcEmQCibvkYcjH1W7JJK2W95AxceqbJDcZK1WginWDqQzBbLG1lFMIy7xY2V4n…",
    "fetchedAt": "2026-10-30T01:02:33.501Z",
    "ext": {
      "others": [
        {
          "type": "collection",
          "title": "Красивые кафе",
          "address": "Кафе с цепляющим глаз интерьером — для свидания, особого случая или пр…",
          "coordinates": [37.6167545],
          "image": "https://avatars.mds.yandex.net/get-discovery-int/1674621/2a00000186926…",
          "images": ["https://avatars.mds.yandex.net/get-altay/1899063/2a0000016bb3194290553…"]
        }
      ]
    }
  }
}

에러

상태코드의미
400INVALID_CURSOR이 오퍼레이션이 돌려준 cursor가 아닙니다. cursor 없이 처음부터 다시 호출하세요.
400INVALID_PARAMS파라미터가 없거나, 알 수 없거나, 범위를 벗어났거나, 이 엔진이 받지 않는 값입니다. 메시지에 이름이 나옵니다.
401UNAUTHORIZEDx-api-key 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다.
402INSUFFICIENT_BALANCE잔액이 이 호출 비용에 모자랍니다. 대시보드에서 충전하세요.
429MARKETPLACE_SATURATED동시 호출이 너무 많습니다. Retry-After 초만큼 기다린 뒤 다시 시도하세요.
502UPSTREAM_ERROR엔진이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요.
503SERVICE_UNAVAILABLE일시적인 장애입니다. 간격을 두고 다시 시도하세요.

모든 코드는 Errors에 있습니다. 실패한 호출은 과금되지 않습니다.

가격

가격 호출당 $0.0012, 추가 호출마다 $0.0012 — 최대 3번 더, 합계 최대 $0.0048. 정가 기준이며, 하루 1,000회를 넘으면 단가가 내려갑니다.

참고

  • near로 장소 이름 주변을, location(lat,lng)으로 좌표 주변을 검색합니다.
  • limit이 한 페이지보다 크면 다음 페이지들도 읽으며, 페이지마다 1단위입니다.

이 페이지 내용