---
title: "Sam's Club API: product search as JSON | Perceptlayer"
description: "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."
url: https://perceptlayer.com/apis/sams-club
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / Sam's Club

1 credit per call 5 endpoints 3 datapoints 

# 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.

[Get a free API key](https://perceptlayer.com/signup) Run it below

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 OK JSON X-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.

| # | id string | name string | address object |
| --- | --- | --- | --- |
| 1 | 8192 | Dothan Sam's Club | {3 fields} |
| 2 | 8193 | Hagerstown Sam's Club | {3 fields} |
| 3 | 8194 | Bogart Sam's Club | {3 fields} |

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

3 datapoints

### Identity

-   id string
-   name string

### Location

-   address object

Playground

## Run this API

cURL shell 

```
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.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/sams-club/autocomplete`](https://perceptlayer.com/apis/sams-club/autocomplete) | `query` +1 optional | `club_id` `suggestions` | 1 credit |
| [GET `/v1/sams-club/category`](https://perceptlayer.com/apis/sams-club/category) | `id` | `id` `name` `url` `image` `categories` `product_ids` | 1 credit |
| [GET `/v1/sams-club/clubs`](https://perceptlayer.com/apis/sams-club/clubs) | `address` +2 optional | `id` `name` `address` `phone` `distance` `time_zone` | 1 credit |
| [GET `/v1/sams-club/clubs-search`](https://perceptlayer.com/apis/sams-club/clubs-search) | none | `id` `name` `address` | 1 credit |
| [GET `/v1/sams-club/search`](https://perceptlayer.com/apis/sams-club/search) | `query` +8 optional | `club_id` `filter_scope` `items` | 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 `id`s; 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.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

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.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
