





API:Scraper
API Endpoint Path
required
Google Shopping SERP product data Scraper API
https://www.buyfromlo.com/api/1/googleShoppingSERP
Call Method
Required
GET
Type of Data Return
JSON
JSON output structured data for Google Shopping SERP product data
Token
required
BUYFROMLO API token. Subscription API is available on www.buyfromlo.com/apis, and accessible to on-site APP on www.buyfromlo.com/app 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
language
Optional
Input the SERP language iso-code, such as en, ja, fr, etc
marketLocation
Optional
Enter Google Shopping marketplace country iso-geo code. Currently us and jp are available
Google Shopping SERP product data Scraper API
https://www.buyfromlo.com/api/1/googleShoppingSERP
Python Code Sample
import requests
## Required components ##
token = "your buyfromlo token"
apiendpoint = "https://www.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"
## Call the api ##
response = requests.get(apiendpoint + "?token=" + token + "&keyword=" + keyword + "&country=" + country + "&language=" + language + "&marketLocation=" + marketLocation)
print(response.status)
print(response.json())
JSON Response Sample
{
"Keyword": "",
"Location": "",
"Google Shopping Domain": "",
"Language": "",
"Brand": "",
"Title": "",
"Shop URL": "",
"Channel Domain": "",
"Product ID": "",
"Product Link": "",
"Price": "",
"Rating": "",
"Reviews": "",
"Image URL": "",
"serp_machine_learning_model": ""
}