# 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.

- **Documentation:** [https://scrappa.co/docs/walmart-api/walmart_categories](https://scrappa.co/docs/walmart-api/walmart_categories)
- **API group:** Walmart API
- **Endpoint:** `GET https://scrappa.co/api/walmart/categories`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | No | Only categories whose slug contains this text. |
| `page` | integer | No | Page number, 1-indexed. Default: 1. Walmart serves at most 200 pages. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Walmart has no page for this request. This response is not billable. |  |
|  | A public parameter is invalid. This response is not billable. |  |
|  | Walmart did not return usable data for this request. This response is not billable. |  |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
