← Back to marketplace

Walmart

Fast JSON API for Walmart - product search with filters and price range, autocomplete, categories, product details with price, availability, shipping and pickup, reviews, the offers of every seller, variations, seller profiles, deals and best sellers.

data
by Mark817 endpoints100% uptime91ms avg

Includes 100 free calls per month

After the free quota, standard per-request pricing applies via x402 (USDC on Base).

Requests (30d)

34

Avg latency

1955ms

Uptime

100.0%

Endpoints

GET/v1/best-sellers
$0.0010/req

Lists the best selling products of Walmart or of a category, with filters, price range and sort order, in the same form as the /search endpoint. Returns the title of the list, the total number of products and the number of pages, 40 products a page.

Request schema

categorystring

Optional best sellers category id (e.g. "electronics"). Leave it out for the best sellers of all departments. Use the /best-sellers/categories endpoint to list valid values.

filtersstring

Optional filters: the "value" of one or more filter options joined by "||" (e.g. "brand:onn.").

min_pricestring

Optional minimum price in US dollars (e.g. "20").

max_pricestring

Optional maximum price in US dollars (e.g. "100").

sortstring

Optional sort order (defaults to "best_match"). Use the /general/sort-orders endpoint to list valid values.

pagestring

Optional page number, 40 products per page (defaults to 1, at most 25).

Response schema

titlestring
totalinteger
pageinteger
pagesinteger
productsarray
GET/v1/best-sellers/categories
$0.0010/req

Lists the categories with a best sellers list, each with the id accepted by the "category" parameter of the /best-sellers endpoint, its name and image.

Request schema

{
  "type": "object",
  "properties": {}
}

Response schema

{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "image": {
        "type": "string"
      }
    }
  }
}

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/walmart/v1/best-sellers" \
  -d '{"category":"electronics","filters":"example filters","min_price":"example min_price","max_price":"example max_price","sort":"example sort","page":"example page"}'

Or call the proxy directly (curl / any HTTP client):

curl https://proxy.apihub.io/walmart/v1/best-sellers \
  -H "Authorization: Bearer ahk_your_key"

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Walmart.

GET /v1/best-sellers$0.0010/req
-
GET /v1/best-sellers/categories$0.0010/req
-
GET /v1/deals$0.0010/req
-
GET /v1/deals/pages$0.0010/req
-
GET /v1/general/categories$0.0010/req
-
GET /v1/general/review-sort-orders$0.0010/req
-
GET /v1/general/sort-orders$0.0010/req
-
GET /v1/product/details$0.0010/req
-
GET /v1/product/offers$0.0010/req
-
GET /v1/product/reviews$0.0010/req
-
GET /v1/product/variations$0.0010/req
-
GET /v1/search$0.0010/req
-
GET /v1/search/autocomplete$0.0010/req
-
GET /v1/search/filters$0.0010/req
-
GET /v1/seller/details$0.0010/req
-
GET /v1/seller/products$0.0010/req
-
GET /v1/seller/reviews$0.0010/req
-