Short answer: POST a few letters to /walmart/autocomplete and you get the suggestions Walmart shows under its search box, 10 per prefix, as JSON.
These suggestions are what Walmart shoppers actually type next. Sellers use them to choose listing titles and ad keywords; analysts use them to see which product types and price points people ask for by name.
The request
curl -X POST 'https://api.serpbase.dev/walmart/autocomplete' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"query":"laptop"}'
What comes back
We ran this on 26 November 2026. laptop returned 10 suggestions in about 1 second:
laptop, laptop computers, laptop computers under $200, laptop resold, laptops on sale, laptop stand, laptop gaming, laptop charger, laptop bag, laptop hp
A partial word works too. air fr returned 10 in about 2 seconds, split between two intents: air fryer, air fryer liners, air fryer frozen food, air fryer food, air fryer meals and air freshener, air freshener spray, air freshener refills, air freshener plug in, air freshener car.
Each item in suggestions has:
| Field | What it holds |
|---|---|
text | The suggested search |
type | QUERY for all twenty suggestions in our tests |
image_url | The thumbnail Walmart shows next to the suggestion (present on all twenty) |
url | The suggestion's address on walmart.com |
Python: expand a seed keyword
import string, time, requests
def suggest(prefix):
r = requests.post(
"https://api.serpbase.dev/walmart/autocomplete",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"query": prefix},
timeout=30,
).json()
return [s["text"] for s in r.get("suggestions", [])] if r["status"] == 0 else []
seed = "laptop"
found = set(suggest(seed))
for letter in string.ascii_lowercase:
found.update(suggest(f"{seed} {letter}"))
time.sleep(1)
for kw in sorted(found):
print(kw)
That is 27 requests for one seed, each returning up to 10 phrases; the set removes the repeats.
Things that trip people up
- Ten is the ceiling. Walmart shows at most 10 per prefix. To get more, extend the prefix letter by letter as above.
- Order is Walmart's order. The list is ranked by Walmart, most likely first; keep the index if you want a rough popularity signal. There is no search volume number.
- One prefix can hold several intents.
air frmixed fryers and fresheners. Group by the first two words before you use the list for one product. - Suggestions change with season and sales.
laptops on saleandunder $200phrasing shifts over the year, so store the date with each pull.
Related endpoints
Check who ranks for a suggestion with Walmart search. The same idea for other sites: Amazon autocomplete and Google autocomplete.
Cost and limits
Each request costs 1 credit; failed requests are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.
- Parameters and the full response: Walmart autocomplete docs
- Try it in the browser: Walmart autocomplete
- Credit packs: pricing