circle-check
Documentation has been updated: see help center and changelog in one place.

Kroger

Kroger scraping API documentation with product, search, and URL scrapers. Get started with code samples in multiple languages.

With Web Scraper API, you can scrape the Krogerarrow-up-right marketplace. Below is an overview of the supported scrapers and their respective source values.

Source
Description
Dedicated parser

kroger_product

Product page of a product ID of your choice.

-

kroger_search

Search results for a search term of your choice.

-

kroger

Submit any Kroger URL you like.

-

circle-info

You can always write your own parsing instructions with Custom Parser feature and get structured data.

Getting started

Create your API user credentials: Sign up for a free trial or purchase the product in the Oxylabs dashboardarrow-up-right to create your API user credentials (USERNAME and PASSWORD).

circle-exclamation

Request samples

In the example below, we make a request to retrieve Kroger search results for the search term adidas.

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "kroger_search",
        "query": "adidas"
    }'

We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.

Optionally, you can include additional parameters such as user_agent_type, render and more to customize your scraping request. Read more:

Featureschevron-right

Last updated

Was this helpful?