# Walmart search: `POST /v1/walmart/search`

Cost: 2 credits (2 (failed requests are free)). Docs: https://scrapercompany.com/docs/reference/walmart-search

One page (~40) of Walmart search results.

Each item carries name, brand, price with currency, rating, review count,
and the item id the reviews call keys off. Sponsored items come
labelled in `sponsored` rather than dropped.

Request body (JSON):

- `q` (string; required; min length 1, max length 200): Search query.
- `page` (integer; optional; default 1; min 1, max 50): Result page.
- `sort` (string | null; optional; one of best_match, price_low, price_high, rating, best_seller, new): Walmart's own `sort=` value; omit for Walmart's default. - `best_match`: Best match (Walmart's default) - `price_low`: Price: low to high - `price_high`: Price: high to low - `rating`: Highest customer rating - `best_seller`: Best sellers - `new`: Newest

Base URL: `https://api.scrapercompany.com`. Auth: send your key in the `x-api-key` header. A failed request (4xx or 5xx) or an empty result costs 0 credits.

- [Full API reference as one Markdown file](https://scrapercompany.com/llms-full.txt)
- [OpenAPI spec](https://scrapercompany.com/openapi.json)
