/scraperapi:scraperapi-price-monitoringfrom ScraperAPI
Fetches and compares live product prices from Amazon, Walmart, and Google Shopping via ScraperAPI. Accepts ASINs, product URLs, or free-text queries and reports price changes, restocks, and stockouts against an optional baseline.
Ships in ScraperAPI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Given a list of products (ASINs, Walmart URLs, or free-text Google Shopping queries) and an optional baseline file, fetch current prices via ScraperAPI's structured endpoints, compare against the baseline, and produce a structured change report.
You — Claude — execute the API calls using the ScraperAPI MCP tools. Do not generate a script for the user to run; fetch the data yourself in this turn and report findings as you go. If the user explicitly asks for a CLI/cron-able script instead, point them at scraperapi-cli and stop.
Auth: The MCP server holds the API key from the user's setup. Do not run a standalone check for the key — just make the first real request. A missing or invalid key comes back as an auth error, and Phase 3's failure-handling table already covers that case.
Before fetching anything, classify each target. Different inputs route to different ScraperAPI endpoints, and routing wrong wastes credits.
| Input shape | Endpoint | Required param |
|---|---|---|
10-char alphanumeric (e.g., B08N5WRWNW) | structured/amazon/product | asin |
URL containing amazon. | structured/amazon/product | extract asin from URL, fall back to url |
URL containing walmart.com | structured/walmart/product | url |
Free-text query (e.g., "airpods pro 2") | structured/google/shopping | query |
| Anything else | Tell the user it is not supported by this skill; suggest the scraperapi-mcp skill's scrape tool for arbitrary URLs |
Announce the parsed plan before running: "Watchlist parsed: 3 Amazon products, 1 Walmart product, 1 Google Shopping query. Baseline: prices.json (last updated 2026-05-25). Fetching now."
For Amazon URLs, extract the ASIN with a regex like /(?:dp|gp/product)/([A-Z0-9]{10})/ — the structured endpoint is faster and cheaper when given the ASIN directly than when given the full URL.
The baseline is a JSON file the user maintains across runs. Its shape is documented in assets/price-baseline-template.json. If the user references a baseline file, read it before fetching so you can compare in a single pass.
If no baseline exists, treat this run as the first capture — every product becomes a baseline entry, and the change report only lists currently-observed prices (no deltas). Offer to write the file at the end so the next run can compare against it.
Never silently overwrite a baseline without confirming. If the user wants the file updated, do it explicitly at the end of the run after they see the report.
Use the ScraperAPI MCP server for this skill. Tools like amazon_product, walmart_product, and google_shopping give typed arguments and structured responses with no shell-quoting or stdout-parsing concerns, which is what you want for a pricing workflow where field accuracy matters.
If the ScraperAPI MCP server is listed as still connecting, wait briefly and re-check with ToolSearch before doing anything else. If MCP is genuinely unavailable, stop and tell the user to set up the MCP server (the scraperapi-mcp skill covers setup) — do not fall back to curl or the sapi CLI. This skill routes all price calls through one transport.
Run all targets in parallel — multiple tool calls in a single message — so a 10-product watchlist finishes in roughly one round-trip rather than ten.
| Target | Tool | Key arguments |
|---|---|---|
| Amazon product | amazon_product | asin, optionally countryCode (e.g., "us"), tld |
| Walmart product | walmart_product | productId (the digits from /ip/<id>, e.g., https://walmart.com/ip/5021188053 → "5021188053"), tld |
| Google Shopping query | google_shopping | query, optionally countryCode |
See the scraperapi-mcp skill for full schemas. Walmart's MCP tool takes a product ID, not a URL — strip the /ip/<id> segment.
pricing (formatted string like "$129.99"), list_price, availability_status, product_information.title, offers. Parse the number out of pricing and carry the currency separately.price, availability, seller_name, product_name.shopping_results[] with title, price, extracted_price (numeric when ScraperAPI can parse it), source (retailer), link.The exact field names occasionally drift — inspect the first real response of a run and adapt parsing if needed.
MCP tools surface errors as tool-call errors carrying the upstream HTTP status.
| Status | Action |
|---|---|
| 200 with empty/missing price field | Treat as "price not visible" — likely out of stock or layout changed. Record null and surface it. |
| 401 | API key missing or invalid — stop and tell the user to fix the API key in their ScraperAPI MCP setup. Do not retry. |
| 403 | Credits exhausted for this billing cycle — stop the run (every remaining call will fail too) and tell the user to upgrade or enable overages at https://dashboard.scraperapi.com/billing. |
| 404 | Product no longer exists — record as removed in the report. |
| 429 | Concurrent limit hit — back off (sleep 3s) and retry once. |
| 5xx | Transient — retry up to 3 times with backoff (2s, 4s, 8s). |
| MCP tool unavailable | Stop and tell the user to set up the MCP server. |
Do not retry forever. Failed targets after retries get a status: "failed" row in the report so the user knows what's missing.
Each Amazon or Walmart call costs 5 credits; each google_shopping call costs 25. A 50-product Amazon/Walmart watchlist is ~250 credits per run. Before kicking off batches larger than ~100 targets, tell the user the estimate and confirm. If they want recurring monitoring at large scale, recommend they move to a scheduled CLI (scraperapi-cli) or DataPipeline rather than burning credits through this skill on every check.
For each target, compute the delta against the baseline. Classify into one of these states — the report becomes much easier to read when changes have consistent labels:
| State | Condition |
|---|---|
unchanged | Price within ±0.5% of baseline |
decreased | Current < baseline by more than 0.5% |
increased | Current > baseline by more than 0.5% |
restocked | Baseline price was null, current is a number |
out_of_stock | Baseline price was a number, current is null |
new | Not in baseline at all |
removed | In baseline, target returned 404 |
failed | Network/API failure after retries |
threshold_hit | User specified "alert below $X" and current ≤ X |
If the user gave an explicit alert threshold (e.g., "tell me if AirPods drop below $200"), check it against the current price and surface threshold_hit items prominently at the top of the report — that is the user's primary question.
Render results using assets/price-report-template.md as the structure. Group by state with the most interesting changes first: threshold hits → decreases → restocks → out-of-stock → increases → new → unchanged → failures.
For each row, include:
End with a one-line summary: "6 of 12 products changed price. Biggest drop: AirPods Pro 2 −15% ($249 → $211). 1 went out of stock. 1 failed."
After presenting the report, ask whether to update the baseline file with the new prices. If yes, write the new JSON; preserve fields the user added (e.g., notes, alert_below) by merging rather than overwriting. If no, leave the file untouched.
If this was a first-run capture, do write the baseline (after confirming) — otherwise the next invocation will have nothing to compare against and the loop is pointless.
This skill is single-shot — it runs once, reports, and stops. It does not loop or schedule itself. If the user wants recurring monitoring:
scraperapi-cli to generate a script.Never start a background watcher or write code that polls — that is out of scope for this skill and burns the user's credits without their direct consent each run.
country=us and current country=gb, you are comparing different listings — refuse and ask the user which country to use.references/structured-endpoints.md — Exact parameter names, country codes, and known response fields for amazon/product, walmart/product, and google/shopping. Read this before constructing the first request of a run.assets/price-baseline-template.json — Shape of the baseline file.assets/price-report-template.md — Markdown skeleton for the change report.For deeper questions about endpoint behavior, link the user to the public docs: https://docs.scraperapi.com/.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
price-tracking, price-alerts, ecommerce, scraperapi, amazon-prices, walmart-prices
npx claudepluginhub scraperapi/scraperapi-skills --plugin scraperapi20 skills in this plugin
/scraperapi-agent-onboardingEntry point for agents and developers new to ScraperAPI. Read first when integrating ScraperAPI into an agent or app, setting up the MCP server for Claude Code or other LLM tools, choosing the right ScraperAPI product, or getting an API key. Trigger on: "how do I use ScraperAPI", "set up ScraperAPI", "connect ScraperAPI to Claude", "which ScraperAPI product should I use", "get web data for my agent", "add web scraping to my project", "ScraperAPI getting started". After reading, route to the narrower skill that owns the chosen path. If the user already named a language or SDK, n8n, Zapier, or the sapi CLI, use that skill directly instead.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
/scraperapi-asyncReference for ScraperAPI's Async Jobs REST API: submit scraping jobs in the background and get results by polling or webhook, including batch jobs. Consult when the user is scraping many URLs, needs non-blocking requests, or wants webhook delivery. Use when user asks: "how do I scrape 1000 URLs with ScraperAPI", "ScraperAPI async jobs", "batch scraping with ScraperAPI", "submit a scraping job and poll for results", "ScraperAPI webhook callback", "ScraperAPI batchjobs endpoint". Covers single and batch jobs, webhook callbacks, apiParams, async-only parameters, binary responses, retention, and error handling. It is language-agnostic: for SDK client code, use the language's SDK skill; to crawl a whole site by following links, use scraperapi-crawler.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
/scraperapi-cliReference for the official ScraperAPI command-line tool (`sapi`, package `scraperapi-cli`). Use this skill whenever the user wants to scrape, run async jobs, fetch structured data or check credits from a terminal or shell script. Trigger on: "scrape this URL from the terminal", "use sapi to fetch X", "ScraperAPI CLI", "ScraperAPI from bash", "sapi scrape", "sapi jobs", "pipe ScraperAPI into jq", "scrape from a Makefile / cron / CI", "check my ScraperAPI credits from the command line", "scrape 10000 URLs from a file". Covers install, auth, commands, JSON and piping behaviour, cost checks and shell recipes. Not for writing scraper code: for a new scraper script use scraperapi-scraper-builder, and for code that calls ScraperAPI use the language's SDK skill.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
/scraperapi-crawlerProduct-usage reference for ScraperAPI's Crawler — crawl an entire site or section by following links automatically. Consult when the user needs to extract data from many pages of a site without knowing the URLs upfront. Use when user asks: "crawl an entire website with ScraperAPI", "scrape all pages on a domain", "follow links and scrape each page", "how do I use the ScraperAPI crawler API", "scrape a site map", "extract data from every product page on a site", "ScraperAPI crawler job API". Covers job creation, URL regex patterns, depth vs budget, per-page scraping parameters, job states, webhooks, scheduling, and credit costs. Also invoke when the user is building a site-wide scraper and asks which ScraperAPI product to use.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
/scraperapi-datapipelineProduct-usage reference for ScraperAPI's DataPipeline — managed, scheduled scraping projects that run automatically and deliver results to a webhook or dashboard download. Consult when the user needs recurring scraping, has a large list of URLs/ASINs/queries to process, or wants to avoid building and maintaining their own scraping infrastructure. Use when user asks: "schedule recurring scraping with ScraperAPI", "ScraperAPI DataPipeline", "how do I run a scraping project on a schedule", "scrape 10000 ASINs automatically", "ScraperAPI managed scraping project", "set up a ScraperAPI pipeline", "deliver scraping results to a webhook automatically". Covers project types, input methods, scheduling, output delivery, the DataPipeline API, job management, and credit costs.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
/scraperapi-java-sdkBest-practices reference for the ScraperAPI Java SDK (com.scraperapi:sdk Maven artifact). Consult whenever the user is writing, debugging, or reviewing Java code that calls ScraperAPI. Use when user asks: "scrape a website with Java and ScraperAPI", "ScraperAPI Java example", "how do I add ScraperAPI to my Maven project", "Java ScraperAPI render", "ScraperAPI Java fluent API", "ScraperAPI Java premium proxy", "ScraperAPI Java error handling", "ScraperAPI Java retry". Covers Maven/Gradle setup, the fluent builder API, all request parameters, the escalation ladder, async jobs, structured data calls, error handling, and credit costs.
Note: Transmits user-supplied queries, URLs, and content to ScraperAPI.
Other plugins' skills for the same job