APIs / Walmart / Search

Walmart: Search

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

GET /v1/walmart/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 500 characters
pageintegerOptionalAny
sortstringOptionalbest_match, price_low, price_high, rating_high, new
min_priceintegerOptionalAny
max_priceintegerOptionalAny
cat_idstringOptionalUp to 64 characters
facet_filterstringOptionalUp to 2,000 characters
countrystringOptionalus, ca

Example request

Walmart
GET/v1/walmart/search?query=air+fryer
{
  "success": true,
  "data": {
    "search_metadata": {
      "query": "air fryer",
      "page": 1,
      "sort": "best_match",
      "total_items": 72
    },
    "results": [
      {
        "us_item_id": "17268119743",
        "title": "Instant Pot 4QT VORTEX 6-in-1 Mini Air Fryer, Air fry, Bake, Roast, Broil, Dehydrate or Reheat, Black, 4 Quarts",
        "price": 89.99,
        "currency": "USD",
        "rating": 4.4,
        "reviews": 87,
        "seller_name": "Walmart.com",
        "availability_status": "IN_STOCK",
        "thumbnail": "https://i5.walmartimages.com/seo/Instant-Pot-4QT-VORTEX-6-in-1-Mini-Air-Fryer-Air-fry-Bake-Roast-Broil-Dehydrate-or-Reheat-Black-4-Quarts_371f0a97-efd1-42b8-89bb-a594d088cbec.e03eec1a9d5bd3bea85cd250fbff80d2.png?odnHeight=180&odnWidth=180&o…",
        "product_page_url": "https://www.walmart.com/ip/17268119743",
        "out_of_stock": false,
        "sponsored": true
      },
      {
        "us_item_id": "14678059894",
        "title": "Chefman Air Fryer 1500W, 6 Quart, 4 Functions with Touch Controls, Stainless Steel",
        "price": 59.98,
        "currency": "USD",
        "rating": 4.6,
        "reviews": 13051,
        "seller_name": "Walmart.com",
        "availability_status": "IN_STOCK",
        "thumbnail": "https://i5.walmartimages.com/seo/Chefman-Air-Fryer-1500W-6-Quart-4-Functions-with-Touch-Controls-Stainless-Steel_0ccae75c-daa2-4d52-a1d4-63b5f20f42c3.52b088aed447be6063d85850d455ebd5.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
        "product_page_url": "https://www.walmart.com/ip/14678059894",
        "out_of_stock": false,
        "sponsored": true
      },
      {
        "us_item_id": "14140920286",
        "title": "Thyme & Table 6 Quart Ceramic-Coated Air Fryer, Sand White",
        "price": 79,
        "currency": "USD",
        "rating": 4.5,
        "reviews": 1032,
        "seller_name": "Walmart.com",
        "availability_status": "IN_STOCK",
        "thumbnail": "https://i5.walmartimages.com/seo/Thyme-Table-6-Quart-Ceramic-Coated-Air-Fryer-Sand-White_4dc1a1f6-9007-4310-aa1f-a8650e8f5626.e70b5f6f2e1250975bc37d02ecc1219b.png?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
        "product_page_url": "https://www.walmart.com/ip/14140920286",
        "out_of_stock": false,
        "sponsored": true
      }
    ],
    "pagination": {
      "current_page": 1,
      "max_page": 13,
      "has_more": true
    }
  },
  "meta": {
    "endpoint_family": "search",
    "duration_ms": 4134,
    "attempts": 2
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

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

Response fields

data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
search_metadataobject
resultsobject[]
paginationobject