Data APIs ยท Walmart
Walmart data APIs for AI agents
morigraph has 3 Walmart data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including search, product and reviews. You need no Walmart developer account or API key, only one morigraph connection. Calls cost from 0.017 credits, about $1.70 for 1,000 calls, paid from one balance.
- APIs
- 3
- Price
- 0.017 to 0.02 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Walmart 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 Walmart 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 Walmart Search data API with {"query":"airpods","sort":"best_seller"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"walmart.search","input":{"query":"airpods","sort":"best_seller"}}'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":"walmart.search","input":{"query":"airpods","sort":"best_seller"}}'3 Walmart data APIs
| API | Id | Price |
|---|---|---|
| Walmart Search | walmart.search | 0.018 credits a call |
| Walmart Product | walmart.product | 0.02 credits a call |
| Walmart Reviews | walmart.reviews | 0.017 credits a call |
Walmart Search
Search Walmart by keyword with optional sort, price-range, facet, and page filters and get title, price, rating, seller, and availability for each product in one normalized response.
| Argument | Type | Required | What it is |
|---|---|---|---|
facet | string | no | Optional Walmart facet filter token, e.g. brand:HP to keep only HP products. |
maxPrice | number | no | Optional maximum product price in USD. |
minPrice | number | no | Optional minimum product price in USD. |
page | integer | no | 1-based results page of about 40 to 60 products; Walmart serves no products past page 10. Each page is billed as one request. Walmart re-ranks between requests, so consecutive pages can repeat a product: deduplicate on itemId. Default 1. |
query | string | yes | Search keywords, e.g. "airpods" or "paper towels". |
sort | best_match | best_seller | price_low | price_high | rating_high | new | no | Result sort order; omit for Walmart's Best Match (e.g. price_low sorts by lowest price first). |
Returns availability brand currency image inStock isSponsored itemId listPrice position price rating reviewsCount sellerId sellerName title totalPages totalResults url
The call
data_api({"api":"walmart.search","input":{"query":"airpods","sort":"best_seller"}})Walmart Product
Fetch a Walmart product page by URL and get full product details (title, price, availability, ratings, images, and specs) in one normalized response.
| Argument | Type | Required | What it is |
|---|---|---|---|
url | string | yes | Walmart product page URL. |
Returns availability brand description image images itemId model orderLimit priceText productId rating returnWindow reviewsCount sellerId sellerName title upc url
The call
data_api({"api":"walmart.product","input":{"url":"https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121"}})Walmart Reviews
Pull a page of 10 customer reviews for any Walmart product by URL, newest first or by relevance, helpfulness, or rating: rating, title, text, date and reviewer, plus the verified-purchase badge and helpful votes where the source has them (name them in requireFields to get them).
| Argument | Type | Required | What it is |
|---|---|---|---|
page | integer | no | 1-based page of 10 reviews, Walmart's fixed page size; Walmart serves at most 100 pages. Each page is billed as one request; keep url and sort the same while walking pages. Default 1. |
sort | recent | oldest | relevancy | helpful | rating_high | rating_low | no | Review order: recent (newest first, the default), oldest, relevancy, helpful, rating_high, or rating_low (e.g. helpful). |
url | string | yes | Walmart product page URL (e.g. https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121). |
Returns createdUtc helpfulVotes rating ratingDistribution reviewId reviewer text title totalPages totalReviews verifiedPurchase
The call
data_api({"api":"walmart.reviews","input":{"url":"https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121"}})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 Walmart 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 Walmart 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 3 APIs on this page.
What does Walmart data cost through morigraph?
Between 0.017 and 0.02 credits a call depending on the API, where a credit is about 10 cents. That is from about $1.70 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Walmart 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 Walmart data APIs are available?
Walmart Search, Walmart Product and Walmart Reviews.
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.