Grocery & delivery
Kroger Scraper
kroger.com
Kroger runs one online platform for all of its supermarket banners, and the same two plugin endpoints cover every one of them: Kroger, Ralphs, Fred Meyer, King Soopers, Fry's, Smith's, QFC, Dillons, Baker's, City Market, Gerbes, Food 4 Less, Harris Teeter, Mariano's, Metro Market, Pick 'n Save, Jay C, Pay Less and FoodsCo, chosen with the banner parameter. Prices, promotions, stock and aisles belong to a single store, so every call is priced for one: a store_id, the banner's nearest store to a zip (with the other stores nearby listed, so you can pick another), or the banner's default store when you give neither, and the answer always names the store. The search endpoint returns the first page of results, up to 24 products in the site's own order, each with its Kroger product id, UPC, name, brand, size, link and image, the current price, the regular price and any sale price with the saving, the promotion (sale, price drop, multibuy, must buy or buy one get one), the unit price, whether it is sold by weight, the stock level and the most you can order, whether it can be picked up, delivered, bought in store or shipped, the aisle, bay and shelf, the rating and review count, its categories, SNAP eligibility, extra offers and the sponsored flag; brand narrows the search to one or more brands. The product endpoint takes a Kroger product id, a UPC or GTIN barcode, or a product link from any banner, and adds the description and highlights, every product image, the ingredients, allergens, the nutrition facts per serving with % daily value, dietary and nutrition claims, the category path, country of origin, storage, dimensions and weight. No Kroger account, login or API key is involved.
What you can extract
- Kroger product id, UPC and GTIN-14, name, brand, size, product link and image
- Price, regular price and sale price with the saving, and the unit price (for example $0.02 per fl oz)
- Promotion: sale, price drop, multibuy with its quantity and price, must buy or buy one get one, with its end date; extra offers
- Stock level, availability and the most you can order; pickup, delivery, in-store and ship-to-home availability
- Aisle, bay and shelf in the chosen store, rating and review count, categories, SNAP eligibility and the sponsored flag
- The store the prices are for (id, name, address, coordinates, hours, pickup or in-store) and, for a ZIP, the stores nearby
- Search on any of the 19 banners, priced for a store id, a ZIP or the default store, filtered by brand; up to 24 products per call
- Product detail: description and highlights, all images, ingredients, allergens, nutrition facts with % daily value, dietary and nutrition claims, category path, country of origin, storage, dimensions and weight
Dedicated endpoints
/groceries/kroger-search Kroger and banner store search
Products matching query on a banner (kroger, ralphs, fredmeyer, kingsoopers, frysfood, smithsfoodanddrug, qfc, dillons, bakersplus, citymarket, gerbes, foodfourless, harristeeter, marianos, metromarket, picknsave, jaycfoods, payless or foodsco; default kroger), priced for one store: store_id, the nearest store to zip, or the banner's default store. Returns store (storeId, name, banner, address, latitude, longitude, fulfillmentMethods, hours, pricesFor, selectedBy), totalResults and up to 24 products with productId, upc, gtin14, name, brand, size, url, image, price, regularPrice, salePrice, onSale, savings, promotion (type, text, quantity, quantityPrice, expiresAt), unitPrice (price, unit, text), soldBy, priceIsEstimate, currency (USD), available, stockLevel, maxOrderQuantity, fulfillment (pickup, delivery, inStore, ship), aisle (number, description, side, bay, shelf), rating, reviewCount, categories, snapEligible, offers, position and sponsored. brand takes one or more brands separated by | and max_results 1-24; with zip, nearbyStores lists the banner's stores near it.
/groceries/kroger-product Kroger and banner store product
One product by product (a Kroger 13-digit product id, a UPC or GTIN barcode, or a product link from any banner, which picks its banner by itself), priced for store_id, the nearest store to zip or the banner's default store. Returns store and product with every search field plus description, highlights, images, ingredients, allergens, nutrition (servingSize, servingsPerContainer, nutrients with amount, unit and dailyValuePercent), dietary, claims, organic, glutenFree, kosher, nonGmo, taxonomy, countryOfOrigin, storage, dimensions, weight, ratingBreakdown, alcohol and ageRestricted.
How to scrape it
curl -X POST \
-H "X-ScrapeUnblocker-Key: $SU_API_KEY" \
"https://api.scrapeunblocker.com/groceries/kroger-search?query=milk&banner=kroger&zip=45202"import requests
resp = requests.post(
"https://api.scrapeunblocker.com/groceries/kroger-search",
headers={"X-ScrapeUnblocker-Key": SU_API_KEY},
params={"query": "milk", "banner": "kroger", "zip": "45202"},
)
print(resp.text)import { ScrapeUnblockerClient } from 'scrapeunblocker';
const su = new ScrapeUnblockerClient({ apiKey: process.env.SU_API_KEY });
const results = await su.krogerSearch('milk', {
banner: 'ralphs',
zip: '90012',
});
const product = await su.krogerProduct('0001111041700', {
storeId: '01400929',
});
console.log(results);
console.log(product); Requests are POST and take their parameters in the query string. Browser rendering always happens - there is no flag to enable.
Example response
{
"banner": "kroger",
"bannerName": "Kroger",
"query": "milk",
"brands": [],
"store": {
"storeId": "01400473",
"name": "Newport",
"banner": "kroger",
"address": {
"line1": "20 W 6th St",
"line2": null,
"city": "Newport",
"state": "KY",
"zip": "41071",
"country": "US"
},
"latitude": 39.0894902,
"longitude": -84.494807,
"fulfillmentMethods": ["pickup", "inStore"],
"hours": [ { "days": "Sun - Sat", "hours": "6:00 AM - 10:00 PM" } ],
"pricesFor": "pickup",
"selectedBy": "zip"
},
"totalResults": 832,
"resultsCollected": 1,
"products": [
{
"productId": "0001111041700",
"upc": "011110417008",
"gtin14": "00011110417008",
"name": "Kroger® 2% Reduced Fat Milk Gallon",
"brand": "Kroger",
"size": "1 gal",
"url": "https://www.kroger.com/p/kroger-2-reduced-fat-milk-gallon/0001111041700",
"image": "https://www.kroger.com/product/images/large/front/0001111041700",
"price": 2.89,
"regularPrice": 2.89,
"salePrice": null,
"onSale": false,
"savings": null,
"promotion": null,
"unitPrice": { "price": 0.0226, "unit": "fl oz", "text": "$0.02/fl oz" },
"soldBy": "unit",
"priceIsEstimate": false,
"currency": "USD",
"priceText": "$2.89",
"available": true,
"stockLevel": "HIGH",
"unavailableReason": null,
"maxOrderQuantity": 140,
"fulfillment": { "pickup": true, "delivery": true, "inStore": true, "ship": false },
"aisle": { "number": "100", "description": "DAIRY", "side": "L", "bay": "18", "shelf": "2" },
"rating": 3.09,
"reviewCount": 88,
"categories": ["Dairy"],
"snapEligible": true,
"offers": [],
"position": 1,
"sponsored": false
}
],
"url": "https://www.kroger.com/search?query=milk",
"nearbyStores": [
{
"storeId": "01400513",
"name": "Kroger On the Rhine",
"banner": "kroger",
"address": {
"line1": "100 E Court St",
"line2": null,
"city": "Cincinnati",
"state": "OH",
"zip": "45202",
"country": "US"
},
"latitude": 39.10682,
"longitude": -84.51253,
"phone": "(513) 263-5900",
"distanceMiles": 0.08,
"fulfillmentMethods": ["inStore"],
"hours": [ { "days": "Sun - Sat", "hours": "6:00 AM - 10:00 PM" } ]
}
]
} Frequently asked questions
Is it legal to scrape Kroger?
Collecting publicly available Kroger data such as product names, shelf prices, unit prices and promotions is lawful in many jurisdictions, but the rules depend on your country, the data you collect and how you use it. ScrapeUnblocker returns the public product data; what you collect and how you use it is your responsibility.
How do I scrape Kroger without getting blocked?
Kroger and its banner sites sit behind Akamai Bot Manager, which turns plain HTTP clients away from product and category pages and from the site's own search API, and resets the connection for IP addresses it distrusts. The /groceries/kroger-search and /groceries/kroger-product plugins read the server-rendered search page, which carries the full product records for the chosen store, so a product is read as a search for its id with no browser at all; a call whose connection is refused moves to a fresh session on another ISP exit. In ScrapeUnblocker's benchmark it returned data on 100% of 1,072 calls across all 19 banners (672 searches, each with a different term, store or ZIP, and 400 product pages), about 2.5s per call.
What Kroger data can I get?
For each product in a search: the Kroger product id, UPC, name, brand, size, link and image, the current, regular and sale price with the saving, the promotion type, text, multibuy quantity and end date, the unit price, whether it is sold by weight, the stock level and the most you can order, pickup, delivery, in-store and ship-to-home availability, the aisle, bay and shelf, the rating and review count, categories, SNAP eligibility, extra offers and the sponsored flag. The product endpoint adds the description, highlights, every image, ingredients, allergens, nutrition facts per serving with % daily value, dietary and nutrition claims, the category path, country of origin, storage, dimensions, weight and the rating breakdown.
Which stores and banners does it cover, and how do I choose a store?
All 19 sites on Kroger's platform: Kroger, Ralphs, Fred Meyer, King Soopers, Fry's, Smith's, QFC, Dillons, Baker's, City Market, Gerbes, Food 4 Less, Harris Teeter, Mariano's, Metro Market, Pick 'n Save, Jay C, Pay Less and FoodsCo, picked with banner. Prices and stock differ from store to store, so pass store_id (the 8-digit id every answer shows) or zip, which prices at the banner's nearest store that takes online orders and lists the other stores nearby in nearbyStores. With neither, each banner uses a fixed default store, and store in the answer always says which store was priced.
Do I need a Kroger account or a US IP?
No. No Kroger account, loyalty card or login is needed, and no US address of your own: the store comes from store_id or zip, not from where the request is sent. Prices are the store prices shown for pickup (in-store prices for stores without pickup), in USD.
How much does it cost to scrape Kroger?
Each call is one request: a search returns up to 24 products, and a product call returns one product with its full details. 1 request = 1 credit, EUR 1.00 per 1,000 on pay as you go, down to about EUR 0.55 per 1,000 on the Ultimate plan. Blocks and timeouts are not billed, and the free trial includes 500 requests with no card.
Related scrapers
Kroger and other names and marks of kroger.com belong to their owner and are used here only to identify the website this API works with. ScrapeUnblocker is an independent service, not affiliated with, endorsed by or sponsored by the owner of kroger.com.
Start scraping this site today
Free tier included. No credit card required to test it.