APIs / Marketplaces / Sam's Club

1 credit per call5 endpoints3 datapointsChecked working 6 Dec 2026

Sam's Club API

Sam's Club API for product search by club with prices, ratings and stock, search suggestions, category pages and club locations as JSON. 1 credit per call.

Sam's Club
GET/v1/sams-club/clubs-search
{
  "success": true,
  "data": {
    "clubs": [
      {
        "id": "8192",
        "name": "Dothan Sam's Club",
        "address": {
          "city": "Dothan",
          "state": "AL",
          "country": "US"
        }
      },
      {
        "id": "8193",
        "name": "Hagerstown Sam's Club",
        "address": {
          "city": "Hagerstown",
          "state": "MD",
          "country": "US"
        }
      },
      {
        "id": "8194",
        "name": "Bogart Sam's Club",
        "address": {
          "city": "Athens",
          "state": "GA",
          "country": "US"
        }
      }
    ]
  },
  "meta": {
    "endpoint_family": "clubs_search",
    "request_id": "req_73cdd55b71e0471184578d8b81d37073",
    "credits_charged": 1,
    "credits_remaining": 4814
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of clubs-search: the fields and shapes you will get, shortened to 3 items.

#idstringnamestringaddressobject
18192Dothan Sam's Club{3 fields}
28193Hagerstown Sam's Club{3 fields}
38194Bogart Sam's Club{3 fields}

Recorded from our API · 3 items shown · 3 datapoints per itemGET /v1/sams-club/clubs-search

3 datapoints

Identity

  • idstring
  • namestring

Location

  • addressobject

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/sams-club/clubs-search" \
  -H "X-API-Key: $API_KEY"

Sam's Club · 5 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/sams-club/autocomplete
query+1 optional
club_idsuggestions
1 credit
GET/v1/sams-club/category
id
idnameurlimagecategoriesproduct_ids
1 credit
GET/v1/sams-club/clubs
address+2 optional
idnameaddressphonedistancetime_zone
1 credit
GET/v1/sams-club/clubs-search
none
idnameaddress
1 credit
GET/v1/sams-club/search
query+8 optional
club_idfilter_scopeitems
1 credit

Overview

About the Sam's Club API

What you can get

The Sam's Club API returns Sam's Club product and club data as JSON through 5 endpoints.

  • Search: search takes a query, with category, min_price, max_price, brand[], facet, page, per_page and club. autocomplete takes a partial query, with club.
  • Categories: category takes an id and returns its subcategories and product ids.
  • Clubs: clubs takes an address, with distance and stores, and returns the nearest clubs. clubs-search lists clubs.

The recorded clubs-search returns clubs, each with id, name and address (city, state and country), such as Dothan Sam's Club in Dothan, AL. clubs for "Bentonville, AR" adds phone, distance and time_zone.

How a call works

Pick a club, then search it: GET /v1/sams-club/clubs?address=Bentonville,%20AR with your key in the X-API-Key header returns club ids; pass one as club to GET /v1/sams-club/search?query=paper%20towels. Without club, the recorded search used club 6372. Each item has id, name, brand, model, category, category_id, url, price (current, original, discount and discount_percent), rating, availability and image; the response adds total_results, has_next_page and facets. A category_id goes to category. Every successful call costs 1 credit; failed calls cost nothing.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track Sam's Club prices and discounts for a product list

Use the Sam's Club API to track Sam's Club prices and discounts for a product list

Compare a product's price and stock between two clubs with `club`

Use the Sam's Club API to compare a product's price and stock between two clubs with `club`

Find the clubs nearest an address, with phone and distance

Use the Sam's Club API to find the clubs nearest an address, with phone and distance

Map a category's subcategories and product ids with `category`

Use the Sam's Club API to map a category's subcategories and product ids with `category`

FAQ

Questions

How much does the Sam's Club API cost?

Each successful call costs one credit, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

Is there a product detail endpoint?

No. Search items carry price, discount, rating, availability and category; `category` returns product ids for a category page.

Do I need a Sam's Club membership?

No. You call this Sam's Club API with your Perceptlayer key in the `X-API-Key` header, with no Sam's Club login.

Is this the official Sam's Club API?

No. Perceptlayer is an independent service and is not affiliated with Sam's Club. It returns Sam's Club data as JSON with a Perceptlayer key, so there is no Sam's Club developer account, app review or partner approval to get first. It only reads data: if Sam's Club has an official API and you need to act on your own Sam's Club account, such as posting, managing orders or reading private data, use that one.

Should I build a Sam's Club scraper instead?

You can, but a Sam's Club scraper is code you maintain: page changes break it, requests get blocked, and Sam's Club's terms govern how you collect data. The Sam's Club API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Sam's Club API with 100 free credits

No credit card. Failed calls are never billed.