Apinoa Docs

Reviews

Get a product's reviews from Google Shopping.

View raw .mdx
GET | POST /v1/google-shopping/reviews

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

Request

curl "https://gateway.apinoa.com/v1/google-shopping/reviews?id=14699928440903523478" \
  -H "x-api-key: $APINOA_API_KEY"

Parameters

ParameterTypeRequiredNotes
cursorstringNext page: pass the previous result's cursor alone.
idstringThe product, as a search item's id carries it. Only a product Google groups across stores (an id of digits only) has reviews.
urlstringA Google Shopping product link instead of id (the url a search item carries).

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns ReviewPage in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "marketplace": "google-shopping",
    "productId": "14699928440903523478",
    "summary": {
      "average": 4.7083335,
      "count": 456,
      "distribution": {"1": 3, "2": 1, "3": 4, "4": 11, "5": 83},
      "starCounts": {"1": 11, "2": 4, "3": 14, "4": 49, "5": 378}
    },
    "page": {"index": 1, "size": 10, "total": 456},
    "reviews": [
      {
        "id": "PR_3P_f5ad9bac86f8a072818655448a2d2a25",
        "author": "Joshua W",
        "authorAvatarUrl": "https://lh3.googleusercontent.com/shsm/AGYqVK3f_a0qsNdewufUaN9jNMjhBA2iqYGxMmbkzY_-9XUnWM-EHp54sZUtlNtGLSKzmHRExg=w40-h40-c0x00000000-cc",
        "rating": 3,
        "title": "Looking for some help",
        "body": "The shoes feel great.. the very light and comfortable under the foot…. The staff were great and very helpful when I was there… she told me I had a slight curved…",
        "images": [],
        "syndicatedFrom": "ewavedemo.com",
        "ext": {"dateText": "2 months ago"}
      },
      {
        "id": "PR_3P_b2d0f4e9a87ebcd67397b1a448940f0a",
        "author": "Default",
        "authorAvatarUrl": "https://lh3.googleusercontent.com/shsm/AGYqVK36QOcqS62Et64UZUlsDp50FK0-LzpzaUd1Agzu2JVkg3ql3vf6jik6HH6NLO97COzJZg=w40-h40-c0x00000000-cc",
        "rating": 5,
        "title": "Great shoe for training runs",
        "body": "I’ve put 20 miles on these shoes now in 4 easy runs. I have never had a rocker-style shoe before but they were noticeably plusher/softer and also nicer when goi…",
        "images": [],
        "syndicatedFrom": "scheels.com",
        "ext": {"dateText": "2 months ago"}
      }
    ],
    "cursor": "YN15aw6pZJw1FMvFzP6fLCf0K96FEghuBGv4a93oJ-0zQyEfuCFWmFieSYh0NJKmYigKFBV16DeiEsT-lY3MyBrmGWZdMJ9vH_JZWUXjH0-TI4WKYoKGUF6U2-RV9NMs7SqyGL3MrLEVFTYSCgTtTtfdeF_O-7xW…"
  }
}

Errors

StatusCodeMeaning
400INVALID_CURSORThe cursor is not one this operation returned. Start again without it.
400INVALID_PARAMSA parameter is missing, unknown or out of range, or the engine does not take it. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_BALANCEThe balance does not cover this call. Top up in the dashboard.
404REVIEWS_NOT_FOUNDGoogle Shopping keeps no reviews for this product: it is one store's product, not one Google groups across stores. The message names the id.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe engine answered with something unusable. Retry with backoff.
503SERVICE_UNAVAILABLEA temporary failure. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price $0.0012 per call. List price; the rate steps down above 1,000 calls a day.

Notes

  • Google keeps reviews per product it groups across stores. A search item whose id is all digits is one of those. An id that starts with c or p is one store's product, which has no reviews there: it returns 404 REVIEWS_NOT_FOUND without being billed.

On this page