Skip to the content

Scraper API

Walmart

walmart.autocompleteAvailable

Walmart autocomplete

What Walmart's search box suggests for them: up to ten searches, and the category shortcuts it shows under them, each with its address and picture.

Give it the first letters or words of a search.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
3, 1 required
Record
7 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/walmart.autocomplete/runs

{
"input": {
"query": "wireless mo"
}
}

sent, and answered

a record of the run7 fields

{
position: 1
query: "wireless mo"
kind: "search"
suggestion: "wireless mouse"
url: "https://www.walmart.com/search?q=wireless+mouse"
image: "https://i5.walmartimages.com/asr/cfe0592c-dd7d-4d65-9af9-52f5bf7bd47e_…
fetched_at: "2026-11-19T18:07:41.749244Z"
}

ok1 unit a run

A record this scraper returned for this input. The first 7 of its 7 fields are set down here; the whole record is below.

walmart.com
The page Walmart autocomplete reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Find what shoppers type
The searches Walmart's box proposes for the first letters of a query, in its order, so you see the words shoppers are steered towards.
Plan product titles
Collect the suggestion lines for your category's words and use the ones Walmart offers first in titles and descriptions.
Map a query to its categories
Lines whose kind is category are the shortcuts Walmart shows under the searches, each with the url of its page.

What you send

The first letters or words of a search. These are its 3 inputs, as its schema has them.

querystring Required
What has been typed so far. A whole word or phrase works too.
include_categoriesboolean Optional
false leaves the category shortcuts out and returns the searches only.Default true
max_resultsinteger Optional
Return at most this many lines; all of them when not given.

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/walmart.autocomplete/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"wireless mo"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("walmart.autocomplete", {"query": "wireless mo"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("walmart.autocomplete", { query: "wireless mo" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "walmart.autocomplete", map[string]any{"query": "wireless mo"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("walmart.autocomplete", Map.of("query", "wireless mo"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run walmart.autocomplete --input 'query=wireless mo'

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

What Walmart's search box suggests for them: up to ten searches, and the category shortcuts it shows under them, each with its address and picture. A record has 7 fields. One we could not read is null, never an empty string or a zero.

A record walmart.autocomplete returned
{
  "position": 1,
  "query": "wireless mo",
  "kind": "search",
  "suggestion": "wireless mouse",
  "url": "https://www.walmart.com/search?q=wireless+mouse",
  "image": "https://i5.walmartimages.com/asr/cfe0592c-dd7d-4d65-9af9-52f5bf7bd47e_1.742d532fe35714dd47641a50658a2609.jpeg",
  "fetched_at": "2026-11-19T18:07:41.749244Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

positioninteger
The line's place among the returned lines, from 1: the searches first, then the category shortcuts, each in the search box's order.
querystring
What was typed: the text the suggestions are for.
kindstring
search for a search the box proposes; category for a shortcut to a category or a filtered list that it shows under them.
suggestionstring
The line as the search box writes it: the search's words, or the shortcut's label, e.g. "wireless mouse for laptop", "Gaming mouse".
urlstring
Where the line leads on walmart.com: the search's results, or the category's page.
imagestring or null
The picture the search box shows beside the line; null when it shows only its magnifying glass.
fetched_atdatetime
When the suggestions were read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • The searches come first, then the category shortcuts; kind says which a line is.
  • Text that Walmart suggests nothing for returns no records.

The bounds its schema sets

max_results
1 to 50

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Walmart autocomplete return?

What Walmart's search box suggests for them: up to ten searches, and the category shortcuts it shows under them, each with its address and picture. A record has 7 fields, among them position, query, kind, suggestion, url and image. A value that could not be read is null, never an empty string or a zero.

What do I send?

The first letters or words of a search. The input query is required. Optional: include_categories and max_results.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: max_results 1 to 50. A run may take up to 5 minutes.

What does it not do?

The searches come first, then the category shortcuts; kind says which a line is. Text that Walmart suggests nothing for returns no records.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id walmart.autocomplete and the same input. It costs what the same API call costs.

Walmart

Walmart's public search results, product pages, customer reviews and search suggestions.

  • Walmart search

    walmart.search

    A search query. The products on a page of Walmart's search results: prices, ratings and sellers, with advertisements marked.

  • Walmart product

    walmart.product

    A Walmart product's address, or its item id. Its price, availability, seller, rating, specifications, images and variants.

  • A Walmart product's address or item id, and which page of its reviews. A page of the product's customer reviews: stars, title, text, the day it was written, the Verified Purchase badge, helpful votes and pictures.

  • Walmart seller

    walmart.seller

    A Marketplace seller's id on Walmart, or the address of its storefront. The seller as its storefront states it: the name it trades under and its legal name, the business address and telephone number Walmart publishes, what it writes about itself, its rating and how many ratings and reviews it has.

Walmart on the line-up

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.