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

Walmart Search Autocomplete

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

Search suggestions for a partial query, optionally scoped to a department id, with suggestion text, image and search URL plus department refinements. An unknown term returns an empty list as a successful answer. Costs 1 credit per successful request. Failed requests are free.

Walmart Search Autocomplete 1 credit/request

Endpoint

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

1 required parameter needed before sending a request.

1 optional filter available.

q string Required

Partial search text, e.g. lap.

Example value coffee shops
department string Optional

Department (category) id to scope the suggestions, e.g. 3944 for Electronics. Default: all.

Example value example

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.