# Walmart Search

Search Walmart via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as query, and retrieve structured data including source product identifier, product title, product image URL, product price amount, and product price currency for product discovery, and seller-aware comparisons, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/walmart/walmart-search/f5d2b108-9d2f-4651-a0a6-28d531c257a6/
API ID: f5d2b108-9d2f-4651-a0a6-28d531c257a6
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/walmart/search
Page update time: 2026-12-03T02:48:49.159Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:48.617Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Walmart Search API

POST query and optional page as JSON. products holds source listing records and pagination reports the current page, with next-page and total-result fields when supplied by the source.

## What You Can Build

- **Product discovery**: Build result lists containing source links and availability labels.
- **Seller-aware comparisons**: Keep seller, rating and currency information with each offer.

## Returned Data

| Field | Meaning |
| --- | --- |
| `products[].product_id` | Source product identifier. |
| `products[].title` | Product title. |
| `products[].image` | Product image URL. |
| `products[].price.amount` | Product price amount. |
| `products[].price.currency` | Product price currency. |
| `products[].rating` | Source product rating. |
| `products[].review_count` | Source review count. |
| `products[].seller` | Seller label for the result. |
| `products[].availability` | Source availability value. |
| `products[].url` | Product detail URL. |
| `pagination.current` | Returned page. |
| `pagination.total_results` | Source-reported result count when available. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Walmart Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "query": "coffee"
        }
      ],
      "properties": {
        "page": {
          "default": 1,
          "description": "One-based result page.",
          "maximum": 100,
          "minimum": 1,
          "title": "Page",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "One-based result page."
          }
        },
        "query": {
          "description": "Product keywords to search for.",
          "maxLength": 500,
          "minLength": 1,
          "title": "Query",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "Product keywords to search for."
          },
          "x-retail-text": true
        }
      },
      "required": [
        "query"
      ],
      "title": "Request",
      "type": "object",
      "description": "Search Walmart products with prices and availability."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "pagination": {
      "type": "object",
      "properties": {
        "current": {
          "type": "integer"
        },
        "next_page": {
          "type": "integer"
        },
        "total_results": {
          "type": "integer"
        }
      }
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "availability": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "price": {
            "type": "object",
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              }
            }
          },
          "product_id": {
            "type": "string"
          },
          "rating": {
            "type": "number"
          },
          "review_count": {
            "type": "integer"
          },
          "seller": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "search_metadata": {
      "type": "object",
      "properties": {
        "provider_url": {
          "type": "string"
        },
        "retailer": {
          "type": "string"
        },
        "total_time_taken": {
          "type": "number"
        }
      }
    },
    "search_parameters": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer"
        },
        "query": {
          "type": "string"
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/walmart/search' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "query": "coffee"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "pagination": {
    "current": 1,
    "next_page": 2,
    "total_results": 19985
  },
  "products": [
    {
      "availability": "IN_STOCK",
      "image": "https://i5.walmartimages.com/seo/Maxwell-House-Original-Roast-Ground-Coffee-27-5-oz-Canister_417704cc-686d-4e0b-ad8c-048d5cda8d39.798d83be3ecfecbfac3740258c06bbdc.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
      "price": {
        "amount": 13.97,
        "currency": "USD"
      },
      "product_id": "5344812220",
      "rating": 4.7,
      "review_count": 27383,
      "seller": "Walmart.com",
      "title": "Maxwell House Original Roast Ground Coffee, 27.5 oz Canister",
      "url": "https://www.walmart.com/ip/Maxwell-House-Original-Roast-Ground-Coffee-27-5-oz-Canister/5344812220"
    },
    {
      "availability": "IN_STOCK",
      "image": "https://i5.walmartimages.com/seo/Maxwell-House-100-Colombian-Ground-Coffee-23-1-oz-Canister_26ec3c7d-0333-46e3-acf2-f281e5ab7069.a2ca5dc9b263e82e7dec6aacf2d8437f.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
      "price": {
        "amount": 13.97,
        "currency": "USD"
      },
      "product_id": "5344362077",
      "rating": 4.7,
      "review_count": 8604,
      "seller": "Walmart.com",
      "title": "Maxwell House 100% Colombian Ground Coffee, 23.1 oz Canister",
      "url": "https://www.walmart.com/ip/Maxwell-House-100-Colombian-Ground-Coffee-23-1-oz-Canister/5344362077"
    },
    {
      "availability": "IN_STOCK",
      "image": "https://i5.walmartimages.com/seo/Maxwell-House-Light-Roast-Breakfast-Blend-Ground-Coffee-25-6-oz-Canister_34aaa0bc-23a7-4dfc-b1a2-800cbbfffb6e.4477ccbfbae8ec66dbe068df0678f7ea.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
      "price": {
        "amount": 13.97,
        "currency": "USD"
      },
      "product_id": "108758367",
      "rating": 4.7,
      "review_count": 11272,
      "seller": "Walmart.com",
      "title": "Maxwell House Breakfast Blend Mild Roast Ground Coffee, 25.6 oz Canister",
      "url": "https://www.walmart.com/ip/Maxwell-House-Light-Roast-Breakfast-Blend-Ground-Coffee-25-6-oz-Canister/108758367"
    }
  ],
  "search_metadata": {
    "provider_url": "https://www.walmart.com/search?q=coffee&page=1",
    "retailer": "Walmart",
    "total_time_taken": 2.175
  },
  "search_parameters": {
    "page": 1,
    "query": "coffee"
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How do I specify keywords and a page?
query must be 1–500 characters. page is a one-based integer from 1 to 100, defaulting to 1.

### Can I filter by seller or local store?
This body schema exposes query and page. It does not expose seller, store or postal-code filters; retain returned seller labels rather than assuming a uniform seller.

### How do I inspect a particular result?
Use the result’s url with the separate Walmart Product API, and keep product_id for matching the response to the chosen result.

### Are rating and review_count the same measure?
No. rating is the source’s rating value; review_count is the number of reviews reported. Preserve absent values instead of converting them to zero.

### Where should I set the request timeout?
Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

### Can I add arbitrary parameters to the JSON body?
Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

## Available implementations
- litescrape: https://openany.si/walmart/walmart-search/f5d2b108-9d2f-4651-a0a6-28d531c257a6/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
