Walmart SERP Product Scraper API

API Endpoint Specifications

  • Endpoint Path: /api/1/walmart
  • Type of Data: JSON & 20/minute
  • Data Source: Walmart
  • Request Limit: 500 request/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Walmart SERP Product Scraper API Endpoint Basic Info

API Endpoint Path

required

Walmart SERP product data Scraper API

api/1/walmart


Call Method

Required

GET

Type of Data Return

JSON

Output structured JSON data on Walmart SERP product


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Subscription API is available on /api/1/walmart, and accessible to on-site APP on /app/1/walmartserp

keyword

required

Input a keyword in English

sortby

required

Sort out the SERP product data by two paramaters. TopSeller, BestReviews


page

Optional

Total amount of product SERP page scraping. Max. amount of pages are 5. The default value is 1st page, which is 1.


Walmart SERP product data Scraper API

api/1/walmart


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/1/walmart?"

## Required Arguments & Parameters ##

token = ""your buyfromlo token""
keyword = ""Input a query""
sortby = "Sort by 5 options: TopSeller, LowestPrice, HighestPrice, BestReviews, BestSearchMatch"

data="keyword=" + keyword + "&sortby=" + sortby
headers={"Authorization": "Bearer " + token}

## Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "Product ID": " " (string),
    "Product Title": " " (string),
    "product Description": " " (string),
    "Product Image": " " (string),
    "Product Link": " " (string),
    "Product Brand": " " (string),
    "Product Rating": " " (float),
    "Product Review": " " (integer),
    "Product Price": " " (float),
    "Product Delivery": " " (float),
}