walmart.ca APIwalmart.ca ↗
Search Walmart Canada product listings, retrieve detailed specs and reviews, and get all pharmacy locations via 3 structured API endpoints.
curl -X GET 'https://api.parse.bot/scraper/11ed3ebb-eb32-4e14-93dd-df77916cfce9/search_products?query=laptop' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for products on Walmart Canada by keyword. Returns product listings with price, brand, rating, and availability information. Some queries may be redirected by Walmart to category pages, resulting in an upstream_error.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination |
| sort | string | Sort order: best_match, price_low, price_high, rating_high |
| limit | integer | Maximum number of results to return per page |
| queryrequired | string | Search keyword (e.g. 'laptop', 'headphones') |
{
"type": "object",
"fields": {
"items": "array of product objects with id, name, price, brand, image, rating, num_reviews, url, seller, availability, fulfillment_type",
"total": "integer total number of matching products"
},
"sample": {
"data": {
"items": [
{
"id": "4CFVU29OU98H",
"url": "/en/ip/Jumper-17-6-Windows-11-Laptop/4CFVU29OU98H",
"name": "Jumper 17.6\" Windows 11 Laptop, 16GB DDR4 640GB Storage Laptop Computer",
"brand": "Jumper",
"image": "https://i5.walmartimages.com/asr/f794e07b-9126-4963-81b5-b967833946a2.jpeg",
"price": 599.99,
"rating": 4.9189,
"seller": "Bkayp CA",
"num_reviews": 37,
"availability": "In stock",
"fulfillment_type": "FC"
}
],
"total": 53
},
"status": "success"
}
}About the walmart.ca API
The Walmart Canada API provides access to product listings, detailed item data, and pharmacy locations across Canada through 3 endpoints. search_products returns price, brand, rating, availability, and seller information for any keyword query. get_product_details exposes full specifications, structured reviews, and item metadata by Walmart Item ID. get_pharmacies returns the complete list of Canadian Walmart pharmacy locations with coordinates and postal codes.
Product Search
search_products accepts a required query parameter and returns an array of product objects, each containing id, name, price, brand, image, rating, num_reviews, url, seller, availability, and fulfillment_type. Pagination is controlled via the page and limit parameters. Results can be sorted by best_match, price_low, price_high, or rating_high using the sort parameter. Note that some queries are redirected by Walmart to category browse pages rather than search results, which will produce an upstream_error response — this is a known behavior of the source site for certain broad or ambiguous terms.
Product Details
get_product_details takes a required product_id (the Walmart Item ID, e.g. 39BXA5GSMOSP) and an optional slug for the product URL. The response includes a product object with item metadata, a reviews object with aggregated review data, and a specifications array listing structured product attributes. This endpoint is the right choice when you need full item detail beyond what appears in search results, such as technical specifications or detailed review breakdowns.
Pharmacy Locations
get_pharmacies requires no input parameters and returns the complete list of Walmart Canada pharmacy locations. Each record includes id, name, latitude, longitude, postcode, and address data. This makes it straightforward to build location-aware features such as nearest-pharmacy lookups or map overlays using the provided geocoordinates.
- Compare prices across Walmart Canada product listings for a given category using
search_productswithsort: price_low. - Track product availability and
fulfillment_typechanges for specific items over time usingget_product_details. - Build a price alert tool that monitors
pricefields returned bysearch_productsfor target keywords. - Aggregate
ratingandnum_reviewsdata from search results to identify top-rated products in a category. - Geocode Walmart pharmacy locations using
latitudeandlongitudefromget_pharmaciesto build a nearest-location finder. - Extract
specificationsarrays fromget_product_detailsto populate product comparison tables. - Identify third-party
sellerpresence andavailabilitystatus for products listed on Walmart Canada.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Walmart Canada have an official developer API?+
What does the `search_products` endpoint return when Walmart redirects a query to a category page?+
upstream_error. This affects certain broad or ambiguous queries. Narrowing the query string or trying a more specific product term typically avoids the redirect.Does `get_product_details` return individual written reviews or only aggregated review data?+
reviews object rather than a flat list of individual review text. If you need per-review content such as individual reviewer comments and dates, that is not currently exposed. You can fork this API on Parse and revise it to add an endpoint targeting individual review records.Does `get_pharmacies` include store hours or the services each pharmacy offers?+
id, name, latitude, longitude, and postcode — but does not include operating hours or per-pharmacy service lists. You can fork this API on Parse and revise it to add those fields.