OpenAny
Get API keyAPI Key
APIE-commerceScrapers

walmart logo
Walmart Search API

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.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Walmart Search API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Walmart Search API

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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs JSON body requires query; optional body fields: page. Optional query parameter: timeout (greater than 0, at most 90 seconds).
Selected implementation litescrape · Walmart Search
Billing See the pricing area for the selected implementation and request options

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.

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/litescrape/api/walmart/search \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"coffee"}'

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Walmart Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* object
Product keywords to search for.
One-based result page.
Search Walmart products with prices and availability.
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.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
litescrapeCurrent
Walmart Search · POST · View API reference
$0.00015 / call1
100.00%successP504.46s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
Unit price
$0.00015

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.015

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/walmart/search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
queryJSON request bodybodystringYes

Product keywords to search for.

minLength: 1 · maxLength: 500

timeoutURL query parametersquerynumberNo

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

pageJSON request bodybodyintegerNo

One-based result page.

minimum: 1 · maximum: 100

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • paginationobject
    • currentinteger
    • next_pageinteger
    • total_resultsinteger
  • productsobject[]
    • availabilitystring
    • imagestring
    • priceobject
      • amountnumber
      • currencystring
    • product_idstring
    • ratingnumber
    • review_countinteger
    • sellerstring
    • titlestring
    • urlstring
  • search_metadataobject
    • provider_urlstring
    • retailerstring
    • total_time_takennumber
  • search_parametersobject
    • pageinteger
    • querystring
  • submit_feedback_for_this_response_herestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    timeout
    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.
    body
    Search Walmart products with prices and availability.
    Terminal · cURL
    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"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "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"
    }

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.

Use Walmart Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.