---
title: "Get product reviews from Google"
method: POST
path: "/google/get-product-reviews"
tags: ["Google"]
---

# Get product reviews from Google

`POST /google/get-product-reviews`

## Request

- Base URL: `https://api.exfunc.dev`
- URL: `https://api.exfunc.dev/google/get-product-reviews`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/carvedai/apis/exfunc-apis/docs/google/get-product-reviews/post.ts> (a function with typed inputs; its response is checked against the schema)

Get product reviews (title, author, source, rating, etc.) from Google given product ID

## Request body

- object
  - `product_id` string, required: The ID of the product for which to retrieve reviews
  - `country_code` string: The country code for the reviews
  - `per_page` integer: Number of reviews to return per page (default is 10)

## Response `200`

GetProductReviews API successful response

- object
  - `reviews` GoogleProductReview[]
    - `review_id` string: The unique identifier for the review
    - `title` string: The title of the review
    - `author` string: The author of the review
    - `source` string: The source where the review was published
    - `source_url` string, uri: The URL link to the review source
    - `text` string: The text content of the review
    - `rating` number, float: The rating given in the review
    - `datetime_utc` string, date-time: The date and time when the review was published in UTC
    - `photos` string[]: An array of URLs for photos included in the review

## Other responses

- `400`: User error response
- `500`: Server error response

---

[API](https://skmtc.dev/carvedai/apis/exfunc-apis.md) - [All operations](https://skmtc.dev/carvedai/apis/exfunc-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/carvedai/apis/exfunc-apis/revisions/22587fdf9a5e?raw)
