URL
Last updated
Was this helpful?
Last updated
Was this helpful?
You can get Kroger results by providing your own URLs to our service. We can return the HTML for any Kroger page you like.
The sample below demonstrates how to retrieve a Kroger search results page based on a specific product query, price range, and store location.
We use synchronous integration method in our examples. If you would like to use or asynchronous integration, refer to the section.
Basic setup and customization options for scraping Kroger marketplace.
source
Sets the scraper.
kroger
url
Direct URL (link) to any page.
-
render
-
callback_url
-
user_agent_type
desktop
- mandatory parameter
Customize results based on store locations, delivery areas, and preferred fulfillment methods.
store_id
-
Required when fulfillment_type
is set to pickup
or in_store
.
delivery_zip
Specify delivery location ZIP code.
-
Required when fulfillment_type
is set to delivery
or ship
.
fulfillment_type
Specify order fulfillment method. Available values: ship
, pickup
, delivery
, in_store
.
pickup
(if only store_id
is provided)
Requires store_id
for pickup
and in_store
, or delivery_zip
for delivery
and ship
.
Dependecies explained:
pickup
and in_store
values use the store_id
parameter to determine the correct store.
delivery
and ship
use the delivery_zip
parameter to specify the delivery location.
If only store_id
is provided, and fulfillment_type
is not specified, the default type is pickup
.
If the fulfillment_type
and store_id
/delivery_zip
combination is invalid (unsupported by Kroger), the scraped page will return with a 404 status.
Enables JavaScript rendering when set to html
. .
URL to your callback endpoint. .
Device type and browser. The full list can be found .
Specify a store. See the available values . The ID must start with '0'.