Data APIs ยท Sam's Club
Sam's Club data APIs for AI agents
morigraph has 2 Sam's Club data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including search and product. You need no Sam's Club developer account or API key, only one morigraph connection. A call costs 0.063 credits, about $6.30 for 1,000 calls, paid from one balance.
- APIs
- 2
- Price
- 0.063 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Sam's Club account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Sam's Club Search.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Sam's Club Search data API with {"query":"paper towels"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"samsclub.search","input":{"query":"paper towels"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"samsclub.search","input":{"query":"paper towels"}}'2 Sam's Club data APIs
| API | Id | Price |
|---|---|---|
| Sam's Club Search | samsclub.search | 0.063 credits a call |
| Sam's Club Product | samsclub.product | 0.063 credits a call |
Sam's Club Search
Search SamsClub.com by keyword with optional sort, price-range, and page filters and get title, member price, stock, and rating for each product in one normalized response.
| Argument | Type | Required | What it is |
|---|---|---|---|
maxPrice | number | no | Optional maximum member price in USD. |
minPrice | number | no | Optional minimum member price in USD. |
page | integer | no | 1-based results page of about 40 to 50 products. Each page is billed as one request. Default 1. |
query | string | yes | Search keywords, e.g. "paper towels" or "tv". |
sort | best_match | price_low | price_high | no | Result sort order; omit for Sam's Club's Best Match (e.g. price_low sorts by lowest price first). |
Returns availability currency fulfillment hasMore image itemId listPrice pickupClubId position price promotions rating reviewsCount title totalResults totalResultsExact url
The call
data_api({"api":"samsclub.search","input":{"query":"paper towels"}})Sam's Club Product
Fetch a SamsClub.com product by URL and get title, member price, stock, brand, model, UPC, rating, description, and images in one normalized response.
| Argument | Type | Required | What it is |
|---|---|---|---|
url | string | yes | Sam's Club product page URL, e.g. https://www.samsclub.com/ip/Bounty-Select-A-Size-2-Ply-Paper-Towels-12-Rolls-110-sheets-roll/18040450426. Prices and stock are those of Sam's Club's default club. |
Returns availability brand clubName currency description highlights image images itemId listPrice memberLimit model orderLimit price rating ratingDistribution reviewsCount title unitPrice upc url
The call
data_api({"api":"samsclub.product","input":{"url":"https://www.samsclub.com/ip/Bounty-Select-A-Size-2-Ply-Paper-Towels-12-Rolls-110-sheets-roll/18040450426"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Sam's Club data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a Sam's Club API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 2 APIs on this page.
What does Sam's Club data cost through morigraph?
0.063 credits a call, where a credit is about 10 cents. That is from about $6.30 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Sam's Club data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Sam's Club data APIs are available?
Sam's Club Search and Sam's Club Product.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.