Sam's Club SERP Product Scraper API

API Endpoint Specifications

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

API Endpoint Path

required

Sam's Club SERP Product Scraper

api/1/samclub-product-scraper


Call Method

Required

POST

Type of Data Return

JSON

Output structured JSON data on Sam's Club SERP product


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Free and subscription APIs are both available on /api/1/samclub-product-scraper, and accessible to on-site APP on /app/1/samclub-product-scraper as well

keyword

required

Input a keyword in English



Sam's Club SERP Product Scraper

api/1/samclub-product-scraper


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/1/samclub-product-scraper"

## 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.post(apiendpoint, json=data, headers=headers)
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "Product ID": "",
    "Product Title": "",
    "product Description": "",
    "Product Image": "",
    "Product Link": "",
    "Product Brand": "",
    "Product Rating": "",
    "Product Review": "",
    "Product Price": "",
    "Product Delivery": ""
}