Walmart Shop API
The Walmart Shop API is a REST API that allows you to access data from Walmart shop pages using the walmart/shop endpoint.
You can query the API by passing in the shop_id of the shop you want to scrape.
curl -GET "https://proxy.scrapeops.io/v1/structured-data/walmart/shop?api_key=YOUR_API_KEY&shop_id=12345&country=us"
Or you can pass in the url of the shop page you want to scrape (make sure to encode the URL).
curl -GET "https://proxy.scrapeops.io/v1/structured-data/walmart/shop?api_key=YOUR_API_KEY&url=https%3A%2F%2Fwww.walmart.com%2Fbrand%2F10027886"
Authorisation - API Key
To use the ScrapeOps proxy, you first need an API key which you can get by signing up for a free account here.
Your API key must be included with every request using the api_key query parameter otherwise the API will return a 403 Forbidden Access status code.
API Parameters
The following parameters are available for the Walmart Shop API:
| Parameter | Description |
|---|---|
api_key | Required. The API key to use for the request. |
shop_id | The Walmart Shop ID of the shop you want to scrape. |
url | The URL of the shop page you want to scrape. If a URL is provided, the URL will take priority over the shop_id. |
country | The 2 letter country code of the where you want the shop data to be scraped from. Example: us, ca, mx, etc. |
tld | The Walmart domains to scrape from. Example: com, ca, com.mx, etc. |
The below table outlines the valid TLDs for Walmart domains.
| TLD | Walmart Domain |
|---|---|
com | walmart.com |
ca | walmart.ca |
com.mx | walmart.com.mx |
cl | walmart.cl |
com.br | walmart.com.br |