GroundsocialDocs

API · Walmart

GET /walmart/categories/{category_id}

The items in a Walmart category, with sort and filters.

RequestGET /v1/walmart/categories/{category_id}
Operation idwalmart.category.get
Cost2 credits, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

The items in a Walmart category, with sort and filters.

Path parameters

NameTypeRequiredDescription
category_idstringyesBrowse id, e.g. 3944 or 3944_1060825. Example: 3944.

Query parameters

NameTypeRequiredDescription
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.
limitintegerno

Responses

StatusMeaningSchema
200A page of the category.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.