GroundsocialDocs

API · Walmart

GET /walmart/search

Search Walmart with sort, price range, store and facet filters.

RequestGET /v1/walmart/search
Operation idwalmart.search.all
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search Walmart with sort, price range, store and facet filters.

Query parameters

NameTypeRequiredDescription
querystringyesSearch keyword. Example: air fryer.
pageintegernoPage, from 1.
sort_by"best_match" | "price_low" | "price_high" | "best_seller" | "top_rated"nobest_match (default), price_low, price_high, best_seller, top_rated. One of best_match, price_low, price_high, best_seller, top_rated.
min_pricenumber | nullno
max_pricenumber | nullno
store_idstringnoOnly items at this Walmart store.
facetstringnoWalmart facet filter as in its URLs, e.g. brand:Ninja.
country"US" | "CA"noUS (default) or CA. One of US, CA.

Responses

StatusMeaningSchema
200A page of results.WalmartListing
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The product or category does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Walmart is temporarily unavailable. Retryable; nothing was charged.Error

WalmartListing fields

FieldTypeDescription
countrystring
querystring | null
category_idstring | null
titlestring | null
pagenumber
max_pagenumber | null
totalnumber | null
itemsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.