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
Walmart Search API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Walmart Search · POST · View API reference | $0.00015 / call | 1 | 100.00%successP504.46s |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | JSON request bodybody | string | Yes | Product keywords to search for. minLength: 1 · maxLength: 500 |
timeout | URL query parametersquery | number | No | 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 |
page | JSON request bodybody | integer | No | 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
paginationobjectcurrentintegernext_pageintegertotal_resultsinteger
productsobject[]availabilitystringimagestringpriceobjectamountnumbercurrencystring
product_idstringratingnumberreview_countintegersellerstringtitlestringurlstring
search_metadataobjectprovider_urlstringretailerstringtotal_time_takennumber
search_parametersobjectpageintegerquerystring
submit_feedback_for_this_response_herestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" }'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" }