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

# Get product details from Google

`POST /google/get-product`

Get product details (title, description, rating, etc.) from Google given product ID

## Request body

- object
  - `product_id` string, required — The ID of the product to retrieve
  - `country_code` string — The country code for the product

## Response `200`

GetProduct API successful response

- object
  - `product` GoogleProduct
    - `product_id` string — The unique identifier for the product
    - `title` string — The title of the product
    - `description` string, nullable — A detailed description of the product
    - `photos` string[] — An array of URLs for the product photos
    - `attributes` object, nullable — A set of attributes for the product, represented as key-value pairs
    - `rating` number, float, nullable — The average rating of the product
    - `page_url` string, uri — The URL link to the product page
    - `num_reviews` integer, nullable — The total number of reviews for the product
    - `reviews_per_rating` object — The number of reviews for each rating level
    - `product_details` object — Detailed information about the product
    - `product_specs` object — Technical specifications of the product

## Other responses

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

## Changes

- **2024-11-20** `ba9d76d35d0b` — 2 breaking
  - the response property `product/description` became nullable for the status `200`
  - the response property `product/num_reviews` became nullable for the status `200`
- **2024-11-18** `baf00b3fd38a` — 2 breaking
  - the response property `product/attributes` became nullable for the status `200`
  - the response property `product/rating` became nullable for the status `200`

[Change history](https://skmtc.dev/carvedai/apis/exfunc-apis/changes/google/get-product/post.md)

---

[API](https://skmtc.dev/carvedai/apis/exfunc-apis.md) · [All operations](https://skmtc.dev/carvedai/apis/exfunc-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/carvedai/exfunc-apis/revisions/22587fdf9a5e/schema)
