> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hobbo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Shopping Reviews

> This endpoint fetches product reviews from Google Shopping detail pages.



## OpenAPI

````yaml POST /google-shopping/reviews
openapi: 3.1.0
info:
  title: OpenAPI Plant Store
  description: >-
    A sample API that uses a plant store as an example to demonstrate features
    in the OpenAPI specification
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.hobbo.ai
    description: Main API server
  - url: https://py-api.hobbo.ai
    description: Python API server for scraper endpoints
security:
  - ApiKeyAuth: []
paths:
  /google-shopping/reviews:
    post:
      description: This endpoint fetches product reviews from Google Shopping detail pages.
      requestBody:
        description: Google Shopping review scraping parameters
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleShoppingReviewsRequest'
        required: true
      responses:
        '200':
          description: Reviews fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleShoppingReviewsResponse'
              examples:
                validationError:
                  value:
                    all_reviews: []
                    extra_information: {}
                    message: <string>
        '400':
          description: Validation error or unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                validationError:
                  value:
                    error: <string>
      servers:
        - url: https://py-api.hobbo.ai
components:
  schemas:
    GoogleShoppingReviewsRequest:
      type: object
      required:
        - query
      properties:
        query:
          type: string
          description: Provide the Google Shopping product detail page URL.
        reviews_to_fetch:
          type:
            - number
            - 'null'
          description: >-
            Number of reviews to fetch (default: all reviews, or within
            30-second timeout).
        sort_type:
          type:
            - string
            - 'null'
          enum:
            - most_recent
            - most_relevant
          default: most_relevant
          description: Order in which reviews should be sorted.
        filter_by:
          type:
            - integer
            - string
            - 'null'
          enum:
            - 1
            - 2
            - 3
            - 4
            - 5
            - null
            - non_incentivized_only
          default: null
          description: Filter applied to the review rating or incentive type.
        sync_date:
          type:
            - string
            - 'null'
          description: 'Fetches reviews posted on a specific date using format: YYYY-MM-DD.'
        is_text_formatted:
          type: boolean
          description: Returns the review text with visual formatting preserved.
          default: true
        pagination_data:
          type:
            - object
            - 'null'
          description: Pagination metadata returned by previous Google Shopping responses.
    GoogleShoppingReviewsResponse:
      type: object
      properties:
        all_reviews:
          type: array
          description: Array of fetched reviews
          items:
            type: object
            properties:
              query:
                type:
                  - string
                  - 'null'
                description: Original query URL
              review_text:
                type:
                  - string
                  - 'null'
                description: Content of the review
              author_name:
                type:
                  - string
                  - 'null'
                description: Name of the review author
              review_rating:
                type:
                  - number
                  - 'null'
                description: Rating given in the review
              review_date:
                type:
                  - string
                  - 'null'
                description: Date when the review was posted
              review_title:
                type:
                  - string
                  - 'null'
                description: Title of the review
              review_platform:
                type:
                  - string
                  - 'null'
                description: Platform label displayed on Google Shopping
              review_url:
                type:
                  - string
                  - 'null'
                description: URL pointing to the original review
              review_id:
                type:
                  - string
                  - 'null'
                description: Identifier of the review
              author_profile_image_url:
                type:
                  - string
                  - 'null'
                description: Profile image URL of the author
              author_profile_image_url_org:
                type:
                  - string
                  - 'null'
                description: Original/high-resolution profile image URL
              review_media:
                type:
                  - array
                  - 'null'
                description: Media attached to the review
                items:
                  type: object
                  properties:
                    media_type:
                      type:
                        - string
                        - 'null'
                      description: Type of media (image, video, etc.)
                    media_url:
                      type:
                        - string
                        - 'null'
                      description: Direct URL to the media item
                    thumbnail_url:
                      type:
                        - string
                        - 'null'
                      description: Thumbnail URL of the media item
        extra_information:
          type: object
          properties:
            extra_information:
              type: object
              description: Additional metadata about the product or pagination
            total_review_count:
              type:
                - integer
                - 'null'
              description: Total number of reviews fetched
            total_review_count_list:
              type:
                - array
                - 'null'
              items:
                type: integer
              description: List of review counts per page
        message:
          type: string
          description: Status message about the review extraction
    Error:
      type: object
      properties:
        status:
          type: integer
          description: HTTP status code
        data:
          type: object
          description: Empty object or additional error data
        success:
          type: boolean
          description: Indicates operation failed
          example: false
        message:
          type: string
          description: Error message describing what went wrong

````