APIs / Walmart / Autocomplete

Walmart: Autocomplete

Autocomplete from Walmart as JSON. 1 credit per successful call.

GET /v1/walmart/autocomplete

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
qstringRequiredUp to 200 characters
departmentstringOptionalAny

Example request

Walmart
GET/v1/walmart/autocomplete?q=coffee
{
  "success": true,
  "data": {
    "search_metadata": {
      "q": "coffee",
      "department": "0",
      "total_items": 10
    },
    "suggestions": [
      {
        "suggestion": "coffee creamer",
        "image": "https://i5.walmartimages.com/asr/60fb541a-0240-467c-9859-0dc7fb000c4d.efd618166d0ecae88ad53d278cce7ab0.jpeg",
        "search_url": "https://www.walmart.com/search?query=coffee%20creamer&typeahead=coffee"
      },
      {
        "suggestion": "coffee",
        "image": "https://i5.walmartimages.com/asr/6bfd2db3-26cf-4fba-953a-cb44afe25503.b7ef549a72ab0dcd3ad41615c823f651.jpeg",
        "search_url": "https://www.walmart.com/search?query=coffee&typeahead=coffee"
      },
      {
        "suggestion": "coffee maker",
        "image": "https://i5.walmartimages.com/asr/58a85a1a-a7c6-4340-b23f-7e3040fe3a82.9bfe652540ee75919b2f687ebcd098c7.jpeg",
        "search_url": "https://www.walmart.com/search?query=coffee%20maker&typeahead=coffee"
      }
    ],
    "departments": [
      {
        "type": "facet",
        "name": "Coffee Selections",
        "values": [
          {
            "name": "Coffee savings",
            "search_url": "https://www.walmart.com/search?browse/food/coffee/976759_1086446_8753286?facet=special_offers%3ARollback"
          },
          {
            "name": "Shop all coffee",
            "search_url": "https://www.walmart.com/search?browse/food/coffee/976759_1086446_8753286"
          },
          {
            "name": "New coffee",
            "search_url": "https://www.walmart.com/search?browse/food/new-coffee/976759_1086446_1995978"
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "autocomplete",
    "duration_ms": 378,
    "attempts": 1
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.suggestions has these 3 fields, read from a recorded call that returned 11 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
suggestionstring
imageurl
search_urlurl