API:Scraper
API Endpoint Path
required
Homedepot Search Result Information Scraper API
api/1/homedepot
Call Method
Required
GET
Type of Data Return
JSON
Output structured JSON data on Homedepot SERP product
token
required
BUYFROMLO API token. Paid subscription API is available: /api/1/homedepot, and accessible to on-site APP on /app/1/homedepotserp as well
keyword
required
Input a keyword in English
sortby
required
Sort out the SERP product data by two paramaters. TopSeller, BestReviews
page
Optional
Total amount of product SERP page scraping. Max. amount of pages are 5. The default value is 1st page, which is 1.
Homedepot Search Result Information Scraper API
api/1/homedepot
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/homedepot?"
## Required Arguments & Parameters ##
token = ""your buyfromlo token""
keyword = ""Input a query""
sortby = "sort by two options: TopSeller or BestReviews"
## Optional Argument ##
page="page number. The default number is 1"
data="keyword=" + keyword + "&page=" + page + "&sortby=" + sortby
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"SERP Position": " " (string),
"Product ID": " " (string),
"Product Title": " " (string),
"Product Image": " " (string),
"Product Link": " " (string),
"Product Brand": " " (string),
"Product Rating": " " (float),
"Product Review": " " (integer),
"Product Price": " " (float),
"Product Delivery": " " (float),
}
The HomeDepot Product Scraper API is a JSON-based API that allows users to scrape product information from the Home Depot website.
You can scrape the following types of data using the HomeDepot Product Scraper API:
The data is updated every 20 minutes.
The request limit is 500 requests per month.
The following programming languages are supported:
Yes, there is a paid subscription option that allows you to access the API with a higher request limit.
Yes, you can integrate the API with your own applications using the provided code snippets.
The API allows you to scrape the data programmatically, while the on-site APP allows you to scrape the data manually.
You can find more information about the HomeDepot Product Scraper API in the documentation.
You can get started using the HomeDepot Product Scraper API by creating an account and getting an API key.