curl --request POST \
--url https://api.scrapeunblocker.com/groceries/instacart-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/groceries/instacart-search"
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/groceries/instacart-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape Instacart product search
Searches one retailer’s Instacart catalogue (Costco, Aldi, Publix, Safeway, Kroger, CVS, Sprouts, … named by retailer) for query and returns products in Instacart’s order, priced at the store Instacart assigns to zip: id (item id), productId, name, brand, size, packageSize, price, priceText, wasPrice, onSale, unitPrice (price, per, text), soldBy (each / weight), estimatedWeight, promotions (text, type), available, stockLevel, rating, reviewCount, category, storeBrand, dietary, aisle, image and url, plus store (the shop, its location id and the ZIP code used) and totalResults. Prices are Instacart’s prices in USD, which can differ from the retailer’s in-store prices. Up to max_results products, billed one unit per 30.
curl --request POST \
--url https://api.scrapeunblocker.com/groceries/instacart-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/groceries/instacart-search"
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/groceries/instacart-search', 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
The retailer's Instacart slug: the part after /store/ in an Instacart link, e.g. 'costco', 'aldi', 'publix', 'safeway', 'kroger', 'cvs', 'sprouts', 'wegmans', 'sams-club'. An Instacart store link is accepted too.
What to search for, e.g. 'milk', 'greek yogurt', 'paper towels'.
5-digit US ZIP code of the delivery area. Instacart prices and stock belong to the store serving it. Default 94105 (San Francisco).
Products to return, 1-300, in Instacart's order. Billed one unit per 30.
Response
JSON with products. A search without matches answers 200 with an empty products list.

