使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/crawlora-org/crawlora-skills --skill target-research开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Target research
Browse and search Target's catalog and pull product detail, pricing, availability, questions, and reviews — all as normalized JSON from the Crawlora API, with no HTML scraping.
When to use this skill
- "What does X cost on Target?" or "find X on Target."
- "Browse this Target category" / "what's in Target's [department]?"
- "Filter Target results by [brand/size/price]."
- "Pull the Q&A / reviews for this Target product."
- "Check price or availability for this Target item at a specific store."
Setup (one-time)
- Get a free Crawlora API key (2,000 credits/mo, no card) at https://crawlora.net.
- Set
CRAWLORA_API_KEYin the environment before running the helper. - The helper reads
CRAWLORA_API_KEYfrom the environment and sends requests tohttps://api.crawlora.net/api/v1. Missing/invalid key →401.
How it works
- Browse or search —
/target/categorieslists the category menu and
ids; /target/category-products (category_id) or /target/search (q) return paginated products plus the filter groups/options available for that result set.
- Filter —
/target/filter-optionsreturns the dynamic filter groups
for a query (q) or category (category_id) on its own, if you need them before browsing; pass selected option ids back through filter_ids (comma-separated) on category-products or search to narrow results.
- Detail —
/target/product(tcin) fetches full product content,
images, price, rating, category, and store-level availability.
- Q&A and reviews —
/target/questionsand/target/reviews(both
keyed by tcin) pull paginated product questions/answers and written reviews.
- Compare the JSON fields (price, rating, availability) across items
or stores and answer.
Full endpoint list, methods, and params: `reference/endpoints.md`.
Calling the API
# Search Target (GET, key=value params):
scripts/crawlora.sh /target/search q="standing desk" sort=price-low | jq '.'
# Browse a category, filtered and priced for a store:
scripts/crawlora.sh /target/category-products category_id=5xtg6 store_id=1234 filter_ids=5xtvw | jq '.'
# Product detail:
scripts/crawlora.sh /target/product tcin=54191097 | jq '.data'
# Reviews:
scripts/crawlora.sh /target/reviews tcin=54191097 per_page=20 | jq '.'Use scripts/crawlora.sh for all requests; it keeps the API key out of command-line arguments.
Endpoint reference
See `reference/endpoints.md` for every Target endpoint this skill uses (method, path, params, description).
Examples
- Category sweep with pricing:
/target/categoriesto find a
department's category_id, then /target/category-products paginated with store_id set, to list local prices and availability.
- Product due diligence:
/target/productfor price/rating, then
/target/questions and /target/reviews (both by tcin) to summarize what shoppers ask and say before recommending it.
- Filtered search:
/target/searchfor a query, inspect the returned
filter groups, then re-call with filter_ids set to narrow by brand/size/price band.
Notes & limits
- Credits / pay-on-success: billed only on
2xx; free tier 2,000 credits/mo.
Key at https://crawlora.net.
- Public data only — public Target product/category pages; respect Target's terms.
- Security: key lives in
CRAWLORA_API_KEYonly — never hardcode, query-param, or commit it. - Results are paginated — pass
page(andper_page/countwhere supported) to walk listings. - Product identity is `tcin` (numeric Target item id), not a SKU or ASIN —
/target/product, /target/questions, and /target/reviews all key off it.
- Pagination isn't uniform:
category-products/searchuse one-based
page (max 50), while questions/reviews use zero-based page (also max 50 on reviews).
store_idis optional but drives store-specific pricing and
availability — omit it for a generic/national result.



