Walmart Search
POST /api/v1/walmart/search
Search Walmart by keyword or search URL and get matching products, seller details, ratings and reviews.
Overview
Search Walmart by keyword or search URL and get matching products, seller details, ratings and reviews.
POST /api/v1/walmart/search
Method: POST Path: /api/v1/walmart/search Category: E-Commerce
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| location | string | Optional | Two-letter country code to localise results (e.g. US). |
| page | integer | Optional | Page number of search results. |
| query | string | Required | Search keyword or full Walmart search URL (e.g. "air fryer" or "https://www.walmart.com/search?q=air+fryer"). |
Request Example
Walmart Search Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/walmart/search" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"location": "US", "page": "1", "query": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "search_results": [ { "title": "string", "description": "string", "totalItemCount": 0, "item": [ { "title": "string", "id": "1234567890", "usItemId": "1234567890", "type": "string", "thumbnail": "https://example.com/...", "brand": "string", "canonicalUrl": "https://example.com/...", "returnPolicy": {}, "rating": { "averageRating": 0.0, "numberOfReviews": 0 }, "fulfillment": { "isEligibleForPickup": false, "isEligibleForDelivery": false }, "priceInfo": { "linePrice": "string", "itemPrice": "string", "unitPrice": "string" }, "orderLimit": 0, "isSponsoredFlag": false, "shippingOption": "string" } ] } ], "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Walmart Search", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| search_results | array<object> | Yes | Search result groupings and items returned for the query. |
| search_results[].title | string | Yes | Search stack heading (e.g. 'Results for "air fryer"'). |
| search_results[].description | string | null | Yes | Optional search stack description. |
| search_results[].totalItemCount | integer | Yes | Total number of items found for this query. |
| search_results[].item | array<object> | Yes | List of product cards in this search stack. |
| search_results[].item[].title | string | Yes | Product display title. |
| search_results[].item[].id | string | Yes | Walmart product ID. |
| search_results[].item[].usItemId | string | Yes | Walmart US Item ID. |
| search_results[].item[].type | string | Yes | Listing type (e.g. 'REGULAR'). |
| search_results[].item[].thumbnail | string | Yes | Thumbnail image URL. |
| search_results[].item[].brand | string | null | Yes | Brand name. |
| search_results[].item[].canonicalUrl | string | Yes | Canonical product URL on Walmart. |
| search_results[].item[].returnPolicy | object | Yes | Return policy terms. |
| search_results[].item[].rating | object | Yes | |
| search_results[].item[].rating.averageRating | number | null | No | |
| search_results[].item[].rating.numberOfReviews | integer | null | No | |
| search_results[].item[].fulfillment | object | Yes | |
| search_results[].item[].fulfillment.isEligibleForPickup | boolean | No | |
| search_results[].item[].fulfillment.isEligibleForDelivery | boolean | No | |
| search_results[].item[].priceInfo | object | Yes | |
| search_results[].item[].priceInfo.linePrice | string | Yes | |
| search_results[].item[].priceInfo.itemPrice | string | Yes | |
| search_results[].item[].priceInfo.unitPrice | string | Yes | |
| search_results[].item[].orderLimit | integer | null | Yes | Maximum purchase limit per customer. |
| search_results[].item[].isSponsoredFlag | boolean | Yes | True if listing is sponsored. |
| search_results[].item[].shippingOption | string | null | Yes | Shipping guarantee or arrival text. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/walmart/search?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
query,location,page example,US,1
Pricing & Rate Limits
Endpoint Pricing
$0.0018 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |