Lowes Product Reviews API
With a GET request to the /api/getter/?platform="lowes_reviews"
endpoint, we can scrape customer reviews for any product on Lowes' online store in real-time.
Example
Here's an example showcasing how you can scrape customer reviews for any product on Lowes.com using its product URL
and the page number we're interested in scraping reviews from.
The results are sorted by recency, so the most recent reviews are on page 1
.
1 |
|
Query Parameters
As you can see in the example below, our endpoint needs the following query parameters:
Review Query
url
Required
Parameter defines the URL of the product listing for which you want to query reviews. Value of this parameter must be encoded.
page
Optional
Parameter defines the page number from which you want to query reviews. The default value is 1. Max value 1000.
Note
Even when the response mentions the no_of_pages
as greater than 1000, the maximum page
number for which you can query reviews with the API is 1000.
Other Required Parameters
platform
Required
Parameter specifies the scraping engine you want to invoke. For the Lowes Reviews API, the value should be lowes_reviews.
api_key
Required
Parameter defines your account's token. Get your API key for free here.
Note
The value of the query parameter url
must be URL or percent encoded. If you're using Python, this can be done with the function urlencode
.
Results
Each request returns up to 10 reviews. The response will include the following attirbutes for each review present in the response:
Attributes Returned | Data Type | Information Represented |
---|---|---|
id | string | Retailer ID of the review |
date | string | Date when review was published |
rating | int | Rating by reviewer |
review_title | string | Review title by reviewer |
review_text | string | Review's text content |
author_name | string | Reviewer's name |
meta_data | dict | Dict containing meta data like whether purchase is verified and user recommends product. For e.g. verified purchase status |
lang_code | string | Country level language of review content |
Response Example
Each request returns up to 10 results. Here's the response you can expect for the request showcased above:
{
"success": true,
"url": "https://www.lowes.com/pd/Husqvarna-YTH18542-18-5-HP-Hydrostatic-42-in-Riding-Lawn-Mower-with-Mulching-Capability-Kit-Sold-Separately/1000368427",
"page": 1,
"total_results": 1344,
"no_of_pages": 135,
"result_count": 10,
"reviews": [
{
"id": "218897373",
"date": "2022-08-10",
"rating": 5,
"review_title": "Great delivery service.",
"review_text": "The unit was put together by Lowe's. We had a quick delivery date. I followed the pre-startup instructions. The mower started up immediately. I completed the transmission prep and the mower runs great. I'm hoping for none of the issues some of the owners have experienced.",
"review_url": null,
"author_name": "Larry",
"author_url": null,
"author_avatar": null,
"meta_data": {
"helpful_vote_count": null,
"is_syndicated": false,
"is_recommended": true,
"source": "samsclub.com"
},
"lang_code": "en_US",
"response": null
},
{
"id": "218844089",
"date": "2022-08-07",
"rating": 5,
"review_title": "Bill in lawn and garden was most helpful. Thx Bill",
"review_text": "I did an online review and was interested in the Husqvarna lawn tractor. It had good reviews. Bill in lawn and garden answered all my questions and was very helpful.",
"review_url": null,
"author_name": "Gary",
"author_url": null,
"author_avatar": null,
"meta_data": {
"helpful_vote_count": null,
"is_syndicated": false,
"is_recommended": true,
"source": "samsclub.com"
},
"lang_code": "en_US",
"response": null
},
{
"id": "218772548",
"date": "2022-08-04",
"rating": 1,
"review_title": "Ensure the battery isn’t dead & not a floor model",
"review_text": "Mower worked once, then the battery died. They had to send someone out to replace it. Four days after purchasing it, it needed someone to come out. That’s not good. On top of that, it sounds like it’s going to fall apart at any minute. While riding, the blade deck sounds like it’s held on with two paper clips and some string. It sounds loose and broken. Finally, when it arrived, it was filthy and wet, like it was sitting outside for a week. I suspect they sent me a floor model that was sitting outside.",
"review_url": null,
"author_name": "BobTheMower",
"author_url": null,
"author_avatar": null,
"meta_data": {
"helpful_vote_count": 1,
"is_syndicated": false,
"is_recommended": false,
"source": "samsclub.com"
},
"lang_code": "en_US",
"response": null
},
],
"remaining_credits": 1134508
}
Request Cost
1 credit per request.
Support
If you want to add a parameter to our response, or have any question or feedback, please write to us at support@unwrangle.com