Walmart Product Data 标志

Walmart Product Data

社区
scavio-ai
walmart-product-data

Walmart product data API: keyword search, full product detail by item id, customer reviews with the rating breakdown, category listings, the buy-box offer on an item, marketplace seller storefronts and catalogs, and stores near a US ZIP or Canadian postal code for store-targeted results, as structured JSON. 8 endpoints; 1 credit, or 2 for walmart.com.mx search/category or a store-targeted search/product.

概览

发布者scavio-ai
代码仓库skills
技能名称walmart-product-data
星标数
67
复刻数
0
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 scavio-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Walmart Product Data AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scavio-ai/skills/tree/main/skills/walmart-product-data
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/walmart-product-data .claude/skills/walmart-product-data
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Walmart Product Data,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Walmart Product Data。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Walmart Product Data 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Walmart Product Data API - Search, Detail, Reviews, Offers

Search Walmart, read a product in full, page its customer reviews, list a category, look up the buy-box offer on an item, read a marketplace seller's storefront and catalog, and find Walmart stores near a ZIP or postal code so search and product results can be targeted at one store. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Search Walmart for products by keyword, price band or sort order
  • Look up a Walmart item by its item id (usItemId)
  • Read customer reviews and the rating breakdown for a Walmart product
  • List the products inside a Walmart category
  • Check who holds the buy box on a Walmart listing and at what price
  • Look up a Walmart marketplace seller: rating, review count, Pro Seller badge
  • See what a Walmart marketplace seller lists
  • Compare Walmart pricing against another retailer (pair with scavio-amazon, scavio-ebay or scavio-target)
  • Search the Canadian (walmart.ca) or Mexican (walmart.com.mx) marketplace
  • Find the Walmart stores near a US ZIP or Canadian postal code
  • See what a specific Walmart store carries, or a product's availability at that store (walmart.com and walmart.ca)

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Endpoints in this skill cost 1 credit each unless the table below says otherwise.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev.

EndpointCreditsDescription
POST /api/v1/walmart/search1, or 2 when domain is com.mx or the request targets a storeKeyword search: products[], products_count, location
POST /api/v1/walmart/product1, or 2 when the request targets a storeFull product detail by item id
POST /api/v1/walmart/reviews1Customer reviews plus the rating breakdown
POST /api/v1/walmart/category1, or 2 when domain is com.mxProducts in a category, same shape as search
POST /api/v1/walmart/offers1The buy-box seller for an item
POST /api/v1/walmart/seller1Marketplace seller storefront
POST /api/v1/walmart/seller-products1A seller's catalog (path is hyphenated)
POST /api/v1/walmart/stores1Stores near a US ZIP or Canadian postal code, nearest first, with store_id

Cost rule

Cost is a function of the request body, not a constant. Two things change it:

  • domain: "com" (US, the default) costs 1 credit
  • domain: "ca" (Canada) costs 1 credit
  • domain: "com.mx" (Mexico) costs 2 credits, on /search and /category
  • A store-targeted request (store_id + delivery_zip) on /search or /product costs 2 credits, on walmart.com or walmart.ca

So /search can cost 2 through either rule, /category only through com.mx, and /product only through store targeting. /reviews, /offers, /seller, /seller-products and /stores are always 1 credit. Never quote a flat price for search, category or product without stating the rule.

Workflow

  1. Find items: call /walmart/search with query. The item id is id on each row of data.products[] — that is the value the other endpoints take as product_id.
  2. Read an item: call /walmart/product with product_id.
  3. Reviews: call /walmart/reviews with the same product_id, paging with page (10 reviews per page).
  4. Browse a category: call /walmart/category with category_id.
  5. Buy box: call /walmart/offers with product_id to see who currently wins the buy box and at what price.
  6. Sellers: a product, search or offers response carries seller_catalog_id. Pass that numeric id as seller_id to /walmart/seller for the storefront and to /walmart/seller-products for the catalog.
  7. Target a store: call /walmart/stores with zipcode (add "domain": "ca" for a Canadian postal code). Pick a store_id from data.stores[], then send it with delivery_zip (and the same domain) to /walmart/search or /walmart/product. The results reflect that store's assortment and availability, and data.location confirms the store that was used. Store-targeted calls take 10-60 seconds.

search, reviews and category paginate with page (1-based). product, offers, seller, seller-products and stores do not paginate at all — there is no page or cursor parameter on them.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredSearch query (1-500 chars)
pageinteger >= 1--Results page, 1-based
start_pageinteger >= 1--Deprecated alias for page. Prefer page
sort_bystringbest_matchbest_match, price_low, price_high, best_seller, rating_high, new
min_pricenumber--Minimum price filter
max_pricenumber--Maximum price filter
fulfillment_speedstring--today or tomorrow only
fulfillment_typestring--in_store for in-store pickup
domainstringcomcom (1 credit), ca (1 credit), com.mx (2 credits)
delivery_zipstring--Shopper's 5-digit US ZIP, or Canadian postal code with domain: "ca". Send together with store_id
store_idstring--Store from /walmart/stores on the same domain. Send together with delivery_zip. 2 credits; com and ca only

Product (/product)

ParameterTypeDefaultDescription
product_idstringrequiredWalmart item id (usItemId), e.g. 13544111159
delivery_zipstring--Same as on search. Send together with store_id
store_idstring--Same as on search. 2 credits
domainstringcomca is accepted only together with store_id + delivery_zip

Reviews (/reviews)

ParameterTypeDefaultDescription
product_idstringrequiredWalmart item id (usItemId)
pageinteger >= 1--Reviews page, 1-based. 10 reviews per page
sortstring--relevancy, submission-desc, submission-asc, rating-desc, rating-asc, helpful-desc

Category (/category)

ParameterTypeDefaultDescription
category_idstringrequiredLeaf id (1095191) or full underscore path (3944_133251_1095191)
limitinteger >= 1--Trims the returned products. Applied after fetching, so it does NOT reduce cost
pageinteger >= 1--Results page, 1-based
sort_bystringbest_matchSame six values as search
min_pricenumber--Minimum price filter
max_pricenumber--Maximum price filter
fulfillment_speedstring--today or tomorrow only
domainstringcomcom (1 credit), ca (1 credit), com.mx (2 credits)

Offers (/offers)

ParameterTypeDefaultDescription
product_idstringrequiredWalmart item id (usItemId), e.g. 2979510112

Seller (/seller) and seller products (/seller-products)

ParameterTypeDefaultDescription
seller_idstringrequiredNUMERIC catalog seller id, as returned in seller_catalog_id. Example 101480084

Stores (/stores)

ParameterTypeDefaultDescription
zipcodestringrequired5-digit US ZIP (50036), or a Canadian postal code (M5V 2T6, with or without the space) with domain: "ca"
domainstringcomcom (walmart.com) or ca (walmart.ca)

Examples

python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1. Search (1 credit on the default com domain)
results = requests.post(f"{BASE}/api/v1/walmart/search", headers=HEADERS,
    json={"query": "wireless headphones", "sort_by": "price_low", "max_price": 100}).json()

product_id = results["data"]["products"][0]["id"]   # search rows carry `id`, not `product_id`

# 2. Full product detail
product = requests.post(f"{BASE}/api/v1/walmart/product", headers=HEADERS,
    json={"product_id": product_id}).json()

# 3. Reviews, page 2 (10 per page)
reviews = requests.post(f"{BASE}/api/v1/walmart/reviews", headers=HEADERS,
    json={"product_id": product_id, "page": 2, "sort": "rating-desc"}).json()

# 4. Buy box for an item
offers = requests.post(f"{BASE}/api/v1/walmart/offers", headers=HEADERS,
    json={"product_id": "2979510112"}).json()

# 5. Seller storefront, then their catalog (numeric seller_catalog_id)
seller = requests.post(f"{BASE}/api/v1/walmart/seller", headers=HEADERS,
    json={"seller_id": "101480084"}).json()
catalog = requests.post(f"{BASE}/api/v1/walmart/seller-products", headers=HEADERS,
    json={"seller_id": "101480084"}).json()

# 6. Mexican marketplace search: this call costs 2 credits, not 1
mx = requests.post(f"{BASE}/api/v1/walmart/search", headers=HEADERS,
    json={"query": "audifonos", "domain": "com.mx"}).json()

# 7. Stores near a ZIP, then one store's search results (2 credits, 10-60s)
stores = requests.post(f"{BASE}/api/v1/walmart/stores", headers=HEADERS,
    json={"zipcode": "50036"}).json()
store_id = stores["data"]["stores"][0]["store_id"]   # nearest first, e.g. "1389"
local = requests.post(f"{BASE}/api/v1/walmart/search", headers=HEADERS, timeout=120,
    json={"query": "whole milk", "delivery_zip": "50036", "store_id": store_id}).json()
print(local["data"]["location"])   # the store the results were served against

# 8. Same on walmart.ca: postal code + domain "ca" on both calls
ca_stores = requests.post(f"{BASE}/api/v1/walmart/stores", headers=HEADERS,
    json={"zipcode": "M5V 2T6", "domain": "ca"}).json()

Response

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining } (fetched_at is the ISO time the data was retrieved; nothing is cached), plus an optional warnings[] array of strings when part of the request was ignored (a retired parameter, zipcode sent to search or product, or store parameters sent to an endpoint that does not take them).

  • search puts the rows in data.products[] with data.products_count, and reports the Walmart store the results were served against in data.location. Each row's fulfillment.stock_source is store (on the selected store's shelf), fulfillment_center or marketplace, and on a store-targeted search fulfillment.aisle gives the aisle in that store (e.g. Z34), null when the store has none on hand. category returns the same product shape as search.
  • product returns price, rating, images, specifications, availability and seller. seller_type is INTERNAL for Walmart itself and EXTERNAL for a marketplace seller (is_marketplace_seller). On a store-targeted call, fulfillment.pickup is true only when that store has the item for pickup, and fulfillment.pickup_information carries Walmart's message (e.g. "Pickup not available at "). fulfillment.aisle is the aisle at that store when Walmart lists one, and fulfillment.available_nearby is Walmart's flag for stock at a nearby store.
  • reviews returns the review bodies with ratings, text, author and date, plus the rating breakdown.
  • offers returns price, seller, condition, seller_type / is_marketplace_seller and the buy-box flag.
  • seller returns store name, rating, review count, Pro Seller badge and business details.
  • seller-products returns the seller's catalog with total_count.
  • stores returns data.stores[] nearest first: store_id, name, type, distance_miles, address, latitude, longitude, open_24_hours, hours and pickup_types, plus zipcode, domain and count.

Read credits_used on the response rather than assuming a cost, since search, category and product are body-priced.

Changed in 3.1.0

  • New /walmart/stores endpoint: stores near a US ZIP or Canadian postal code.
  • delivery_zip and store_id work again on /search and /product, sent together, on walmart.com and walmart.ca. They target one store's assortment and availability and cost 2 credits. /product accepts domain: "ca" with them.
  • device is now the only retired parameter.

Changed in 3.0.0

If you have an older version of this skill installed, stop sending these. The API answers device with a warnings[] entry rather than an error, which means a request that looks successful was silently unfiltered:

  • device is gone. Desktop, mobile and tablet return identical page data, so the response would not change.
  • fulfillment_speed: "2_days" is gone. It leaked items 3-4 days out.
  • fulfillment_speed: "anytime" is gone. It was a no-op. To mean "anytime", omit the parameter entirely.

domain is NOT retired. It is live, it can change the price, and it is the only way to reach walmart.ca and walmart.com.mx.

New since 2.x: /reviews, /category, /offers, /seller and /seller-products. sort_by gained rating_high and new. search and product both changed response shape.

Guardrails

  • Never fabricate product names, prices, item ids, ratings or availability. Only return data the API returned.
  • /offers returns the BUY-BOX SELLER ONLY. It is not the full offer list, and must never be described as one. If the user wants every seller on an item, say that this API cannot enumerate them.
  • /seller-products returns roughly the first 40 items, server-rendered. There is no pagination on it. total_count reports the seller's real catalog size, so the two numbers will disagree and that is expected. Do not invent a page parameter.
  • seller_id must be the NUMERIC catalog seller id from seller_catalog_id. The GUID form of seller_id returns 404.
  • domain is accepted on /search, /category and /stores, and on /product only as "ca" together with a store target. The other id-keyed endpoints are US-only.
  • delivery_zip and store_id must be sent together, and only on /search and /product. One alone is a 400. Get store_id from /walmart/stores on the same domain; a store_id that does not exist is a 400. Store targeting works on walmart.com and walmart.ca, not walmart.com.mx.
  • store_id decides the store. Always read data.location to confirm which store the results came from, and tell the user.
  • For "is it on the shelf at this store", use a store-targeted call and read fulfillment.pickup; on search rows also check fulfillment.stock_source is store. A marketplace offer (seller_type: EXTERNAL) fulfilled by Walmart ships from a fulfillment center and is not store stock, even when fulfilled_by is Walmart.
  • A store-targeted product can return 404 when that store does not carry the item, even if it exists elsewhere. Say so rather than retrying.
  • Store-targeted calls take 10-60 seconds. Use a client timeout of at least 120 seconds.
  • limit on /category trims the response after fetching. It does not reduce the credit cost.
  • category_id accepts either the leaf id or the full underscore-joined path.
  • sort_by, fulfillment_speed, fulfillment_type and domain are closed enums - a value outside them is a 400. Send only the values listed above; in particular fulfillment_speed no longer accepts 2_days or anytime, and to mean "anytime" you omit the parameter.
  • Always include the product URL so the user can verify and complete the purchase.

Failure handling

  • 400 means an invalid or missing parameter. Fix and retry. On a store-targeted call it can also mean store_id is not a real store, or only one of delivery_zip / store_id was sent.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 404 on /seller or /seller-products almost always means a GUID was sent instead of the numeric seller_catalog_id. On a store-targeted /product it means the store does not carry the item.
  • 429 means a rate or usage limit was exceeded. Wait before retrying. See rate limits.
  • 502 / 503 mean the upstream is temporarily unavailable. Transient 502s happen on Walmart; wait a few seconds and retry once before reporting failure.
  • If a response carries warnings[], surface it to the user. It means part of their request was ignored.
  • If search returns nothing, relax the filters (drop fulfillment_speed, widen min_price/max_price) and retry.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

Docs

常见问题

Walmart Product Data AI 技能有什么作用?

Walmart product data API: keyword search, full product detail by item id, customer reviews with the rating breakdown, category listings, the buy-box offer on an item, marketplace seller storefronts and catalogs, and stores near a US ZIP or Canadian postal code for store-targeted results, as structured JSON. 8 endpoints; 1 credit, or 2 for walmart.com.mx search/category or a store-targeted search/product.

为什么在 TypingMind 中使用 Walmart Product Data?

因为您只需安装一次,就能搭配任何模型使用。Walmart Product Data 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Walmart Product Data?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scavio-ai/skills/tree/main/skills/walmart-product-data。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Walmart Product Data?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Walmart Product Data 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Walmart Product Data 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Walmart Product Data AI 技能免费吗?

是的。scavio-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇