Walmart Search
Search Walmart via API. The sample response includes prices, ratings and review counts. Use it to surface relevant records in a search or discovery tool. The POST request schema also lists timeout. Use the results to organize a research workflow and cross-check the relevant source records.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Walmart Search
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
paginationobjectcurrentintegernext_pageintegertotal_resultsinteger
productsobject[]availabilitystringimagestringpriceobjectamountnumbercurrencystring
product_idstringratingnumberreview_countintegersellerstringtitlestringurlstring
search_metadataobjectprovider_urlstringretailerstringtotal_time_takennumber
search_parametersobjectpageintegerquerystring
submit_feedback_for_this_response_herestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
pagination?: {
current?: number;
next_page?: number;
total_results?: number;
};
products?: Array<{
availability?: string;
image?: string;
price?: {
amount?: number;
currency?: string;
};
product_id?: string;
rating?: number;
review_count?: number;
seller?: string;
title?: string;
url?: string;
}>;
search_metadata?: {
provider_url?: string;
retailer?: string;
total_time_taken?: number;
};
search_parameters?: {
page?: number;
query?: string;
};
submit_feedback_for_this_response_here?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Walmart Search · POST · View API reference | $0.00015 / call | — | —successP50— |
- 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: 3. 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
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"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
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 |
query | JSON request bodybody | string | Yes | Product keywords to search for. minLength: 1 · maxLength: 500 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Walmart Search
Search Walmart via API. The sample response includes prices, ratings and review counts. Use it to surface relevant records in a search or discovery tool. The POST request schema also lists timeout. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
litescrape · Walmart Search: https://openany.si/markets/apis/capabilities/walmart-search?offering=f5d2b108-9d2f-4651-a0a6-28d531c257a6 · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/walmart-search
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/walmart/search
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Walmart Search",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/walmart/search",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"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.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Search Walmart products with prices and availability.",
"json_schema": {
"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"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"query": "coffee"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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
| 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" }