urlstringआवश्यक
Full Walmart page URL, e.g. https://www.walmart.com/ip/HP-14-Laptop/17581855155
https://api.sandbase.ai/v1/api/walmart/scrape/productExtract structured data from a Walmart product page URL: name, current and list price, stock, delivery estimate, ratings and seller details.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns structured data for one Walmart product page: name, price, availability, images, review count and seller details. It needs the full product page URL as url.
curl -X POST "https://api.sandbase.ai/v1/api/walmart/scrape/product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.walmart.com/ip/HP-14-Laptop/17581855155"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full Walmart page URL, e.g. https://www.walmart.com/ip/HP-14-Laptop/17581855155 |
country | string | No | Walmart marketplace country code, e.g. 'us', 'ca', 'mx' (default 'us'). |
storeId | string | No | Walmart store ID for localized inventory. |
zipCode | string | No | US zip code used to determine local product availability. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"currency": "$",
"description": "<p>Statement: Original Seal is opened for upgrade ONLY. If the computer has modi…",
"price": "$599.99",
"productAvailability": true,
"productId": "17581855155",
"productImages": [
"https://i5.walmartimages.com/seo/HP-14-Laptop-Student-Business-Computer-Intel-N1…"
],
"productName": "HP 14\" Laptop Student Business Computer, Intel N150 Processor, 1-Year Microsoft …",
"reviewCount": 115,
"sellerId": "974611902A77437FBB999DF11CCBF0BA",
"sellerName": "82days Tech",
"sellerUrl": "https://www.walmart.com/global/seller/102594305",
"soldCount": null
}
| Field | Meaning |
|---|---|
productId | Walmart product ID. It matches the number at the end of the product page URL. |
productName | Full product title as shown on the page. |
price | Current price as a string with the currency symbol, for example $599.99. |
currency | Currency symbol used for the price. |
productAvailability | Boolean. true means the product is available for the requested location. |
reviewCount | Number of customer reviews for the product. |
productImages[] | List of product image URLs. |
description | Product description. It contains HTML markup and may be cut short. |
sellerName / sellerId / sellerUrl | Name, ID and Walmart page URL of the seller listing the product. |
soldCount | Units sold, when the page shows it. It is null when the page gives no value. |
url from a Walmart product page. The product ID is the last part of the path, for example 17581855155.country to pick the marketplace, and use storeId or zipCode to localize availability.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/walmart/scrape/product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.walmart.com/ip/HP-14-Laptop/17581855155"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
urlstringआवश्यकFull Walmart page URL, e.g. https://www.walmart.com/ip/HP-14-Laptop/17581855155
countrystringWalmart marketplace country code, e.g. 'us', 'ca', 'mx' (default 'us').
storeIdstringWalmart store ID for localized inventory.
zipCodestringUS zip code used to determine local product availability.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Walmart Product Pageयह API Walmart | $0.01 प्रति कॉल | असिंक्रोनस JSON |
Walmart | $0.001 प्रति कॉल से | JSON |
Walmart | $0.015 प्रति कॉल | असिंक्रोनस JSON |
Walmart | $0.015 प्रति कॉल | असिंक्रोनस JSON |
Walmart | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/walmart/scrape/product पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: url (string)। वैकल्पिक: country (string), storeId (string) और zipCode (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
नहीं। Walmart Product Page SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Walmart API access के लिए आवेदन करने की आवश्यकता नहीं है।