Install
$ agentstack add skill-serendipityoneinc-zoodata-skills-zoodata ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
> 📋 Live API Reference: Field names and parameters may change. If you encounter field errors, > check the latest OpenAPI spec at https://zoodata.ai/api/v1/openapi-spec for current field definitions.
ZooData — Commerce Data Infrastructure for AI Agents
200M+ Amazon products. 18 endpoints. One API key.
Quick Start
- Get key: zoodata.ai/api-keys (1,000 free credits)
export ZOODATA_API_KEY='hms_live_xxx'- Base URL:
https://api.zoodata.ai/openapi/v2— all POST with JSON body - Auth:
Authorization: Bearer YOUR_API_KEY - New keys need 3-5s to activate. If 403, wait and retry.
⚠️ Critical API Pitfalls (ALL skills must follow)
- Keyword search is broad → MUST lock
categoryPathfirst viacategoriesendpoint - Brand/price-band queries MUST include --category to avoid cross-category contamination
- Revenue =
sampleAvgMonthlyRevenuedirectly. NEVER calculate avgPrice × totalSales (overestimates 30-70%) - Sales =
monthlySalesFloor(lower bound). Fallback: 300,000 / BSR^0.65, tag as 🔍 - Use API fields directly:
sampleOpportunityIndex,sampleTop10BrandSalesRate— never reinvent - reviews/analysis needs 50+ reviews. Fallback chain when sample is insufficient:
- Lightweight:
realtime/product→ratingBreakdown(star distribution only, no themes) - Full 11-dim insights:
realtime/reviews(raw text, up to 100) + local Map/Reduce via the
Local Review Toolkit below — see "Local Review Toolkit" section
- Aggregation endpoints (price-band, brand) without categoryPath produce severely distorted data
- Price-band and brand endpoints only accept
keyword(not categoryPath) — cross-validate returned products
On Missing Key (no credentials configured)
BEFORE calling any endpoint, verify credentials are configured. The reliable check is python {skill_base_dir}/scripts/zoodata.py check — exits 2 if no key is found in env vars OR config files. A [ -z "$ZOODATA_API_KEY" ] test alone is NOT sufficient — a user may have only ~/.zoodata/config.json set.
When no key is found through any mechanism:
- STOP. Do not run the workflow. Do not call
zoodata.py(you'll just get the same credential error and burn tokens). - Do NOT fall back to a "partial analysis from training data" / "industry common-sense headlines" / "for reference only" preview. Your training data is stale, has no per-ASIN granularity, and presenting it as analysis — even disclaimed — misrepresents what this skill produces. The deliverable is data-backed; without data, there is no deliverable.
- Tell the user, in their language, all three of:
- "
ZOODATA_API_KEYis not set — I need this to run the analysis." - Get a free key (1,000 credits, no credit card): https://zoodata.ai/en/api-keys
- Configure via one of:
export ZOODATA_API_KEY='hms_live_xxx'(session only)mkdir -p ~/.zoodata && echo '{"api_key":"hms_live_xxx"}' > ~/.zoodata/config.json(persistent)
- Optionally state in one sentence what the workflow will produce once the key is configured (deliverable shape only — no numbers, no market color, no "common sense" preview).
On 401 Invalid Key
When zoodata.py returns {"code": 401, "message": "API Key invalid or expired"}:
- STOP further endpoint calls immediately. Do not retry — a rejected key won't be accepted on a second try; every subsequent call will return 401 too.
- Report to the user:
- The
ZOODATA_API_KEYin use was rejected (likely invalid, revoked, or expired) - If any partial findings were collected before the failure, show them and mark as partial
- Fix at https://zoodata.ai/en/api-keys (verify the key, regenerate if needed)
- Do not fabricate or guess the data the failed calls would have returned. This includes "training-data fallback" / "industry common-sense" headlines disguised as preview — those are fabrications.
On 402 Credit Exhausted
When zoodata.py returns {"code": 402, "message": "API quota exhausted or subscription expired"}:
- STOP further endpoint calls immediately. Do not retry. Do not switch endpoints as a workaround — 402 is account-level (key/subscription), not endpoint-level.
- Report to the user with all four of:
- Which step in the workflow was reached (e.g. "Completed step 3/5: brand analysis")
- Partial findings already collected (show the actual data, not just a list of completed steps)
- Rough credits needed to resume (sum remaining-step costs from this skill's API Budget table)
- Top-up link: https://zoodata.ai/en/pricing
- Do not fabricate or guess the missing data to "complete" the report. Mark partial findings explicitly as partial. No "training-data fallback" / "industry common-sense" filler — substituting public-knowledge prose for missing endpoint data is still fabrication.
18 Endpoints
| # | Endpoint | Purpose | Key Output | |---|----------|---------|------------| | 1 | categories | Browse/search category tree | categoryPath, productCount | | 2 | markets/search | Market-level metrics | sampleAvgMonthlySales, sampleAvgPrice, topSalesRate, sampleNewSkuRate | | 3 | products/search | Product search (14 modes) | asin, price, monthlySalesFloor, rating, ratingCount, fbaFee | | 4 | products/competitors | Competitor discovery | same fields as products/search | | 5 | realtime/product | Live ASIN detail | rating, features, bestsellersRank[], buyboxWinner.price, variants | | 6 | reviews/analysis | AI review insights (11 dims) | sentimentDistribution, consumerInsights, topKeywords | | 7 | realtime/reviews | Live raw review text (cursor paginated, max 100) | reviews[], nextCursor — feeds Local Review Toolkit | | 8 | products/price-band-overview | Price band summary | hottestBand, bestOpportunityBand, sampleOpportunityIndex | | 9 | products/price-band-detail | Full 5-band distribution | priceBands[] with sales, brands, ratings per band | | 10 | products/brand-overview | Brand concentration | sampleTop10BrandSalesRate (CR10), sampleBrandCount | | 11 | products/brand-detail | Per-brand breakdown | brands[] with sales, revenue, sampleProducts | | 12 | products/history | Time series (single ASIN per call) | timestamps[], price[], bsr[], monthlySalesFloor[], rating[], ratingCount[], sellerCount[], title/imageUrl/bestSeller/newRelease/aPlus/inventoryStatus changelogs | | 13 | /openapi/v2/keywords/detail | Keyword summary from the nearest available weekly snapshot | estimateSearchCountWeekly, abaRank, marketCharacteristics, adCount; may return data: null | | 14 | /openapi/v2/keywords/trend | Weekly keyword time series | estimateSearchCount, abaRank, rankChangeCount, periodStartDate, periodEndDate | | 15 | /openapi/v2/keywords/extends | Keyword expansion / long-tail discovery | related keywords ranked by relevanceScore / estimateSearchCount; may return empty array | | 16 | /openapi/v2/keywords/search-results | Daily keyword SERP snapshot | asin, exploreType, absolutePosition, estimateImpressionPoint, listing fields | | 17 | /openapi/v2/keywords/competitor-product-keywords | Keyword set where an ASIN appears as a competitor | keyword, avgPosition, keywordEstimateSearchCount, trafficShare | | 18 | /openapi/v2/keywords/product-traffic-terms | Traffic-driving keywords for an ASIN | same live response shape as competitor-product-keywords |
Known Quirks
topN,listingAge,newProductPeriodare strings ("10"not10)- Many search/list endpoints return
.dataas an array — use.data[0]for the first record. But some commands may return non-array payloads insidedata, so inspect the actual response shape before indexing. ratingCountnotreviewCounteverywherebsr(int) in products vsbestsellersRank(array) in realtimebuyboxWinner.price— NOT top-levelpricein realtimerealtime/productdoes NOT return: monthlySalesFloor, fbaFee, sellerCountreviewCountMin/Maxfilters currently broken (API-56)reviews/analysismay 500 for certain ASINs (API-58) — retry different ASIN- Rate limit: 100 req/min, 10 req/sec burst
categoriesusescategoryKeyword(notkeyword) andparentCategoryPath(notparentCategoryName)reviews/analysis:moderequired ("asin"/"category"), useasins(plural array) notasinrealtime/reviews: returns 10 reviews/page fixed (nopageSizeparam); 1 credit/page; cursor-paginated; hard cap = 100 reviews (10 pages); supportsmarketplaceUS/UK onlykeywords/detailresolves the inputdateto the nearest available weekly snapshot at or before that date, and may legitimately returndata: nulleven withsuccess: truekeywords/extendsalso resolves the inputdateto the nearest available weekly snapshot, requiresquery(notkeyword), supportsqueryType=phraseorfuzzy, and may legitimately returndata: []keywords/search-results,keywords/competitor-product-keywords, andkeywords/product-traffic-termsuse daily observations over a sliding ~7-day window, not a long-retention historical storekeywords/search-resultsrequiresdate+keyword;exploreTypesvalues areORG,SP,SB,SBV,SPRkeywords/competitor-product-keywordsandkeywords/product-traffic-termsrequiredate+asin; both currently return the same live item shape, includingtrafficSharekeywords/search-resultsis the default source for explaining what products currently appear on a keyword SERP because it already returns listing-level product fieldsproducts/searchis a broader ZooData product-database query and must not be presented as Amazon live keyword SERP ordering
Keyword Intelligence Endpoints
These six endpoints were verified against the live API surface and fill the gap between raw catalog data and search-demand/search-visibility intelligence.
/openapi/v2/keywords/detail
- Input:
keyword,date, optionalmarketplace - Data window: resolves the requested
dateto the nearest available weekly snapshot at or before that date - Response shape: top-level
datais an object ornull(not an array) - Key fields from schema:
estimateSearchCountWeekly,abaRank,abaTop3ClickShareRate,
abaTop3ConversionShareRate, marketCharacteristics, totalSkuCnt, brandCount, organicSkuCount, adCampaignCount, adCount
- Live validation note: for
keyword="yoga mat"and several June 2026 dates, the endpoint returned
success: true with data: null
/openapi/v2/keywords/trend
- Input:
keyword,dateFrom,dateTo, optionalmarketplace - Data window: weekly-granularity points across the requested date range
- Response shape:
datais an array - Key fields from live response/schema:
observedAt,periodStartDate,periodEndDate,
estimateSearchCount, estimateSearchChangeCount, estimateSearchChangeRate, abaRank, prevAbaRank, prevEstimateSearchCount, rankChangeCount
/openapi/v2/keywords/extends
- Input:
query,date, optionalmarketplace,page,pageSize,queryType,sortBy,sortOrder - Important quirk: seed field is
query, notkeyword;queryTypesupportsphraseandfuzzy - Data window: resolves the requested
dateto the nearest available weekly snapshot at or before that date - Response shape:
datais an array - Key fields from schema:
term,seedKeyword,relevanceScore,estimateSearchCountWeekly,
abaRank, marketCharacteristics, brandCount, organicSkuCount, adCount, periodStartDate, periodEndDate, observedAt
- Live validation note: empty arrays are normal;
query="yoga mat"returneddata: []for both
queryType="phrase" and queryType="fuzzy"
/openapi/v2/keywords/search-results
- Input:
keyword,date, optionalmarketplace,page,pageSize,exploreTypes,sortBy,sortOrder - Data window: daily observations surfaced through a sliding ~7-day window
- Response shape:
datais an array - Key fields from live response/schema:
exploreType,absolutePosition,pageIndex,
pagePosition, asin, title, brand, price, currency, link, imageLink, rating, ratingCount, recentSales, hasVideo, estimateImpressionPoint, keywordTotalEstimateImpressionPoint
- Interpretation rule: use this endpoint first for "what is on page 1 / what products dominate this keyword / what does the SERP look like"
- Do not substitute
products/searchwhen the question is about observed keyword SERP composition or ordering
/openapi/v2/keywords/competitor-product-keywords
- Input:
asin,date, optionalmarketplace,page,pageSize,exploreTypes,
keywordContains, sortBy, sortOrder
- Data window: daily observations surfaced through a sliding ~7-day window
- Response shape:
datais an array - Key fields from live response/schema:
exploreType,absolutePosition,pageIndex,
pagePosition, asin, keyword, estimateImpressionPoint, asinTotalEstimateImpressionPoint, avgPosition, daysCoverageRate, observationCount, keywordEstimateSearchCount, keywordEstimateSearchGrowthCount, keywordEstimateSearchCountChangeRate, keywordAbaRank, keywordAbaRankChangeCount, trafficShare
/openapi/v2/keywords/product-traffic-terms
- Input: same request shape as
keywords/competitor-product-keywords - Data window: daily observations surfaced through a sliding ~7-day window
- Response shape:
datais an array - Key fields from live response/schema:
exploreType,absolutePosition,pageIndex,
pagePosition, asin, keyword, estimateImpressionPoint, asinTotalEstimateImpressionPoint, avgPosition, daysCoverageRate, observationCount, keywordEstimateSearchCount, keywordEstimateSearchGrowthCount, keywordEstimateSearchCountChangeRate, keywordAbaRank, keywordAbaRankChangeCount, trafficShare
- Live validation note: current live response item shape matches
keywords/competitor-product-keywords
field-for-field; keep the semantic distinction in output wording rather than assuming a unique schema
Local Review Toolkit
When /reviews/analysis lacks aggregation (ASIN has ' \ [--product-title "..."] [--product-category "..."]
→ Your LLM produces a JSON object with sentiment + 11 dimension arrays
(mentionedscenarios, mentionedissues, mentionedpositives, mentionedimprovements,
mentionedbuyingfactors, mentionedpainpoints, userprofiles, mentionedusage_times,
mentionedusagelocations, mentioned_behaviors, keywords)
Suggested map parallelism: ~20 concurrent if your LLM supports it
3. Collect candidate phrases per dimension. For EACH dimension render the Reduce prompt
zoodata.py review-reduce-prompt --label-type positives \ --candidates '["comfortable","comfy","very comfortable",...]'
→ Your LLM produces {clusters: [{canonical, members}, ...]}
Suggested chunk size for keywords dim when >150 candidates: 150 per call
4. Aggregate into reviews/analysis-compatible consumerInsights
zoodata.py review-aggregate --reviews raw.json --tagged tags.json --clusters clusters.json
→ Output shape matches /reviews/analysis: reviewCount, avgRating,
sentimentDistribution, consumerInsights[], topKeywords[]
**When to use the toolkit instead of `reviews/analysis`:**
- ASIN has fewer than 50 reviews
- `reviews/analysis` returns sparse `consumerInsights` (missing dimensions)
- Need the freshest possible data (Spider scrape vs. T+1 BigQuery snapshot)
- Need to analyze a brand-new product that has no daily snapshot yet
## Field Differences Across Endpoints
| Data | markets | products/competitors | realtime/product | reviews/analysis | realtime/reviews | price-band | brand | history |
|------|---------|---------------------|----------|---------|---------|------------|-------|---------|
| Sales | sampleAvgMonthlySales | monthlyS
…
## Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- **Author:** [SerendipityOneInc](https://github.com/SerendipityOneInc)
- **Source:** [SerendipityOneInc/ZooData-Skills](https://github.com/SerendipityOneInc/ZooData-Skills)
- **License:** MIT
- **Homepage:** https://apiclaw.io/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.