Quickstart
A step-by-step guide to help you scrape data quickly using MrScraper.
This guide walks you through the essential steps to get started with MrScraper. Whether you’re new to web scraping or already experienced, you’ll learn how to create and run your first scraper in just a few minutes.
Scenario
Imagine you want to collect data on the top-selling laptops on Amazon to analyze market trends or compare pricing. For this example, you’ll scrape data from the following category page:
https://www.walmart.com/search?q=laptop&typeahead=laptop
Using General Mode, your goal is to extract:
- Product name
- Price
- Rating
- Number of reviews
- Product link
This example shows how you can gather structured e-commerce data using AI Scraper — no coding required.
How to Scrape
Step 1: Create a New Scraper
- Log in to MrScraper, then click Scraper in the left sidebar.
- Click New Scraper + at the top to create a new scraper.
- Select General mode and enter the following URL to scrape:
Note
We offer three AI Scraper modes. For details and a full comparison of each mode, see here.
https://www.walmart.com/search?q=laptop&typeahead=laptop- Set the scraper type to Super for higher accuracy, faster scraping time and richer results.
Note
For a detailed comparison between Cheap and Super scraper types, see here.
- Click Submit to begin.
- In the prompt box, enter the following instruction:
Scrape the top 3 laptop products on this page and return the following information in JSON format:
- product_name
- price
- rating
- number_of_reviews
- product_link
Step 2: Check the Result
The AI Scraper supports four output formats. In this example, we select the JSON format, which returns results like the sample below:
{
"products": [
{
"price": "$347.99",
"rating": "4334.3 out of 5 Stars",
"product_link": "https://www.walmart.com/sp/track?bt=1&eventST=click&plmt=sp-search-middle~desktop~primary-exact&pos=1&tax=3944_1089430_3951_8835131_1737838&rdf=1&rd=https%3A%2F%2Fwww.walmart.com%2Fip%2F2024-Newest-Laptop-15-6-Inch-FHD-Display-Laptop-Intel-Quad-Core-12th-N100-Up-3-4GHz-16GB-RAM-1TB-ROM-Business-Laptop-Computer-Fingerprint-Type-C-Wind%2F8487662020%3FclassType%3DVARIANT%26athbdg%3DL1800%26adsRedirect%3Dtrue&adUid=c657f451-02c8-42ae-b60c-62612d807f3c-0-0&mloc=sp-search-middle&pltfm=desktop&pgId=lap…",
"product_name": "2025 Newest Laptop, 15.6-Inch FHD Display Laptop with Intel Quad Core-12th N100(Up to 3.4GHz), 16GB RAM 1TB ROM Business Laptop Computer, Fingerprint, Type C, Windows 11 Home, Silver",
"number_of_reviews": "433 reviews"
},
{
"price": "$349.99",
"rating": "92.9 out of 5 Stars",
"product_link": "https://www.walmart.com/sp/track?bt=1&eventST=click&plmt=sp-search-middle~desktop~primary-exact&pos=2&tax=3944_1089430_3951_8835131_1737838&rdf=1&rd=https%3A%2F%2Fwww.walmart.com%2Fip%2FLaptop-15-1-FHD-Gaming-Laptop-AMD-Ryzen-5-7430U-16GB-RAM-512GB-SSD-Windows-11-Graphite-WiFi-6-Backlit-KB-Gray%2F16677463719%3FclassType%3DREGULAR%26adsRedirect%3Dtrue&adUid=c657f451-02c8-42ae-b60c-62612d807f3c-0-0&mloc=sp-search-middle&pltfm=desktop&pgId=laptop&pt=search&spQs=qpuC0k5U2ojBlrZ7sXlStb448h8AQkDjaTdEl…",
"product_name": "NIPOGI LX15PRO 15.6 in FHD Laptop AMD Ryzen 5 7430U 16GB DDR4 512GB SSD with Windows 11 Pro",
"number_of_reviews": "9 reviews"
},
{
"price": "$649.00",
"rating": "3024.3 out of 5 Stars",
"product_link": "https://www.walmart.com/sp/track?bt=1&eventST=click&plmt=sp-search-middle~desktop~primary-exact&pos=3&tax=3944_1089430_3951_8835131_1737838&rdf=1&rd=https%3A%2F%2Fwww.walmart.com%2Fip%2FHP-17-3-Touchscreen-Laptop-Intel-Core-i3-32GB-RAM-128GB-eMMC-2TB-SSD-Windows-11-P-Silver%2F16981658690%3FclassType%3DVARIANT%26athbdg%3DL1800%26adsRedirect%3Dtrue&adUid=c657f451-02c8-42ae-b60c-62612d807f3c-0-0&mloc=sp-search-middle&pltfm=desktop&pgId=laptop&pt=search&spQs=CQlQPuDu_H9IH8VObMfFzVJs437mJht47--C2Rp3b…",
"product_name": "HP 17.3\" Touchscreen Laptop, Intel Core i3, 32GB RAM, 128GB eMMC + 2TB SSD, Windows 11 P, Silver",
"number_of_reviews": "302 reviews"
}
]
}Note
The actual results may vary depending on the current Walmart listings.
Step 3: Rerun the Scraper Using the API
You can also trigger a rerun of the scraper you’ve created using the API with a new URL to scrape.
- Ensure that you’ve generated an API Token. If not, follow the steps here.
- Go to Settings → Enable AI Scraper API Access.
- Call the following endpoint using Postman or via our API Reference:
Note
In this example, we change the URL to: https://www.amazon.com/s?k=laptops.
curl -X POST "https://api.v3.app.mrscraper.com/api/v1/scrapers-ai-rerun" \
-H "accept: application/json" \
-H "x-api-token: atk_01aa6d4628c1770ef8968fb95a39b0095b444e32757f861d6053785df783976c" \
-H "content-type: application/json" \
-d '{
"scraperId": "f9146f33-d01d-4f14-aefa-22c500d7cd19",
"url": "https://www.amazon.com/s?k=laptops"
}' \
-k- The endpoint returns a JSON response similar to the example below:
{
"success": true,
"data": {
"products": [
{
"product_name": "Lenovo IdeaPad 2025 15.6” FHD Laptop, Intel 4-Core CPU, 12GB RAM, 256GB SSD, Wi-Fi 6, Win11",
"price": "$325.99",
"rating": "4 out of 5 Stars",
"number_of_reviews": "1 review",
"product_link": "https://www.walmart.com/sp/track?bt=1&eventST=click&plmt=sp-search-middle~desktop~primary-exact&pos=1&tax=3944_1089430_3951_8835131_1737838&rdf=1&rd=https%3A%2F%2Fwww.walmart.com%2Fip%2FLenovo-IdeaPad-2025-15-6-FHD-Laptop-Intel-4-Core-CPU-12GB-RAM-256GB-SSD-Wi-Fi-6-Win11%2F17468167966%3FclassType%3DVARIANT%26adsRedirect%3Dtrue"
},
{
"product_name": "ASUS CX15 15.6 inch FHD IPS Chromebook Laptop Intel Celeron N4500 4GB RAM 128GB eMMC Fabric Blue",
"price": "$139.00",
"rating": "4.1 out of 5 Stars",
"number_of_reviews": "2507 reviews",
"product_link": "https://www.walmart.com/sp/track?bt=1&eventST=click&plmt=sp-search-middle~desktop~primary-exact&pos=2&tax=3944_1089430_3951_8835131_1737838&rdf=1&rd=https%3A%2F%2Fwww.walmart.com%2Fip%2FASUS-CX15-Chromebook-Laptop-15-6-FHD-NanoEdge-Display-Intel-Celeron-N4500-Processor-128GB-Storage-4GB-RAM-Pure-Gray%2F13737005799%3FclassType%3DVARIANT%26athbdg%3DL1300%26adsRedirect%3Dtrue"
},
{
"product_name": "HP Victus 15.6 inch FHD 144Hz IPS Windows Gaming Laptop Intel Core i5-13420H 16GB RAM 512GB SSD RTX 4050 Mica Silver",
"price": "$599.00",
"rating": "4.2 out of 5 Stars",
"number_of_reviews": "208 reviews",
"product_link": "https://www.walmart.com/sp/track?bt=1&eventST=click&plmt=sp-search-middle~desktop~primary-exact&pos=3&tax=3944_1089430_3951_8835131_1737838&rdf=1&rd=https%3A%2F%2Fwww.walmart.com%2Fip%2FHP-Victus-15-6-inch-FHD-144Hz-IPS-Windows-Laptop-Intel-Core-i5-13420H-16GB-RAM-512GB-SSD-Mica-Silver%2F13987763030%3FclassType%3DREGULAR%26athbdg%3DL1300%26adsRedirect%3Dtrue"
}
]
},
"html_path": "results/a6d2135d-8b15-4fdc-936c-57c7ec45f899/rerun/567a8737-c3db-4264-95d7-0f1659930b99.html",
"token_usage": 5,
"status": "completed",
"error": "",
"screenshot_path": "results/a6d2135d-8b15-4fdc-936c-57c7ec45f899/rerun/567a8737-c3db-4264-95d7-0f1659930b99.jpg",
"screenshot_url": "https://mrscraper-data-local.s3.amazonaws.com/results/a6d2135d-8b15-4fdc-936c-57c7ec45f899/rerun/567a8737-c3db-4264-95d7-0f1659930b99.jpg?AWSAccessKeyId=AKIAZI2LGOGSVT77P4VB&Signature=hMPWN8qXURF1%2FeO%2FR0Wx4pSW8Fw%3D&Expires=1762334505"
}Next Steps
You’ve successfully created, run, and rerun your first scraper with MrScraper! From here, you can explore our in-depth use case guides: