Get API key

Walmart Autocomplete API

Retrieve Walmart autocomplete search suggestions for any query. Returns a list of suggested search terms along with category navigation data. Each successful request costs 5 API credits.

Endpoint: https://api.scrapingdog.com/walmart/autocomplete

API Parameters

🔑

Scrapingdog Parameters

  • api_key Required
    Your personal API key. Available on your dashboard.

    Type: String
🔍

Search Query

  • query Required
    The Walmart search query to get autocomplete suggestions for (e.g., football, laptop).

    Type: String

API Examples

Code to Integrate
curl "https://api.scrapingdog.com/walmart/autocomplete?api_key=APIKEY&query=football"
API Response
{
  "queries": [
    {
      "displayName": "football cards",
      "url": "/search?q=football+cards"
    },
    {
      "displayName": "football gloves",
      "url": "/search?q=football+gloves"
    },
    {
      "displayName": "football cleats",
      "url": "/search?q=football+cleats"
    },
    {
      "displayName": "football helmet",
      "url": "/search?q=football+helmet"
    },
    {
      "displayName": "football jersey",
      "url": "/search?q=football+jersey"
    },
    {
      "displayName": "football pads",
      "url": "/search?q=football+pads"
    },
    {
      "displayName": "football table",
      "url": "/search?q=football+table"
    },
    {
      "displayName": "football shoes",
      "url": "/search?q=football+shoes"
    }
  ],
  "fns": [
    {
      "title": "Footballs",
      "image": "https://i5.walmartimages.com/dfw/4ff9c6c9-2b35/k2-_0a1c1234.v1.jpg",
      "url": "/browse/sports-outdoors/footballs/4125_4161_4169_1074924"
    },
    {
      "title": "Football Gloves",
      "image": "https://i5.walmartimages.com/dfw/4ff9c6c9-x3b2/k2-_gloves.v1.jpg",
      "url": "/browse/sports-outdoors/football-gloves/4125_4161_4169"
    },
    {
      "title": "Football Helmets",
      "image": "https://i5.walmartimages.com/dfw/4ff9c6c9-x4c3/k2-_helmets.v1.jpg",
      "url": "/browse/sports-outdoors/football-helmets/4125_4161_4169"
    }
  ]
}