Search
Scrape Menards search result pages by providing a search term.
The menards_search source is designed to retrieve Menards search result pages. We can return the HTML for any Menards search page you like. To see the response example with retrieved data, download this sample output file in HTML format.
Currently, our API only provides HTML output for this page type. However, you can easily build your own parser if you would like to get JSON-structured data.
Request samples
The samples below illustrates how you can get a Menards search result.
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "menards_search",
"query": "shower"
}'import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'menards_search',
'query': 'shower'
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload,
)
# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())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
source
Sets the scraper.
menards_search
query
The keyword or phrase to search for products.
-
start_page
Starting page number.
1
- mandatory parameter
Localization
Adapt results to specific stores and delivery types.
store_id
Specify a store ID. For example, 3045 from the store's URL: /store.html?store=3045.
-
String
pickup_at_store_eligible
Pickup available at store.
-
Boolean
in_stock_today
Item is in stock today.
-
Boolean
fulfillment_center
Order can be shipped from a centralized Menards warehouse.
-
Boolean
delivery_eligible
Item qualifies for home delivery service.
-
Boolean
Last updated
Was this helpful?

