Lowe's Product
Scrape Lowe's products in real time with the Lowe's API.
Scrape Lowe's products in real time with the Lowe's API.
Lowe's Product Parameters
The Lowe's Product feature only takes one specific parameter:
| Parameter | Required | Type | Description |
|---|---|---|---|
product_id | Yes | string | The ID of the Lowe's product you want to scrape. |
Your full GET request should then be sent to the following address:
https://ecom.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&engine=lowes&product_id=<PRODUCT_ID>How to Get Lowe's Product ID
Lowe's identifies products by their ID. Our API uses the same identifier to scrape a Lowe's product.
The ID can be extracted from the product URL:
https://<LOWES_DOMAIN>/pd/<PRODUCT_NAME>/<PRODUCT_ID>Code Samples
curl --get "https://ecom.webscrapingapi.com/v1" \
--data-urlencode "api_key=<YOUR_API_KEY>" \
--data-urlencode "engine=lowes" \
--data-urlencode "product_id=5014255941"const params = new URLSearchParams({
api_key: "<YOUR_API_KEY>",
engine: "lowes",
product_id: "5014255941",
});
const response = await fetch(`https://ecom.webscrapingapi.com/v1?${params}`);
const data = await response.text();
console.log(data);import requests
params = {
"api_key": "<YOUR_API_KEY>",
"engine": "lowes",
"product_id": "5014255941",
}
response = requests.get("https://ecom.webscrapingapi.com/v1", params=params)
print(response.text)<?php
$query = http_build_query([
'api_key' => '<YOUR_API_KEY>',
'engine' => 'lowes',
'product_id' => '5014255941',
]);
echo file_get_contents("https://ecom.webscrapingapi.com/v1?$query");package main
import (
"fmt"
"io"
"log"
"net/http"
)
func main() {
url := "https://ecom.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&engine=lowes&product_id=5014255941"
response, err := http.Get(url)
if err != nil {
log.Fatal(err)
}
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil {
log.Fatal(err)
}
fmt.Println(string(body))
}HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://ecom.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&engine=lowes&product_id=5014255941"))
.GET()
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());using var client = new HttpClient();
var response = await client.GetAsync("https://ecom.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&engine=lowes&product_id=5014255941");
Console.WriteLine(await response.Content.ReadAsStringAsync());require 'net/http'
require 'uri'
uri = URI("https://ecom.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&engine=lowes&product_id=5014255941")
response = Net::HTTP.get_response(uri)
puts response.body