TrendProof
Trend velocity intelligence for AI agents. Check whether a keyword is rising, stable, or falling before you create content, run ads, or build a product.
Live at trendproof.dev
Setup (API key)
Before doing anything else — check if the API key is already configured:
CODEBLOCK0
If no key is found, stop and tell the user exactly this (do not attempt any API calls):
"To use TrendProof, you need a free API key.
- 1. Open https://trendproof.dev/dashboard#keys (sign up if needed — 5 free trial credits included)
- Copy your key (starts with
TRND_) and send it to me"
Once the user provides the key, save it:
CODEBLOCK1
Or set the environment variable:
export TRENDPROOF_API_KEY=TRND_xxxxx
Analyze a single keyword
CODEBLOCK3
Example output:
CODEBLOCK4
With location (UK example):
CODEBLOCK5
Raw JSON output:
python3 skills/trendproof/scripts/trendproof.py analyze "prompt engineering" --json
Batch analysis (ranked)
Compare multiple keywords and get them ranked by velocity:
CODEBLOCK7
Output (sorted by velocity score):
CODEBLOCK8
From a file:
CODEBLOCK9
File format (one keyword per line, # for comments):
# AI keywords
AI agents
LLM fine-tuning
RAG pipeline
Velocity score interpretation
| Score | Meaning |
|---|
| > 50 | 🚀 Strong uptrend — act now |
| 10–50 |
🚀 Rising — good timing window |
| -10 to +10 | 📊 Stable — safe but no momentum |
| -10 to -50 | 📉 Declining — consider alternatives |
| < -50 | 📉 Sharp decline — avoid |
Score formula: ((last 4 weeks avg − prior 4 weeks avg) / prior 4 weeks avg) × 100, capped at [-100, +200].
Related keywords
Discover similar keywords with volume and CPC:
CODEBLOCK11
Output:
Similar to: AI agents
Keyword Volume CPC
─────────────────────────────────────────────────────────
ai agent tools 2,400 $3.10
autonomous ai agents 1,900 $4.20
...
API reference (direct HTTP)
For advanced use, call the API directly:
CODEBLOCK13
Response fields:
- -
velocity_score — -100 to +200; positive = rising - INLINECODE4 —
rising | stable | INLINECODE7 - INLINECODE8 — monthly search volume
- INLINECODE9 — cost-per-click (USD)
- INLINECODE10 — estimated CPM (cpc × 2.5)
- INLINECODE11 — 0–1 (DataForSEO competition index)
- INLINECODE12 — date range of highest trend activity
- INLINECODE13 — last 12 months of volume data
- INLINECODE14 — 12-week Google Trends graph (0–100 values)
- INLINECODE15 — human-readable recommendation
Agent tool call pattern
When used as an AI agent tool, format results like:
"AI agents" — velocity +87 🚀 rising, 8,100/mo, CPC $2.45. Peak: Feb–Mar 2026. Act now before peak.
For batch comparisons, present as a ranked list with winner highlighted.
Troubleshooting
- - No key configured: Run
configure --show. If empty → ask user to get key at https://trendproof.dev/dashboard#keys - 401 / unauthorized: Key is set but invalid or revoked. Ask user to rotate at trendproof.dev/dashboard → API Keys → Rotate.
- 429 / credits exhausted: Upgrade at trendproof.dev/dashboard → Billing.
- Slow response (>5s): DataForSEO live API — expected for uncached keywords.
- score = 0 + stable: Likely very low-volume keyword; check
trend_data array.
TrendProof
面向AI代理的趋势速度情报。 在创建内容、投放广告或构建产品之前,检查关键词是上升、稳定还是下降。
在线访问 trendproof.dev
设置(API密钥)
在进行任何其他操作之前 — 检查API密钥是否已配置:
bash
python3 skills/trendproof/scripts/trendproof.py configure --show
如果未找到密钥,请停止并准确告知用户以下内容(不要尝试任何API调用):
要使用TrendProof,您需要一个免费的API密钥。
- 1. 打开 https://trendproof.dev/dashboard#keys(如有需要请注册 — 包含5个免费试用积分)
- 复制您的密钥(以TRND_开头)并发送给我
一旦用户提供密钥,保存它:
bash
python3 skills/trendproof/scripts/trendproof.py configure --api-key TRND_xxxxx
或者设置环境变量:
bash
export TRENDPROOFAPIKEY=TRND_xxxxx
分析单个关键词
bash
python3 skills/trendproof/scripts/trendproof.py analyze AI agents
示例输出:
关键词 ai agents
速度 [████████████░░░░░░░░] +87
方向 🚀 上升
搜索量 8,100 / 月
CPC $2.45 CPM $6.13
竞争度 0.38
峰值窗口 2026-02-10 — 2026-03-03
提示 🚀 强劲势头 — 在峰值前立即行动。高CPC = 强意图。
耗时 1243ms
带地区(英国示例):
bash
python3 skills/trendproof/scripts/trendproof.py analyze rust programming --location 2826
原始JSON输出:
bash
python3 skills/trendproof/scripts/trendproof.py analyze prompt engineering --json
批量分析(排序)
比较多个关键词并按速度排序:
bash
python3 skills/trendproof/scripts/trendproof.py batch AI agents LLM fine-tuning RAG pipeline vector search
输出(按速度得分排序):
关键词 得分 方向 搜索量 CPC
AI agents +87 🚀 上升 8,100 $2.45
RAG pipeline +34 🚀 上升 2,400 $1.80
LLM fine-tuning +8 📊 稳定 5,500 $3.20
vector search -12 📉 下降 3,300 $1.10
总费用:$0.3360
从文件读取:
bash
python3 skills/trendproof/scripts/trendproof.py batch-file keywords.txt
文件格式(每行一个关键词,#表示注释):
AI关键词
AI agents
LLM fine-tuning
RAG pipeline
速度得分解读
| 得分 | 含义 |
|---|
| > 50 | 🚀 强劲上升趋势 — 立即行动 |
| 10–50 |
🚀 上升 — 良好时机窗口 |
| -10 到 +10 | 📊 稳定 — 安全但无势头 |
| -10 到 -50 | 📉 下降 — 考虑替代方案 |
| < -50 | 📉 急剧下降 — 避免 |
得分公式:((最近4周平均值 − 前4周平均值) / 前4周平均值) × 100,限制在[-100, +200]范围内。
相关关键词
发现具有搜索量和CPC的相似关键词:
bash
python3 skills/trendproof/scripts/trendproof.py related AI agents
输出:
相似于:AI agents
关键词 搜索量 CPC
─────────────────────────────────────────────────────────
ai agent tools 2,400 $3.10
autonomous ai agents 1,900 $4.20
...
API参考(直接HTTP)
对于高级使用,直接调用API:
bash
分析
curl -s https://trendproof.dev/api/analyze \
-H Authorization: Bearer TRND_xxxxx \
-H Content-Type: application/json \
-d {keyword: AI agents}
相关关键词
curl -s https://trendproof.dev/api/related \
-H Authorization: Bearer TRND_xxxxx \
-H Content-Type: application/json \
-d {keyword: AI agents}
公开排行榜(无需认证)
curl -s https://trendproof.dev/api/leaderboard?limit=10&sort=velocity
响应字段:
- - velocityscore — -100 到 +200;正数 = 上升
- trenddirection — rising | stable | falling
- volume — 月度搜索量
- cpc — 每次点击费用(美元)
- cpm — 估算CPM(cpc × 2.5)
- competition — 0–1(DataForSEO竞争指数)
- peakwindow — 最高趋势活动的日期范围
- monthlysearches — 过去12个月的搜索量数据
- trenddata — 12周Google趋势图(0–100值)
- actionhint — 人类可读的建议
代理工具调用模式
当用作AI代理工具时,按以下格式呈现结果:
AI agents — 速度 +87 🚀 上升,8,100/月,CPC $2.45。峰值:2026年2月至3月。在峰值前立即行动。
对于批量比较,以排序列表形式呈现并突出显示优胜者。
故障排除
- - 未配置密钥:运行 configure --show。如果为空 → 要求用户在 https://trendproof.dev/dashboard#keys 获取密钥
- 401 / 未授权:密钥已设置但无效或已撤销。要求用户在 trendproof.dev/dashboard → API密钥 → 轮换密钥。
- 429 / 积分耗尽:在 trendproof.dev/dashboard → 计费 升级。
- 响应缓慢(>5秒):DataForSEO实时API — 对于未缓存的关键词属于正常情况。
- 得分 = 0 + 稳定:可能是搜索量极低的关键词;检查 trend_data 数组。