Copied to clipboard!

Google Online Sellers API

Code examples
Daily build status

To fetch Google product's online sellers from SerpApi, create a search with online parameter set to online. (I.e., sellers=online)

SerpApi JSON structure overview:
{
  ...
  "sellers_results": {
    "online_sellers": [
      {
        "position": String - Seller's position,
        "name": String - Seller's name,
        "link": String - Seller's product link,
        "rating": String - Seller's rating
        "price": {
          "base": String - Seller's product base price
          "shipping": String - Seller's product shipping price
          "tax": String - Seller's product tax price
          "total": String - Seller's product total price
        }
      },
    ]
  }
}

Online Sellers for a TV product


Google page structure:

Zoom In

Google Product Local Sellers TV
SerpApi JSON structure:
{
  ...
  "sellers_results": {
    "online_sellers": [
      {
        "position": 1,
        "seller": "CDW",
        "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiD5M7-jIDiAhXEhLMKHT9lBm8YABABGgJxbg&sig=AOD64_1dJtWDHsfdp-UwVFsis-gryWyNow&ctype=5&q=&ved=0ahUKEwjv-Mz-jIDiAhUSSN8KHaDuAKAQ2ikIHw&adurl=",
        "rating": "85%",
        "price": {
          "base": "$1,199.99",
          "shipping": "$123.00 tax",
          "tax": "$161.60 shi",
          "total": "$1,484.59"
        }
      },
      {
        "position": 2,
        "seller": "Electronic Express",
        "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiD5M7-jIDiAhXEhLMKHT9lBm8YABADGgJxbg&sig=AOD64_38pwaOLLZ8o3ikhA3yl4Bn-pD_sA&ctype=5&q=&ved=0ahUKEwjv-Mz-jIDiAhUSSN8KHaDuAKAQ2ikIIw&adurl=",
        "rating": "90%",
        "price": {
          "base": "$897.99",
          "shipping": null,
          "tax": null,
          "total": "$897.99"
        }
      },
      {
        "position": 3,
        "seller": "TigerDirect.com",
        "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiD5M7-jIDiAhXEhLMKHT9lBm8YABAFGgJxbg&sig=AOD64_0XEXLzAU6uqxdR096WS_879imeeA&ctype=5&q=&ved=0ahUKEwjv-Mz-jIDiAhUSSN8KHaDuAKAQ2ikIJw&adurl=",
        "rating": "89%",
        "price": {
          "base": "$1,199.00",
          "shipping": "$122.90 tax",
          "tax": null,
          "total": "$1,321.90"
        }
      },
      {
        "position": 4,
        "seller": "Sears - WALTS.COM",
        "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiD5M7-jIDiAhXEhLMKHT9lBm8YABAHGgJxbg&sig=AOD64_2ZNxGjh-Xs12VRjD1G9g1U8nfvhw&ctype=5&q=&ved=0ahUKEwjv-Mz-jIDiAhUSSN8KHaDuAKAQ2ikIKw&adurl=",
        "rating": null,
        "price": {
          "base": "$897.99",
          "shipping": null,
          "tax": null,
          "total": "$897.99"
        }
      },
      {
        "position": 5,
        "seller": "Walmart",
        "link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiD5M7-jIDiAhXEhLMKHT9lBm8YABAJGgJxbg&sig=AOD64_1v2ZdBo8sFk37HCMfi6qwPPKNvDA&ctype=5&q=&ved=0ahUKEwjv-Mz-jIDiAhUSSN8KHaDuAKAQ2ikILw&adurl=",
        "rating": "92%",
        "price": {
          "base": "$1,399.99",
          "shipping": "$143.50 tax",
          "tax": null,
          "total": "$1,543.49"
        }
      },
      ...
    ...
  ...
}