REST API
脚本和后端
适合定时任务、报表、批量查词
- 每次最多 100 个词
- 普通 JSON,curl 就能调
POST
/api/public/v1/search-volume{"keywords":["matcha","cold brew"],"country":"us","currency":"usd"}01 / 两种接入
同一把密钥,同一份积分。
脚本和后端
适合定时任务、报表、批量查词
/api/public/v1/search-volume{"keywords":["matcha","cold brew"],"country":"us","currency":"usd"}AI 助手
适合Claude 等 MCP 客户端
找出每月搜索 10 万以上、CPC 低于 $1 的饮品词,哪个涨得最快?
一把密钥,一份积分,两种方式都能用。
开通调用02 / 快速开始
curl "https://trendloomy.com/api/public/v1/usage" \
-H "Authorization: Bearer YOUR_API_KEY"curl -X POST "https://trendloomy.com/api/public/v1/search-volume" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"keywords":["matcha","cold brew"],"country":"us","currency":"usd"}'{
"mcpServers": {
"trendloomy": {
"url": "https://trendloomy.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}找出每月搜索 10 万以上、CPC 低于 $1 的饮品词,哪个涨得最快?
把 YOUR_API_KEY 换成你的密钥。
打开 API 与 MCP03 / 接口
请求头: Authorization: Bearer YOUR_API_KEY
/api/public/v1/usage剩余积分和限额,免费。
/api/public/v1/search-volume每个词的搜索量、CPC、竞争度和趋势。
keywordscountrycurrencyIdempotency-Key{
"request_id": "9f2c1a7e",
"charged_credits": 1,
"success": true,
"results": [
{
"keyword": "matcha",
"volume": 450000,
"cpc_currency": "USD",
"average_cpc": "0.92",
"competition": 0.41,
"trend": [{ "month": "Oct", "year": 2026, "value": 430000 }]
}
],
"errors": [
{ "provider": "volume", "keywords": ["cold brew"], "error": "no_data" }
]
}charged_credits实际扣除的积分results查到数据的词errors没数据的词,不扣积分没数据的词出现在 errors 里,不扣积分。
04 / 限额
开通条件
只有注册赠送的积分不能开通。