Google Inline Products API

Deprecated

The Inline Products API will soon be deprecated, and the results will be served in Immersive Products API. You may head over to the documentation to get the latest view of the API response.

For some searches, Google organic results include inline products. SerpApi is able to extract and make sense of this information. Inline products can contain title, block_title, source, price, rating, reviews, thumbnail, tag, editorial_reviews and more.

API Examples

JSON structure overview

{
  "inline_products": [
    {
      "position": "Integer - Position of the product",
      "title": "String - Title of the product",
      "block_title": "String - Title of the product's parent block"
      "link": "String - URL to the product",
      "tag": "String - Status of the product",
      "source": "String - Product source",
      "source_thumbnail": "String - Source thumbnail",
      "price": "Numeric - Price of the product",
      "currency": "String - Currency of the price",
      "original_price": "Numeric - Price of the product before the discount",
      "rating": "Numeric - Product rating",
      "reviews": "Numeric - Product reviews",
      "thumbnail": "String - URL to the product thumbnail",
      "specifications": {
        "extensions": "Array - List of product features",
      },
      "editorial_reviews": [
        {
          "link": "String - URL to the editorial review",
          "source": "String - Source of the review",
          "description": "String - Text of the review",
        },
        ...
      ]
    },
    ...
  ],
  "see_more_inline_products_link": "String - Link to complete Google Shopping results",
  "see_more_inline_products_serpapi_link": "String - Link to complete Google Shopping results in JSON by SerpApi"
}

Results for: Best headphones

Results for: Best headphones

JSON Example

{
  ...
  "inline_products": [
    {
      "position": 1,
      "title": "Sony WH-1000XM4",
      "block_title": "Top 24 Headphones",
      "tag": "SALE",
      "source": "Best Buy",
      "price": 299.0,
      "currency": "$",
      "original_price": 350,
      "rating": 4.6,
      "reviews": 9000,
      "thumbnail": "<URL to image>",
      "specifications": {
        "extensions": [
          "4 Pack",
          "Black, White, Blue, Silver",
          "Google Assistant, Amazon Alexa",
          ...
        ]
      }
    },
    {
      "position": 2,
      "title": "Bose Noise Cancelling Headphones 700",
      "block_title": "Top 24 Headphones",
      "source": "Bose",
      "price": 379.0,
      "currency": "$",
      "rating": 4.4,
      "reviews": 8000,
      "thumbnail": "<URL to image>",
      "specifications": {
        "extensions": [
          "3 Pack",
          "Black, White, Blue, Silver, Gray, Triple Black, Luxe Silver, Triple Midnight, Soapstone, Eclipse Edition",
          "Google Assistant, Amazon Alexa, Siri",
          ...
        ]
      }
    },
    {
      "position": 3,
      "title": "Apple AirPods Pro",
      "block_title": "Top 24 Headphones",
      "source": "Walmart - BuySPRY",
      "price": 189.99,
      "currency": "$",
      "rating": 4.6,
      "reviews": 9000,
      "thumbnail": "<URL to image>",
      "specifications": {
        "extensions": [
          "1–2 Pack",
          "Black, White, Matte Black",
          "Siri",
          ...
        ]
      }
    },
    ...
  ],
  "see_more_inline_products_link": "https://www.google.com/search?ucbcb=1&gl=us&hl=en&q=Best+headphones&tbm=shop&sa=X&ved=2ahUKEwj9mJGW_LP4AhW4VTABHSYRApcQwdwHKBh6BQhsEOYB",
  "see_more_inline_products_serpapi_link": "https://serpapi.com/search.json?device=desktop&engine=google&gl=us&google_domain=google.com&hl=en&location=Austin%2C+Texas%2C+United+States&q=Best+headphones&tbm=shop",
  ...
}

Results for: Best headphones on mobile

Results for: Best headphones on mobile

JSON Example

{
  ...
  "inline_products": [
    {
      "position": 1,
      "title": "Sony WH-1000XM4",
      "block_title": "Top Headphones",
      "link": "https://www.pcmag.com/picks/the-best-noise-cancelling-headphones",
      "tag": "SALE",
      "source": "B&H Photo-Video-Audio",
      "source_thumbnail": "<URL to image>",
      "price": 298.0,
      "currency": "$",
      "original_price": 348,
      "rating": 4.6,
      "reviews": 9000,
      "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSzoLai9_COXCzWPSG3prVWqlEmHiIKE4RTF9lv4-7fdJHNqOl2Bd8AwgXbmw",
      "editorial_reviews": [
        {
          "link": "https://www.pcmag.com/picks/the-best-noise-cancelling-headphones",
          "source": "PCMag",
          "description": "Excellent audio performance with …Top-tier noise cancellation with …"
        }
      ]
    },
    {
      "position": 2,
      "title": "Apple AirPods Pro",
      "block_title": "Top Headphones",
      "link": "https://www.google.com/search?q=headphone+rf&stick=H4sIAAAAAAAAAOPgmsHEu4iVJyM1MaUgIz8vVaEoDQBx3pqjFAAAAA&sa=X&ved=2ahUKEwjiquOLzt71AhUFrHIEHV6VCQIQh4UGegQIWRAd",
      "source": "eBay",
      "source_thumbnail": "<URL to image>",
      "price": 180.0,
      "currency": "$",
      "rating": 4.6,
      "reviews": 9000,
      "thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQLq3xyhCjDewC6LxcigH-gp13OKjL4y83FD2XyyZeyOlJF78kfeWYhDrBvu5EviASxAJw9sUkv",
      "editorial_reviews": [
        {
          "link": "https://www.google.com/search?q=headphone+rf&stick=H4sIAAAAAAAAAOPgmsHEu4iVJyM1MaUgIz8vVaEoDQBx3pqjFAAAAA&sa=X&ved=2ahUKEwjiquOLzt71AhUFrHIEHV6VCQIQh4UGegQIWRAd",
          "source": "from web reviews",
          "description": "#2 in Wireless"
        },
        {
          "link": "https://www.google.com/search?q=nc+headphones&stick=H4sIAAAAAAAAAOPgmsHEu4iVNy9ZISM1MaUgIz8vtRgAnAe3JBUAAAA&sa=X&ved=2ahUKEwjiquOLzt71AhUFrHIEHV6VCQIQh4UGegQIWRAf",
          "source": "from web reviews",
          "description": "#1 in Noise Cancelling"
        }
      ]
    },
    {
      "position": 3,
      "title": "Bose Noise Cancelling Headphones 700",
      "block_title": "Top Headphones",
      "link": "https://www.pcmag.com/picks/the-best-noise-cancelling-headphones",
      "source": "Bose",
      "source_thumbnail": "<URL to image>",
      "price": 379.0,
      "currency": "$",
      "rating": 4.4,
      "reviews": 8000,
      "thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSIQRlXNY-xRr9xZ3yT1qpFK0I-5Kr-4MzKRBnI9iiqgi1-r9459NQt08SxspI8dOzbVa4TYprR",
      "editorial_reviews": [
        {
          "link": "https://www.pcmag.com/picks/the-best-noise-cancelling-headphones",
          "source": "PCMag",
          "description": "Adjustable noise cancellation and …Excellent microphone clarity"
        }
      ]
    },
    ...
  ],
  "see_more_inline_products_link": "https://www.google.com/search?q=Best+headphones&hl=en-US&gl=us&prmd=svin&source=univ&tbm=shop&sa=X&ved=2ahUKEwi73urr_bP4AhWBhOAKHZUNDCcQ1TUoAHoFCAEQqAI",
  "see_more_inline_products_serpapi_link": "https://serpapi.com/search.json?device=mobile&engine=google&gl=us&google_domain=google.com&hl=en-US&location=Austin%2C+Texas%2C+United+States&q=Best+headphones&tbm=shop",
  ...
}