API:Scraper
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
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
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),
}
Google Shopping Product Scraper API is a tool that allows you to extract product data from Google Shopping search results.
You can extract various data points, including product name, price, shipping costs, brand name, and product page URL.
You can use the API by sending a request to the endpoint along with the necessary parameters. You can also find code samples for different programming languages on the BUYFROMLO documentation website.
The API offers several advantages, such as the ability to automate the data extraction process, save time and resources, and access reliable and up-to-date product information.
Yes, there are some limitations, including a monthly request limit and potential changes to the Google Shopping platform that may affect the accuracy of the extracted data.
Basic technical knowledge is recommended to use the API effectively. However, you can find extensive documentation and support resources on the BUYFROMLO website.
Yes, you can use the API for commercial purposes, but you must comply with the terms and conditions set forth by BUYFROMLO.
To get started, you can create a free BUYFROMLO account and obtain an API key. Then, you can explore the documentation, access code samples, and start sending requests to extract product data from Google Shopping.
Yes, BUYFROMLO provides a dedicated support team to assist you with any questions or issues you may encounter while using the API. You can reach out to the support team via email or through the support portal on the BUYFROMLO website.
BUYFROMLO offers both free and paid subscription plans for using the API. The free plan has certain limitations, while the paid plans provide more features and a higher request limit. You can find more information about the pricing on the BUYFROMLO website.