Apinoa Docs

Reviews

从 Yandex 获取地点的评论。

查看原始 .mdx
GET | POST /v1/yandex/reviews

参数可以用 GET 的查询字符串发送,也可以用 POST 的 JSON 请求体发送,两者等价。

请求

curl "https://gateway.apinoa.com/v1/yandex/reviews?place=19464848293&limit=5" \
  -H "x-api-key: $APINOA_API_KEY"

参数

参数类型必填说明
cursorstringThe previous page's cursor. Pass it alone for the next page.
limitinteger 1–200Results wanted (default 50, at most 200). More than one page is charged per page.
placestringThe place's id, as places returns it.
sortenumReview order. relevant newest highest lowest

这些参数及所有响应类型也写在OpenAPI 文档中。

响应

在 data 中返回 PlaceReviewsPage。 真实响应的节选:数组只保留前几项,长文本已截断。

{
  "success": true,
  "data": {
    "engine": "yandex",
    "placeId": "19464848293",
    "summary": {"average": 4.9, "count": 6132},
    "sort": "relevant",
    "page": {"index": 1, "size": 50, "total": 2757},
    "reviews": [
      {
        "id": "BNGlcaXPdYB7jJ_dUUZoOqYNlJVzIy",
        "author": "mark hewstone",
        "authorId": "hq1p0pnw1zedpgb6jwvdazhgxg",
        "rating": 5,
        "body": "A chain of fish restaurants in Moscow. Don't let that put you off thou…",
        "date": "2025-01-22T19:06:20.329Z",
        "helpfulCount": 1,
        "images": ["https://avatars.mds.yandex.net/get-altay/13947802/2a000001948f68975ae7…"],
        "language": "en",
        "reply": {"body": "Благодарим за высокую оценку!", "date": "2025-01-27T13:11:08.395Z"},
        "ext": {
          "authorLevel": "Level 12 Local Expert",
          "translations": {
            "ru": "Сеть рыбных ресторанов в Москве. Пусть это вас не смущает. Интересный…",
            "tr": "Moskova'da bir balık restoranları zinciri. Bunun seni ertelemesine izi…"
          }
        }
      }
    ],
    "cursor": "G5rcJ9qpiXbUoI3CB_hBjl9E0MXaTAbw_0wIeTRLSqR-AuuY0_8FgFyJ31bBOmDWWKTRkg…",
    "fetchedAt": "2026-10-30T01:02:41.286Z",
    "ext": {
      "aspects": [
        {
          "text": "Meal",
          "count": 2275,
          "positive": 2002,
          "neutral": 58,
          "negative": 215,
          "photos": ["https://avatars.mds.yandex.net/get-altay/11244149/2a0000018c54982d3cc0…"]
        }
      ],
      "place": {
        "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/",
        "hours": [{"day": "daily", "hours": "12:00 PM–12:00 AM"}],
        "photos": ["https://avatars.mds.yandex.net/get-altay/5517598/2a0000017ebeb4da3c875…"],
        "attributes": [{"group": "Prices", "label": "average bill", "value": "3000–3500 ₽"}],
        "status": "closed",
        "lang": "en",
        "ext": {
          "subtitle": "Moscow, Slavyanskaya Square, 2",
          "ratingCount": 6132,
          "photoCount": 499,
          "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,
          "verifiedOwner": true,
          "logo": "https://avatars.mds.yandex.net/get-altay/9720991/2a0000018853197f7fb60…",
          "socialLinks": [
            {
              "type": "telegram",
              "href": "https://t.me/perelmanrestaurants",
              "readableHref": "@perelmanrestaurants"
            }
          ],
          "price": {"item": "Avg. bill", "from": 3000, "to": 3500, "currency": "₽"},
          "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"],
          "accessibilityPhotos": [
            {
              "url": "https://avatars.mds.yandex.net/get-altay/4544819/2a00000178da7958d7963…",
              "tags": ["Entrance"],
              "width": 960,
              "height": 1280,
              "author": "Яндекс",
              "date": "2021-04-14T19:19:29Z"
            }
          ],
          "sources": [{"name": "Яндекс", "url": "ya.ru"}]
        }
      }
    }
  }
}

错误

状态代码含义
400INVALID_CURSOR该 cursor 不是本操作返回的。请不带它重新开始。
400INVALID_PARAMS参数缺失、未知、超出范围,或该引擎不接受。消息中会指出是哪一个。
401UNAUTHORIZED缺少 x-api-key 请求头,或密钥已吊销或未知。
402INSUFFICIENT_BALANCE余额不足以支付本次调用。请在控制台充值。
404NOT_FOUND该地点不存在。
429MARKETPLACE_SATURATED并发调用过多。请等待 Retry-After 秒后重试。
502UPSTREAM_ERROR引擎返回了无法使用的内容。请退避后重试。
503SERVICE_UNAVAILABLE临时故障。请退避后重试。

全部错误代码见 Errors。失败的调用不计费。

价格

价格 每次调用 $0.0012,每多一次调用加 $0.0012——最多再加 3 次,合计最多 $0.0048。标价;单日调用超过 1,000 次后单价下调。

说明

  • 把 places 返回的地点 id 作为 place 传入。

本页内容