API Documentation

Google Product Specifications

ScrapeIN Google Shopping Product Specifications API Response Description.

ScrapeIN's Google Shopping Product Specifications Scraper API empowers users to extract structured data from Google Shopping Product Specifications query results. The API returns an HTML or JSON object that contains the search results and additional metadata about the search and can also output data in CSV format for ease of use.

HTML

Results of ScrapeIN Google Shopping Product Specifications

JSON Example

{
  "search_parameters" : {
    "product_id" : "15829982931199956962",
    "location" : "United States",
    "output" : "json",
    "google_domain" : "google.com",
    "gl" : "us",
    "hl" : "en",
    "product_type" : "specifications",
    "search_type" : "product",
    "engine" : "google"
  },
  "search_metadata" : {
    "created_at" : "2023-04-28T17:31:26.968Z",
    "processed_at" : "2023-04-28T17:31:31.683Z",
    "total_time_taken" : 4.71,
    "engine_url" : "https://www.google.com/shopping/product/15829982931199956962/specs?gl=us&hl=en&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw",
    "html_url" : "https://app.scrapein.app/api/v1/google/product-specifications?product_id=15829982931199956962&location=United+States&output=html&google_domain=google.com&gl=us&hl=en&api_key={API-KEY}&product_type=specifications&search_type=product&engine=google",
    "json_url" : "https://app.scrapein.app/api/v1/google/product-specifications?product_id=15829982931199956962&location=United+States&output=json&google_domain=google.com&gl=us&hl=en&api_key={API-KEY}&product_type=specifications&search_type=product&engine=google",
    "location_auto_message" : "We have automatically set the 'google_domain', 'gl' and 'hl' parameters to match the supplied location of 'United States'. You can stop this behaviour by setting the 'location_auto' parameter to 'false'."
  },
  "search_information" : {
    "original_query_yields_zero_results" : false
  },
  "product_results" : {
    "product_id" : "15829982931199956962",
    "title" : "Wilson Triumph Tennis Racquet",
    "description" : "Featuring an AirLite Alloy construction for lightweight power and extra durability, the Triumph is a value racket choice for recreational tennis players looking to get in the game. A large head size combines with innovative V-Matrix Technology to provide a significantly generous sweet spot, delivering more power with added forgiveness for better results on off-center contact with the ball. Throw in the vibrant purple and silver design on the frame, and you have a racket that is sure to have you feeling more excited about your game and ready to hit the court with your friends.",
    "specifications" : [
      {
        "id" : "racquet_head_size",
        "name" : "Racquet Head Size",
        "value" : "112 Sq. inch.",
        "category_id" : "details",
        "category" : "Details"
      },
      {
        "id" : "count",
        "name" : "Count",
        "value" : "1",
        "category_id" : "details",
        "category" : "Details"
      },
      {
        "id" : "multipack_quantity",
        "name" : "Multipack Quantity",
        "value" : "1",
        "category_id" : "details",
        "category" : "Details"
      },
      {
        "id" : "sport",
        "name" : "Sport",
        "value" : "Tennis",
        "category_id" : "details",
        "category" : "Details"
      },
      {
        "id" : "piece_count",
        "name" : "Piece Count",
        "value" : "1",
        "category_id" : "details",
        "category" : "Details"
      },
      {
        "id" : "count_per_pack",
        "name" : "Count Per Pack",
        "value" : "1",
        "category_id" : "details",
        "category" : "Details"
      },
      {
        "id" : "assembled_product_weight",
        "name" : "Assembled Product Weight",
        "value" : "1.05 lb",
        "category_id" : "details",
        "category" : "Details"
      },
      {
        "id" : "assembled_product_dimensions_l_x_w_x_h",
        "name" : "Assembled Product Dimensions (L x W x H)",
        "value" : "29.00 x 1.38 x 16.75 Inches",
        "category_id" : "details",
        "category" : "Details"
      }
    ]
  }
}

JSON Structure

The JSON structure returned by the Google Shopping Product Specifications API includes required elements, such as request_info, search_parameters, search_metadata, search_information, and pagination, as described in the Results SERP Google API section, as well as those specific to Google Shopping Product Specifications, which are described below.

product_results

Returns the following properties about the specific product being reviewed from the Google Shopping Product Specification page, including:

  • product_id: is a unique identifier for the product. In the case of Google redirecting to another product, the product ID may differ from the product ID query parameter.
  • title: indicates the title of the product at the top of the product specifications page.
  • description: provides product description as shown at the top of the product specifications page.
  • specifications: an array of objects that refers to a list of product specifications or attributes that describe the characteristics of a particular item. Each objects containing the product specifications include:
    • id: unique identifier for each specification that is specific to the locale, e.g., racquet_head_size.
    • name: the name of the specification, such as Racquet Head Size.
    • value: the specification value. For example, 112 Sq. inch.
    • category_id: the title text of the specification section is used as the locale-specific ID for the category that the specification belongs to. For example, details.
    • category: the name of the category to which this specification belongs, e.g., Details.