Skip to content
Scrappa Get API key
Walmart API 1 credit/request

Walmart Category Browse

GET https://scrappa.co/api/walmart/browse

Products of one category page with sort, facet filter (for example brand:Samsung) and pagination, in the same item shape as Walmart Product Search. Reports the real last page and total. Walmart serves at most 25 pages per category. Category slugs and ids come from the categories endpoint. Works for walmart.com and walmart.ca (category ids differ between the two sites). Paid placements are removed so pages do not overlap. For sort=price_low or price_high the page is ordered by price when Walmart returns it out of order; search_metadata.sort_applied says server or page, and ordering applies within the returned page. A category without products, or one that Walmart serves as a content page, answers 404. A page past the last page is an empty list. Both cost nothing. Costs 1 credit per successful request with items. Failed requests are free.

Walmart Category Browse 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/walmart/browse
Auth header
x-api-key
Cost
1 credit/request
slug = example category_id = 1234567890
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

4 optional filters available.

slug string Required

Category slug, e.g. electronics.

Example value example
category_id string Required

Category id, e.g. 3944.

Example value 1234567890
page integer Optional

Page number, 1-indexed. Default: 1. Walmart serves at most 25 pages.

Example value 1
sort string Optional

best_match (default), price_low, price_high, rating_high, new.

Example value relevance
facet string Optional

Facet filter name:value, e.g. brand:Samsung.

Example value example
country string Optional

Marketplace: us (walmart.com, default) or ca (walmart.ca).

Example value US

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

HTTP 404

Walmart has no page for this request. This response is not billable.

422

HTTP 422

A public parameter is invalid. This response is not billable.

503

HTTP 503

Walmart did not return usable data for this request. This response is not billable.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.