Google Shopping Product Scraper API
API Endpoint Specifications
- Endpoint Path: /api/1/googleShoppingSERP
- Type of Data: JSON & 20/minute
- Data Source: Google Shopping
- Request Limit: 500 request/month
- Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Google Shopping Product Scraper API Endpoint Basic Info
API Endpoint Path
required
Google Shopping SERP product data Scraper API
api/1/googleShoppingSERP
Call Method
Required
GET
Type of Data Return
JSON
Output structured JSON data on Google Shopping SERP product
Available API Arguments & Parameters
token
required
BUYFROMLO API token. Free and paid Subscription API are available: /api/1/googleShoppingSERP, and accessible to on-site APP on /app/1/googleshopping as well
keyword
required
Input a keyword in English
country
Optional
Enter the full name of the country in which location IP the product data would be scraped, such as United States, Japan, Russia...
language
Optional
Input the SERP language iso-code, such as en, ja, fr, etc
marketLocation
Optional
Enter Google Shopping marketplace country iso-geo code, such as sg, cn...etc. Currently us and jp are available
Google Shopping SERP product data Scraper API
api/1/googleShoppingSERP
Code Integration and Response
Python Code Sample
import requests
# Required components #
token = "your buyfromlo token"
apiendpoint = "https://api.buyfromlo.com/api/1/googleShoppingSERP?"
keyword = "the target product keyword"
## Optional Components ##
## United States by default ##
country = "target market"
## en by default ##
language = "en"
## us by default ##
marketLocation = "us"
data="keyword=" + keyword + "&country=" + country + "&language=" + language + "&marketLocation=" + marketLocation
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"Keyword": " " (string),
"Location": " " (string),
"Google Shopping Domain": " " (string),
"Language": " " (string),
"Brand": " " (string),
"Title": " " (string),
"Shop URL": " " (string),
"Channel Domain": " " (string),
"Product ID": " " (string),
"Product Link": " " (string),
"Price": " " (float),
"Rating": " " (float),
"Reviews": " " (integer),
"Image URL": " " (string),
"serp_machine_learning_model": " " (string),
}