curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/grainger-product \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/grainger-product"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/grainger-product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape one Grainger product
Fetches one Grainger item (by sku, the Grainger item number, or url) and returns it as JSON: sku, productId, title, brand, manufacturerModel, url, price (signed-out Web Price), priceLabel, priceType, wasPrice, unitOfMeasure (e.g. ‘pkg. of 100’), quantityPricing, currency, status, discontinued, sellInfo, shippingWeight, description, specifications (name / value, including UNSPSC and country of origin), images, documents (spec sheets, drawings), alternateSkus and breadcrumbs. Stock is not included: Grainger checks it per ZIP code after the page loads.
curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/grainger-product \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/grainger-product"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/grainger-product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
Grainger item number, e.g. '1XE66' or '22TA59' (the sku of a search result).
Instead of sku: a Grainger product link, e.g. https://www.grainger.com/product/Hex-Head-Cap-Screw-Stainless-1XE66.
Response
JSON with the product record.

