Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
linkfox-ai avatar

Linkfox Amazon Store Pricing

  • 183 installs
  • 64 repo stars
  • Updated August 3, 2026
  • linkfox-ai/linkfox-skills

Helps with ai & agent building tasks.

About

linkfox-amazon-store-pricing is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • linkfox-amazon-store-pricing
  • AI & Agent Building
  • AI-coding skill

Linkfox Amazon Store Pricing by the numbers

  • 183 all-time installs (skills.sh)
  • +35 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #3,026 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-amazon-store-pricing

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs183
repo stars64
Last updatedAugust 3, 2026
Repositorylinkfox-ai/linkfox-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Amazon 店铺 Product Pricing

本 skill 与 `linkfox-amazon-store-auth``linkfox-amazon-store-report``linkfox-amazon-store-listings` 同属 Amazon Store 系列:先 `POST /spApi/storeTokens`accessToken,再 `POST /spApi/developerProxy` 转发上游 GETPOST(与 listings 的 PUT/PATCH 代理方式一致)。

官方参考索引

能力文档
getPricinggetPricing
getCompetitivePricinggetCompetitivePricing
getListingOffersgetListingOffers
getItemOffersgetItemOffers
getItemOffersBatchgetItemOffersBatch
getListingOffersBatchgetListingOffersBatch
getFeaturedOfferExpectedPriceBatchgetFeaturedOfferExpectedPriceBatch
getCompetitiveSummarygetCompetitiveSummary

---

Prerequisites(必须先读)

本 skill 依赖 `linkfox-amazon-store-auth`

1. 运行 python scripts/check_auth_dependency.py;若 exit code 42 且 stderr 含 DEPENDENCY_MISSING:,请先安装 `linkfox-amazon-store-auth`。 2. 不要在本 skill 内绕过依赖实现授权或令牌逻辑。

---

Current Capabilities(脚本一览)

能力developerProxy path(要点)脚本
getPricingproducts/pricing/v0/price + Queryget_pricing.py
getCompetitivePricingproducts/pricing/v0/competitivePrice + Queryget_competitive_pricing.py
getListingOffersproducts/pricing/v0/listings/{sku}/offers + Queryget_listing_offers.py
getItemOffersproducts/pricing/v0/items/{asin}/offers + Queryget_item_offers.py
getItemOffersBatchbatches/products/pricing/v0/itemOffers,POST JSON bodypost_item_offers_batch.py
getListingOffersBatchbatches/products/pricing/v0/listingOffers,POST JSON bodypost_listing_offers_batch.py
getFeaturedOfferExpectedPriceBatchbatches/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice,POSTpost_featured_offer_expected_price_batch.py
getCompetitiveSummarybatches/products/pricing/2022-05-01/items/competitiveSummary,POSTpost_competitive_summary_batch.py

批量脚本(post_*_batch.py)在默认模式下会按 Amazon 要求组装子请求;高级用法可设 `useAmazonRequestShape`: true,直接传 `requests` 为官方原始数组(仍受条数上限约束)。共享逻辑见 `scripts/_spapi_pricing_common.py`(仅供同目录脚本 import,非独立 CLI)。

---

Quick Parameters(摘要)

  • getPricing / getCompetitivePricingsellerIdregionmarketplaceId(或 marketplaceIds 取首)、itemTypeasinsskus(≤20);getPricing 另有 itemConditionofferType;getCompetitivePricing 另有 customerType
  • getListingOffers / getItemOfferssku+path 或 `asin`+path;`itemCondition` 必填;可选 customerType
  • Item / Listing Offers Batchrequests 数组,默认每项为简化对象(见 references/api.md);1~20 条(FOEP 批量脚本为 最多 40 条)。
  • getCompetitiveSummary 批量:每项需 `asin``marketplaceId``includedData`(非空字符串数组);可选 `lowestPricedOffersInputs`
  • getFeaturedOfferExpectedPriceBatch:每项需 `marketplaceId``sku``segment`(对象,结构以官方为准)。

---

Scripts

  • get_pricing.py · get_competitive_pricing.py · get_listing_offers.py · get_item_offers.py
  • post_item_offers_batch.py · post_listing_offers_batch.py · post_featured_offer_expected_price_batch.py · post_competitive_summary_batch.py
  • check_auth_dependency.py · _spapi_pricing_common.py(内部模块)
export LINKFOXAGENT_API_KEY="<your-key>"

python scripts/get_item_offers.py '{"sellerId":"A1...","region":"NA","asin":"B0...","marketplaceId":"ATVPDKIKX0DER","itemCondition":"New"}'

python scripts/post_item_offers_batch.py '{"sellerId":"A1...","region":"NA","requests":[{"asin":"B0...","marketplaceId":"ATVPDKIKX0DER","itemCondition":"New"}]}'

---

Display Rules

1. `MarketplaceId`(单数)与 Listings 的 marketplaceIds 勿混用。 2. 先看网关 `errcode` / `httpStatus`,再解析各脚本对应的解析字段(如 `itemOffers``itemOffersBatch``competitiveSummary` 等)。 3. POST 类接口:stdout 中含 `requestBody`(脚本组装的 Amazon 请求体),便于排查。 4. 白名单:除 products/pricing/... 外,批量路径以 `batches/products/pricing/...` 开头;1005 时需后端放行对应前缀。 5. 各接口 Usage plan 不同(尤其 2022-05-01 批量约 0.033 req/s),注意 429

---

Important Limitations

  • 权限:Product Pricing 及相关角色;部分 2022-05-01 能力可能另有应用内配置要求,以 Amazon 为准。
  • FOEP 批量segment 须符合官方模型;条数上限脚本按 40 校验(与文档「up to 40」一致)。
  • 返回结构以 Amazon schema 为准;详见 `references/api.md`

Feedback:references/api.mdskillNamelinkfox-amazon-store-pricing

--- 更多跨境 skill:[LinkFox Skills](https://skill.linkfox.com/)

<!-- LF_LARGE_RESPONSE_BLOCK -->

Handling Large Responses

To avoid overflowing the agent context, persist the response to disk and extract only the fields you need:

python scripts/response_io.py run --script scripts/check_auth_dependency.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>"   # or --path "<JMESPath>"
Pick --out-dir outside any git working tree (e.g. /tmp/... on Unix, %TEMP%/... on Windows). Persisted responses may contain PII, pricing, or auth-sensitive data — do not commit them. Files are not auto-deleted; clean up when the task is done.
This skill exposes multiple entry scripts: check_auth_dependency.py, get_competitive_pricing.py, get_item_offers.py, get_listing_offers.py, get_pricing.py, post_competitive_summary_batch.py, post_featured_offer_expected_price_batch.py, post_item_offers_batch.py, post_listing_offers_batch.py. Pass --script scripts/<name>.py to choose the one you need.

run writes the full response to a file and emits only a schema preview + file path. read projects specific fields, with --limit/--offset for slicing and --format json|jsonl|csv|table for output.

When to prefer this pattern — apply your judgment based on the response characteristics, e.g.:

  • High field count per record, or fields you don't need
  • Batch/paginated results (multiple items per call)
  • Long-text fields (descriptions, reviews, HTML, time series)
  • Output reused across later steps rather than consumed immediately

For small, single-use responses, calling the main script directly is fine.

⚠️ The preview is a truncated schema + sample, not the full data. Any field-level decision must read from the persisted file via read. <!-- /LF_LARGE_RESPONSE_BLOCK -->

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.