urlstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
urlstringobrigatórioFull 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.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Walmart Product PageEsta API Walmart | $0.01 por chamada | JSON assíncrono |
Walmart | A partir de $0.001 por chamada | JSON |
Walmart | $0.015 por chamada | JSON assíncrono |
Walmart | $0.015 por chamada | JSON assíncrono |
Walmart | $0.01 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/walmart/scrape/product com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.01 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: url (string). Opcionais: country (string), storeId (string) e zipCode (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Um resultado JSON. Este endpoint é assíncrono, então a resposta informa como buscar o resultado final. O README desta página inclui um exemplo de resposta.
Não. Walmart Product Page funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Walmart separadamente.