Search

The kroger_search data source is designed to retrieve Kroger search pages.

Request samples

In the samples below, we make a request to retrieve a search results page for the term running shoes, filter the results by the brand adidas and the price range 100.00-200.00, and specify the store ID as 01100212.

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "kroger_search",
        "search_term": "running shoes",
        "price_range": "100.00-200.00",
        "brand": "adidas",
        "store_id": "01100212"
    }'

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.

Request parameter values

Generic

Basic setup and customization options for scraping Kroger search pages.

ParameterDescriptionDefault Value

source

Sets the scraper.

kroger_search

search_term

The keyword or phrase to search for products.

-

store_id

Specify specific store. See the available store ID values here.

-

render

Enables JavaScript rendering when set to html. More info.

-

callback_url

URL to your callback endpoint. More info.

-

user_agent_type

Device type and browser. The full list can be found here.

desktop

- mandatory parameter

Filtering

Options to filter and refine search results based on various criteria.

ParameterDescriptionDefault Value

price_range

Defines the desired price range, formatted as min_price-max_price with two decimal places, separated by a hyphen (e.g., 10.00-20.00).

-

brand

Filters search results to include products from a specific brand.

-

Last updated