电商需求智能洞察引擎
简介
基于Reddit社区数据挖掘的电商需求情报平台,为产品开发者和创业者提供量化需求评分、 verbatim证据链及实时市场研判,采用x402 USDC支付,无需账户密钥。
原始描述
E-commerce demand intelligence for AI agents — the index of what people want next. Mines Reddit complaint/intent posts across ~70 communities into scored opportunity cards with verbatim evidence and permalinks, and answers ad-hoc demand verdicts for any physical-product query (7-day cached or live research). Pay-per-call via x402 (USDC on Base); no accounts, no keys. Free GET /v1/categories and GET /v1/sample/opportunity return the response shapes before you pay. Physical products only.
通过你的 Agent 添加
安装目录:demandex/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Demandex是一款面向AI Agent的电商需求情报API,通过挖掘Reddit上约70个社区的投诉与意向帖子,将非结构化社交数据转化为结构化商机卡片。系统采用三层评分模型(频率×强度×支付意愿,0-100分),每张卡片附带verbatim原文证据、permalink永久链接及元数据。支持两种调用模式:7天缓存的/v1/gauge快速研判($0.03)和实时研究的/v1/gauge/live深度分析($0.10,45秒预算)。
付费体系完全基于x402协议,以USDC在Base链上结算,采用"先计算后付费"模式——错误或空结果不收费。提供丰富的免费入口:分类索引、样本卡片、OpenAPI规范、LLM优化文档等,支持零成本集成测试。配套MCP服务器demandex-mcp可无缝对接Claude等Agent客户端,私钥缺失时自动降级为仅免费工具模式。
显著优点
数据溯源透明:所有证据均带Reddit原文引用、点赞数及永久链接,满足可验证性要求。评分模型三维度(frequency/intensity/willingness-to-pay)避免单一指标偏差。
支付机制创新:x402无账户体系消除传统API Key管理负担,错误/空结果/超时均不扣费,显著降低试错成本。价格梯度设计合理($0.01-$0.25),支持从浏览到深度分析的分层消费。
Agent原生设计:MCP服务器封装支付流程,LLM优化文档(/llms.txt)、OpenAPI规范、A2A Agent Card等机器发现端点齐全,专为自动化集成优化。
实时与缓存双轨:缓存模式保证响应速度与低成本,实时模式通过现场Reddit搜索捕捉最新信号,覆盖不同时效需求场景。
潜在缺点与局限性
数据源单一性:依赖Reddit单一平台,用户画像偏向北美英语社区,对亚洲市场、中老年群体、非数码原住民产品覆盖不足。物理产品限制排除了服务类、数字产品等广泛品类。
冷启动风险:503 corpus_warming状态表明索引构建存在延迟期,新类别或 niche 市场可能长期无数据。7天缓存对快速变化的趋势可能滞后。
区块链支付门槛:x402/USDC/EVM私钥组合对非加密原生用户形成认知门槛,需额外配置钱包、跨链桥接等基础设施。
LLM合成不确定性:Gauge端点依赖LLM进行证据综合,存在模型幻觉风险,虽有人工可验证的permalink兜底,但自动化决策场景需谨慎。
45秒超时限制:实时研究模式在复杂查询下可能触发504超时,虽不计费但中断用户体验,不适合高并发同步调用。
适合的目标群体
- DTC创业者:验证产品需求真实性,寻找被大品牌忽视的细分痛点(如配件替换、设计缺陷迭代)。
- 亚马逊/Shopify卖家:识别高评分但评论中隐含缺陷的竞品,发现改进型机会。
- 产品型独立开发者:为MVP方向提供数据支撑,替代昂贵的传统市场调研。
- VC与孵化器:快速扫描投资组合相关领域的真实用户抱怨,评估市场痛点强度。
- AI Agent开发者:通过MCP集成,为购物助手、产品经理Agent赋予实时需求研判能力。
常规使用风险
性能依赖:/v1/gauge/live的45秒硬超时和LLM合成环节引入不可控延迟,不适合嵌入用户-facing同步交互。建议异步队列或降级到缓存模式。
财务安全:EVM私钥以明文环境变量注入MCP服务器,存在泄露风险;需遵循最小权限原则,使用专用钱包而非主资产账户。
数据时效:Reddit帖子存在编辑/删除可能,permalink虽永久但内容可能变化;关键决策建议二次验证。
合规边界:平台明确声明"informational only",不构成商业建议;用户需自行评估产品安全、专利、供应链等落地风险。
依赖项稳定性:Node.js运行时依赖、x402支付网络可用性、Base链拥堵状态均可能影响服务连续性。
技能正文
name: demandex
version: 0.3.0
description: >-
E-commerce demand intelligence for AI agents — the index of what people want next. Mines Reddit
complaint/intent posts across ~70 communities into scored opportunity cards with verbatim evidence
and permalinks, and answers ad-hoc demand verdicts for any physical-product query (7-day cached or
live research). Pay-per-call via x402 (USDC on Base); no accounts, no keys. Free GET /v1/categories
and GET /v1/sample/opportunity return the response shapes before you pay. Physical products only.
homepage: https://demandex.dev
metadata:
openclaw:
emoji: "🛒"
requires:
bins: ["node"]
Demandex — E-commerce Demand Intelligence for AI Agents
API at https://api.demandex.dev. Demandex is the index of what people want next: it classifies Reddit complaint and intent posts across ~70 communities into demand signals (replacement-part hunts, unmet needs, willingness-to-pay, repeat failures), clusters them into scored opportunity cards (0-100 = frequency × intensity × willingness-to-pay) with verbatim evidence and permalinks, and answers ad-hoc demand verdicts for any query. Strictly pay-per-call via x402 — no accounts, no API keys, no bundles. Compute-first / settle-after: you are never charged for an error or an empty result.
Physical products only. Evidence is quoted from public Reddit posts with provenance (subreddit, upvotes, permalink). Informational only — not a guarantee of any business outcome.
Check the active payment mode any time at
GET /health(live|mock).
Free endpoints (no auth, no payment)
Use these to learn the response shapes before paying.
| Method | Path | Description |
|---|---|---|
| GET | /health |
Liveness + configured payment mode (live|mock) |
| GET | /v1/categories |
FREE category index — every active category with opportunityCount, topScore, lastUpdated. A cheap change-detection funnel to poll (30/min). |
| GET | /v1/sample/opportunity |
FREE fixed sample opportunity card — one REAL card in the SAME full shape as the paid /v1/opportunity (all score components, productAngle, summary, verbatim evidence) plus { sample: true, note, cardAsOf } (10/min). |
| GET | /terms.txt · /terms.json |
Terms of Service (also sets X-Terms-URL) |
| GET | /changelog |
Human-readable changelog (markdown) |
curl https://api.demandex.dev/v1/categories
curl https://api.demandex.dev/v1/sample/opportunity
The free sample is the fastest way to learn the full card shape: it returns the same fields a paid /v1/opportunity returns, so an agent can wire up parsing for free, then spend on live cards.
Paid endpoints (x402 V2, USDC on Base, per-call)
Each paid call is a flat price per call, paid via x402. Compute-first / settle-after — you are not charged on any error, and never for an empty result (a still-warming index returns a no-charge 503 corpus_warming).
| Method | Path | Price | Description |
|---|---|---|---|
| GET | /v1/opportunities/trending |
$0.01 | Top 20 active opportunity cards by score as TEASERS (id, slug, title, category, score, signalCount, lastSeen). No evidence — buy /v1/opportunity for the full card. |
| GET | /v1/opportunities?category=SLUG |
$0.02 | Up to 50 active cards in a category, each a teaser + summary. Requires ?category=; optional ?minScore= (0-100). Unknown/missing category → no-charge 400 listing valid categories. |
| GET | /v1/opportunity?id=ID | ?slug=SLUG |
$0.05 | One FULL opportunity card: all score components (freqScore, intensityScore, wtpScore), productAngle, summary, evidence[] (verbatim quotes with subreddit, upvotes, permalink), builderMomentum, firstSeen/lastSeen, signalCount, distinctAuthors. Exactly one of id|slug (else no-charge 400); not found → no-charge 404. |
| GET | /v1/brief?category=SLUG |
$0.25 | Whole-job market brief in ONE call: current trending demand signals + the top 10 highest-scored open opportunities (optional ?category= slug filter; unknown → no-charge 400) + per-category counts — equivalent to several separate paid calls. No trending signals and no open opportunities while the index warms → no-charge 503 corpus_warming. Compute-first / settle-after. Carries generatedAt + per-section timestamps. |
| POST | /v1/gauge |
$0.03 | Demand verdict for any physical-product query, cached 7 days by normalized query (corpus-only synthesis + 1 LLM call). |
| POST | /v1/gauge/live |
$0.10 | Same as /v1/gauge but combines the mined corpus with a LIVE Reddit search at request time (up to 50 posts) + LLM synthesis, under a 45s budget (timeout → no-charge 504). Never a cache hit. |
Prices are USD, settled as USDC (6 decimals). The verdict shape (both gauges): { query, verdictScore (0-100), demandTemperature (cold|warm|hot), rationale, topEvidence[] (≤5, each { quote, permalink, upvotes }), relatedOpportunities[] (≤5, each { slug, score }), cache (hit|miss), fetchedAt }. A zero-match query is a real cold verdict (chargeable), not an error.
Gauge request bodies
# Cached demand verdict ($0.03)
curl -X POST https://api.demandex.dev/v1/gauge \
-H "Content-Type: application/json" \
-d '{"query":"sony xm5 replacement headband","category":"headphones"}'
# Live-research demand verdict ($0.10) — same body, fresh Reddit search at request time
curl -X POST https://api.demandex.dev/v1/gauge/live \
-H "Content-Type: application/json" \
-d '{"query":"sony xm5 replacement headband"}'
# Cached demand verdict ($0.03)
curl -X POST https://api.demandex.dev/v1/gauge \
-H "Content-Type: application/json" \
-d '{"query":"sony xm5 replacement headband","category":"headphones"}'
# Live-research demand verdict ($0.10) — same body, fresh Reddit search at request time
curl -X POST https://api.demandex.dev/v1/gauge/live \
-H "Content-Type: application/json" \
-d '{"query":"sony xm5 replacement headband"}'
query is required (3..200 chars); category is optional (scopes the corpus match). The body is read first, falling back to ?query=.
Paying (x402) — first call
Every paid route follows the standard x402 challenge → pay → retry flow. Try every response shape for free first via /v1/categories and /v1/sample/opportunity.
# 1) Call a paid route with no payment → 402 challenge (you are not charged)
curl -s "https://api.demandex.dev/v1/opportunities/trending"
# → { "x402Version": 2, "accepts": [ { "scheme": "exact", "network": "eip155:8453",
# "asset": "USDC", "price": "$0.01", "payTo": "…" }, … ] }
# 2) Sign an x402 'exact' USDC authorization for the Base accepts[] rail, then retry.
# Standard @x402 V2 clients send PAYMENT-SIGNATURE; legacy clients send X-PAYMENT.
curl -s "https://api.demandex.dev/v1/opportunities/trending" -H "PAYMENT-SIGNATURE: <payload>"
# → 200 { …, "charged": true }
MCP server (demandex-mcp)
Agents can use the demandex-mcp npm package — an MCP server wrapping api.demandex.dev that handles the x402 payment flow for you. It exposes the 2 free endpoints plus the 5 paid routes as MCP tools. Register it with an MCP client (e.g. Claude) via npx:
{
"mcpServers": {
"demandex": {
"command": "npx",
"args": ["-y", "demandex-mcp"],
"env": {
"EVM_PRIVATE_KEY": "0x…",
"DEMANDEX_API_URL": "https://api.demandex.dev"
}
}
}
}
EVM_PRIVATE_KEY (falls back to PRIVATE_KEY) funds the paid tools with USDC on Base. DEMANDEX_API_URL is optional and defaults to https://api.demandex.dev.
| Tool | Route | Price |
|---|---|---|
get_categories |
GET /v1/categories |
free |
get_sample_opportunity |
GET /v1/sample/opportunity |
free |
get_trending_opportunities |
GET /v1/opportunities/trending |
$0.01 |
get_opportunities |
GET /v1/opportunities?category= |
$0.02 |
get_opportunity |
GET /v1/opportunity?id=|?slug= |
$0.05 |
gauge_demand |
POST /v1/gauge |
$0.03 |
gauge_demand_live |
POST /v1/gauge/live |
$0.10 (~45s live research) |
Free-tier mode: without a private key the server still starts, exposing only the 2 free tools (get_categories, get_sample_opportunity) — enough to learn every response shape before you fund a wallet. Set EVM_PRIVATE_KEY to unlock the 5 paid tools.
Free-funnel guidance
Start on the free plane to learn Demandex for zero cost, then spend only where it pays:
GET /v1/categories— poll this to see which categories have live opportunity cards and how fresh they are (lastUpdated,topScore). Cheap change-detection.GET /v1/sample/opportunity— wire up your full-card parser here for free; it is the same shape as the paid/v1/opportunity.- Then buy:
/v1/opportunities/trending($0.01) to browse,/v1/opportunities?category=($0.02) to drill into a category,/v1/opportunity?slug=($0.05) for full evidence,/v1/brief($0.25) for a whole-job market brief in one call, and/v1/gauge($0.03) //v1/gauge/live($0.10) for ad-hoc verdicts.
Machine discovery
Path
What
/llms.txt
This doc (concise)
/llms-full.txt
Extended agent doc
/openapi.json
OpenAPI 3.1 spec
/discovery
Discovery JSON (free/paid endpoint listing)
/.well-known/x402
x402 payment manifest
/.well-known/agent-card.json
A2A agent card
/changelog
Changelog (markdown)
Errors & caveats
- 400 — bad params (missing/unknown
category; missing/ambiguous id/slug; query outside 3..200 chars). You were NOT charged.
- 402 — payment required / verification or settlement failed (you were NOT charged).
- 404 — requested opportunity not found (you were NOT charged).
- 503 corpus_warming — the index is still building; no cards to return yet (you were NOT charged).
- 503 — LLM synthesis temporarily unavailable on a gauge call (you were NOT charged).
- 504 —
/v1/gauge/live exceeded its 45s research budget (you were NOT charged).
| Path | What |
|---|---|
/llms.txt |
This doc (concise) |
/llms-full.txt |
Extended agent doc |
/openapi.json |
OpenAPI 3.1 spec |
/discovery |
Discovery JSON (free/paid endpoint listing) |
/.well-known/x402 |
x402 payment manifest |
/.well-known/agent-card.json |
A2A agent card |
/changelog |
Changelog (markdown) |
- 400 — bad params (missing/unknown
category; missing/ambiguousid/slug;queryoutside 3..200 chars). You were NOT charged. - 402 — payment required / verification or settlement failed (you were NOT charged).
- 404 — requested opportunity not found (you were NOT charged).
- 503 corpus_warming — the index is still building; no cards to return yet (you were NOT charged).
- 503 — LLM synthesis temporarily unavailable on a gauge call (you were NOT charged).
- 504 —
/v1/gauge/liveexceeded its 45s research budget (you were NOT charged).
Disclaimer: Demand intelligence aggregated from public Reddit posts; physical products only; informational, not professional or business advice; provided as-is. Evidence reflects the mined corpus at fetch time. Terms: https://api.demandex.dev/terms.txt
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。