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

Walmart Categories

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

Flat list of about 12,700 Walmart category pages (slug, category id, URL), 100 per page, with an optional text filter on the slug. Use slug and category_id with the browse endpoint. Costs 1 credit per successful request. Failed requests are free.

Walmart Categories 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/walmart/categories
Auth header
x-api-key
Cost
1 credit/request
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

This endpoint has no required query parameters.

2 optional filters available.

q string Optional

Only categories whose slug contains this text.

Example value coffee shops
page integer Optional

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

Example value 1

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.