Skip to content

Walmart Product Data API

Scrape detailed Walmart product information instantly with a simple API call

Last Updated: December 20, 2024

A GET request to our /api/getter/?platform="walmart_detail" endpoint allows you to scrape product data for any product listing URL on Walmart's marketplace in real-time.

Example

To scrape details about an iPhone 13 Pro from Walmart, you can use the following command:

1
curl 'https://data.unwrangle.com/api/getter/?platform=walmart_detail&url=https%3A%2F%2Fwww.walmart.com%2Fip%2FVerizon-iPhone-13-Pro-256GB-Graphite%2F778945307&api_key=API_KEY'
1
2
3
4
5
import requests

url = 'https://data.unwrangle.com/api/getter/?platform=walmart_detail&url=https%3A%2F%2Fwww.walmart.com%2Fip%2FVerizon-iPhone-13-Pro-256GB-Graphite%2F778945307&api_key=API_KEY'
response = requests.get(url)
print(response.json())
1
2
3
const response = await fetch('https://data.unwrangle.com/api/getter/?platform=walmart_detail&url=https%3A%2F%2Fwww.walmart.com%2Fip%2FVerizon-iPhone-13-Pro-256GB-Graphite%2F778945307&api_key=API_KEY')
const data = await response.json()
console.log(data)
1
2
3
4
5
6
<?php
$url = 'https://data.unwrangle.com/api/getter/?platform=walmart_detail&url=https%3A%2F%2Fwww.walmart.com%2Fip%2FVerizon-iPhone-13-Pro-256GB-Graphite%2F778945307&api_key=API_KEY';
$response = file_get_contents($url);
$data = json_decode($response, true);
print_r($data);
?>
1
2
3
4
5
6
require 'net/http'
require 'uri'

uri = URI.parse('https://data.unwrangle.com/api/getter/?platform=walmart_detail&url=https%3A%2F%2Fwww.walmart.com%2Fip%2FVerizon-iPhone-13-Pro-256GB-Graphite%2F778945307&api_key=API_KEY')
response = Net::HTTP.get(uri)
puts response

Query Parameters

Product URL

url

Required

The URL of the Walmart product listing you wish to scrape.

Other Required Parameters

platform

Required

Specifies the scraping engine you wish to invoke. In this case, the value should be walmart_detail.

api_key

Required

Your account's token—which can be obtained by signing up here.

Note

The value of the query parameter url must be URL or percent encoded. If you're using Python, this can be done with the function urlencode.

Results

The response will include the following attributes for the product:

Attributes Returned Data Type Information Represented
id string Walmart's unique identifier for the product
name string Name of product listing
brand string Brand of product listing
url string URL of the product listing on Walmart.com
images list List of product listing's image URLs
is_subscription boolean Whether the product is available as a subscription
offer_text string Text describing any special offers
rating float Average rating of product
total_ratings int Total number of ratings received
total_reviews int Total number of reviews received
in_stock boolean Whether the product is currently in stock
categories list List of categories the product belongs to, each with name and URL
description string Short description of the product
key_features list List of key product features
seller_name string Name of the seller on Walmart
seller_url string URL of the seller's profile on Walmart
est_delivery_date string Estimated delivery date
returns_info string Returns policy information
at_a_glance list List of key product specifications
in_kart_msg list Messages related to cart status
variants list Available product variants with type, value, image and stock status
top_reviews list List of top product reviews
size_charts object Size chart information if applicable
ingredients object Product ingredients if applicable
specifications list Detailed product specifications
warnings list Product warning information
warranty object Warranty information
nutrition_facts object Nutrition information if applicable
videos object Product videos if available

Response Example

Here's the response you can expect to receive for the request showcased above:

{
    "success": true,
    "url": "https://www.walmart.com/ip/Verizon-iPhone-13-Pro-256GB-Graphite/778945307?athAsset=eyJhdGhjcGlkIjogIlZONzU0ZjQ1clpqZ3ZsbWdNRU9tIiwgImF0aHN0aWQiOiAiQ1MwMjAiLCAiYXRoYW5jaWQiOiAiSXRlbUNhcm91c2VsIiwgImF0aHIiOiAwLjB9&athena=true",
    "detail": {
        "id": "778945307",
        "name": "Verizon iPhone 13 Pro 256GB Graphite",
        "brand": "Apple",
        "url": "https://www.walmart.com/ip/Verizon-iPhone-13-Pro-256GB-Graphite/778945307",
        "images": [
            "https://i5.walmartimages.com/seo/Verizon-iPhone-13-Pro-256GB-Graphite_f79e5ab2-1459-4cf1-ae7d-260e612ef3a8.452ab9cb2e0cfc8be0051dd5b909f364.jpeg",
            "https://i5.walmartimages.com/asr/c8386915-4d56-4321-bd6a-2367bafcf7e8.97ea0737c59bf75cf520688defb075d7.jpeg",
            "https://i5.walmartimages.com/asr/57bfeead-8e2c-4c6c-a387-82bf3cbbf4ab.19af68b74a9be82fac95631f79e70cc2.jpeg",
            "https://i5.walmartimages.com/asr/d9147dc2-cd3c-430b-a946-5d756d1b5e37.82bfb980e7bd4263c77ab49562d59f5d.jpeg",
            "https://i5.walmartimages.com/asr/3d853392-3009-4761-9892-349a513f2c2c.5edc1c83df4234d314c45e6423de4348.jpeg",
            "https://i5.walmartimages.com/seo/Verizon-iPhone-13-Pro-256GB-Graphite_f79e5ab2-1459-4cf1-ae7d-260e612ef3a8.452ab9cb2e0cfc8be0051dd5b909f364.jpeg"
        ],
        "is_subscription": true,
        "offer_text": "for 36 months, 0% APR",
        "rating": 4.3,
        "total_ratings": null,
        "total_reviews": 6,
        "in_stock": false,
        "categories": [
            {
                "name": "Cell Phones",
                "url": "https://www.walmart.com/cp/cell-phones/1105910"
            },
            {
                "name": "5G Wireless",
                "url": "https://www.walmart.com/cp/cell-phones/1105910"
            },
            {
                "name": "5G Verizon Phones",
                "url": "https://www.walmart.com/browse/cell-phones/all-verizon-phones/1105910_3253219_8493986_9281611"
            }
        ],
        "description": "iPhone 13 Pro. The biggest Pro camera system upgrade ever. Super Retina XDR display with ProMotion for a faster, more responsive feel. Lightning-fast A15 Bionic chip. Superfast 5G. 1 Durable design and a huge leap in battery life.",
        "key_features": [
            "6.1-inch Super Retina XDR display with ProMotion for a faster, more responsive feel2",
            "Cinematic mode adds shallow depth of field and shifts focus automatically in your videos",
            "Pro camera system with new 12MP Telephoto, Wide, and Ultra Wide cameras; LiDAR Scanner; 6x optical zoom range; macro photography; Photographic Styles, ProRes video, 3 Smart HDR 4, Night mode, Apple ProRAW, 4K Dolby Vision HDR recording",
            "12MP TrueDepth front camera with Night mode, 4K Dolby Vision HDR recording",
            "A15 Bionic chip for lightning-fast performance",
            "Up to 22 hours of video playback - 4",
            "Durable design with Ceramic Shield",
            "Industry-leading IP68 water resistance- 5",
            "5G for superfast downloads and high-quality streaming - 1",
            "Data plan required. 5G is available in select markets and through select carriers. Speeds vary based on site conditions and carrier. For details on 5G support, contact your carrier and seeapple.com/iphone/cellular.",
            "The display has rounded corners that follow a beautiful curved design, and these corners are within a standard rectangle. When measured as a standard rectangular shape, the screen is 5.42 inches diagonally. Actual viewable area is less.",
            "Coming soon",
            "Battery life varies by use and configuration. See apple.com/batteries for more information.",
            "iPhone 13 Pro is spill, splash, and dust resistant and was tested under controlled laboratory conditions with a rating of IP68 under IEC standard 60529. Spill, splash, and dust resistance are not permanent conditions. Resistance might decrease as a result of normal wear. Do not attempt to charge a wet iPhone; refer to the user guide for cleaning and drying instructions. Liquid damage not covered under warranty."
        ],
        "seller_name": "Walmart.com",
        "seller_url": "https://www.walmart.com/seller/F55CDC31AB754BB68FE0B39041159D63",
        "est_delivery_date": null,
        "returns_info": null,
        "at_a_glance": [
            {
                "name": "Service provider",
                "value": "Verizon"
            },
            {
                "name": "Screen size",
                "value": "6.1 in"
            },
            {
                "name": "HD capacity",
                "value": "256 GB"
            },
            {
                "name": "Ram memory",
                "value": "8 GB"
            },
            {
                "name": "Features",
                "value": "Super Retina XDR Display"
            },
            {
                "name": "Weight",
                "value": "7.16 oz"
            },
            {
                "name": "Rear cam mpx",
                "value": "12 MP"
            },
            {
                "name": "Front cam mpx",
                "value": "12 MP"
            },
            {
                "name": "Wireless",
                "value": "4G"
            },
            {
                "name": "Mobile OS",
                "value": "iOS"
            }
        ],
        "in_kart_msg": [],
        "variants": [
            {
                "type": "Carrier",
                "value": "Verizon",
                "image": null,
                "in_stock": "False"
            },
            {
                "type": "Capacity",
                "value": "128GB",
                "image": null,
                "in_stock": "False"
            },
            {
                "type": "Capacity",
                "value": "256GB",
                "image": null,
                "in_stock": "False"
            },
            {
                "type": "Capacity",
                "value": "512GB",
                "image": null,
                "in_stock": "False"
            },
            {
                "type": "Capacity",
                "value": "1TB",
                "image": null,
                "in_stock": "False"
            },
            {
                "type": "Color",
                "value": "Alpine Green",
                "image": "https://i5.walmartimages.com/seo/Verizon-iPhone-13-Pro-128GB-Alpine-Green_e0a47875-6068-4156-af5e-7ebe5f2472b8.a048c596b30f843db8ceabdc9a049067.jpeg",
                "in_stock": "False"
            },
            {
                "type": "Color",
                "value": "Blue",
                "image": "https://i5.walmartimages.com/seo/Verizon-iPhone-13-Pro-1TB-Sierra-Blue_c03dda97-04e5-4911-856a-07d0ad8d6851.236ca9d9dfbe9bc8cbf1367700a94355.jpeg",
                "in_stock": "False"
            },
            {
                "type": "Color",
                "value": "Gold",
                "image": "https://i5.walmartimages.com/seo/Verizon-iPhone-13-Pro-512GB-Gold_84389821-4f5e-457c-87c1-a9c8c885d1e8.4bf789519a1ed8a16275e96cc6898a7d.jpeg",
                "in_stock": "False"
            },
            {
                "type": "Color",
                "value": "Gray",
                "image": "https://i5.walmartimages.com/seo/Verizon-iPhone-13-Pro-256GB-Graphite_f79e5ab2-1459-4cf1-ae7d-260e612ef3a8.452ab9cb2e0cfc8be0051dd5b909f364.jpeg",
                "in_stock": "False"
            },
            {
                "type": "Color",
                "value": "Silver",
                "image": "https://i5.walmartimages.com/seo/Verizon-iPhone-13-Pro-1TB-Silver_c4271b70-6291-4a05-b711-b78d570a75d9.6f25da3116cdcf864db8f946da7c1537.jpeg",
                "in_stock": "False"
            }
        ],
        "top_reviews": [
            {
                "review_title": "The item could be used and it's being sold as new",
                "review_text": "Worst experience ever iphone wasn't sealed and the box was dented",
                "rating": 1,
                "date": "2021-11-17",
                "reviewer_name": "E"
            }
        ],
        "size_charts": null,
        "ingredients": null,
        "interactive_product_video": null,
        "specifications": [
            {
                "name": "Processor Brand",
                "value": "Apple"
            },
            {
                "name": "Display Technology",
                "value": "Retina Display"
            },
            {
                "name": "Phone Feature",
                "value": "Super Retina XDR Display"
            },
            {
                "name": "SIM Card Size",
                "value": "Nano/eSIM"
            },
            {
                "name": "Native Resolution",
                "value": "2532 x 1170"
            },
            {
                "name": "Brand",
                "value": "Apple"
            },
            {
                "name": "Cell Phone Type",
                "value": "Contract Cell Phones"
            },
            {
                "name": "Cell Phone Service Provider",
                "value": "Verizon"
            },
            {
                "name": "Screen Size",
                "value": "6.1 in"
            },
            {
                "name": "Front-Facing Camera Megapixels",
                "value": "12 MP"
            },
            {
                "name": "Rear-Facing Camera Megapixels",
                "value": "12 MP"
            },
            {
                "name": "Memory Capacity",
                "value": "256 GB"
            },
            {
                "name": "Model Name",
                "value": "iPhone 13 Pro"
            },
            {
                "name": "Manufacturer",
                "value": "Apple"
            },
            {
                "name": "Color Category",
                "value": "Black"
            },
            {
                "name": "Cellular Network Technology",
                "value": "CDMA2000 1X / GSM / WCDMA (UMTS)"
            },
            {
                "name": "RAM Memory",
                "value": "8 GB"
            },
            {
                "name": "Virtual Assistant",
                "value": "Siri"
            },
            {
                "name": "Assembled Product Weight",
                "value": "7.16 oz"
            },
            {
                "name": "Manufacturer Part Number",
                "value": "MLTW3LL/A"
            },
            {
                "name": "Color",
                "value": "Gray"
            },
            {
                "name": "Assembled Product Dimensions (L x W x H)",
                "value": "5.78 x 0.30 x 2.82 Inches"
            }
        ],
        "drug_guide": null,
        "warnings": [
            {
                "name": "Ingestion Hazard",
                "value": "This product contains a battery. Death or serious injury can occur if ingested. A swallowed battery can cause Internal Chemical Burn in as little as 2 hours. Keep new and used batteries OUT OF REACH OF CHILDREN. Seek Immediate medical attention if a battery is suspected to be swallowed or inserted inside any part of the body."
            }
        ],
        "warranty": {
            "information": "1 Year",
            "length": null,
            "url": null
        },
        "nutrition_facts": {
            "calorie_info": null,
            "key_nutrients": null,
            "vitamin_minerals": null,
            "serving_info": null,
            "additional_disclaimer": null,
            "static_content": null
        },
        "videos": null
    },
    "result_count": 1,
    "remaining_credits": 1877036
}

Request Cost

2.5 credits are deducted for each successful request

Support

If you want to add a parameter to our response, or have any question or feedback, please write to us at support@unwrangle.com