简介
scavio-walmart
原始描述
Search Walmart and read product detail, reviews, category listings, buy-box offers, seller storefronts and a seller's catalog as structured JSON. 7 endpoints; cost depends on the body - 1 credit, or 2 when search or category targets walmart.com.mx.
通过你的 Agent 添加
安装目录:scavio-walmart/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: scavio-walmart description: Search Walmart products and look up product details by product ID. Supports delivery speed, ZIP code, and in-store availability filters. Returns structured JSON. version: 2.0.4 tags: walmart, retail, product-search, ecommerce, price-lookup, shopping, agents, langchain, crewai, autogen, structured-data, json, ai-agents metadata: openclaw: requires: env: - SCAVIO_API_KEY primaryEnv: SCAVIO_API_KEY timeout: 90 throttle: 1 emoji: "\U0001F3EA" homepage: https://scavio.dev/docs
Walmart Product Search via Scavio
Search Walmart products or retrieve full product details by product ID. Returns structured JSON with pricing, ratings, fulfillment, and availability.
When to trigger
Use this skill when the user asks to:
- Find products on Walmart with price or delivery requirements
- Check same-day or next-day availability for a product near a ZIP code
- Look up a specific Walmart product by product ID
- Compare Walmart prices (pair with scavio-amazon for cross-retailer comparison)
- Filter products by in-store pickup availability
Setup
Get a free API key at https://scavio.dev (50 free credits to get started, no card required):
export SCAVIO_API_KEY=sk_live_your_key
Workflow
- If the user has a Walmart product ID, call
/api/v1/walmart/productdirectly. - If the user has a keyword, call
/api/v1/walmart/search. - If the user asks about delivery speed (e.g. "can I get this today?"), set
fulfillment_speedanddelivery_zip. - If the user asks about in-store pickup, set
fulfillment_type: in_storeandstore_idif known. - Present results with name, price, rating, fulfillment info, and product URL.
Endpoints
| Endpoint | Description |
|---|---|
POST https://api.scavio.dev/api/v1/walmart/search |
Keyword search with filters |
POST https://api.scavio.dev/api/v1/walmart/product |
Full product details by product ID |
Authorization: Bearer $SCAVIO_API_KEY
Search Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | required | Search query (1-500 chars) |
sort_by |
string | best_match |
best_match, price_low, price_high, best_seller |
start_page |
integer | 1 |
Starting page |
min_price |
integer | -- | Minimum price filter (dollars) |
max_price |
integer | -- | Maximum price filter (dollars) |
fulfillment_speed |
string | -- | today, tomorrow, 2_days, anytime |
fulfillment_type |
string | -- | in_store for click-and-collect |
delivery_zip |
string | -- | ZIP code for localized results |
store_id |
string | -- | Walmart store ID for in-store availability |
device |
string | desktop |
desktop, mobile, or tablet |
Product Detail Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
product_id |
string | required | Walmart product ID |
delivery_zip |
string | -- | ZIP code for localized pricing |
store_id |
string | -- | Walmart store ID |
Examples
import os, requests
BASE = "https://api.scavio.dev"
HEADERS = {"Authorization": f"Bearer {os.environ['SCAVIO_API_KEY']}"}
# Search with delivery filter
results = requests.post(f"{BASE}/api/v1/walmart/search", headers=HEADERS,
json={"query": "standing desk", "sort_by": "best_seller", "max_price": 300,
"fulfillment_speed": "tomorrow", "delivery_zip": "10001"}).json()
# Product by ID
product = requests.post(f"{BASE}/api/v1/walmart/product", headers=HEADERS,
json={"product_id": "123456789", "delivery_zip": "10001"}).json()
Search Response
{
"data": [
{
"name": "Flexispot Standing Desk",
"product_id": "123456789",
"url": "https://www.walmart.com/ip/123456789",
"price": "$249.00",
"was_price": "$349.99",
"rating": 4.7,
"total_reviews": 8230,
"fulfillment": "Free shipping",
"in_stock": true,
"seller": "Walmart.com"
}
],
"credits_used": 1,
"credits_remaining": 999
}
Product detail response also includes: description, features, images, categories, availability, fulfillment.
Guardrails
- Never fabricate product names, prices, product IDs, or availability. Only return data from the API.
- If the user asks about delivery to a specific location, always pass
delivery_zip— availability varies by ZIP. fulfillment_speed: todayresults are time-sensitive; mention this to the user.- Always include the product URL so the user can verify and complete purchase.
Failure handling
- If no products are returned, relax filters (remove
fulfillment_speedor increasemax_price) and retry. - If the product ID is not found, suggest a keyword search instead.
- If
SCAVIO_API_KEYis not set, prompt the user to export it before continuing.
LangChain
pip install langchain-scavio
from langchain_scavio import ScavioSearchTool
tool = ScavioSearchTool(engine="walmart")
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。