公开通道 · 无需 Key
游戏在线数据 API,游客直接拿去集成,无需密钥,固定限流 30 次/分,已支持跨域 CORS。
https://cm.zy1080.xyz/wp-json/ext/v1/steam/top终端调用示例(Windows / macOS / Linux)
Windows CMD(cmd.exe):
curl "https://cm.zy1080.xyz/wp-json/ext/v1/steam/top?limit=10"
Windows PowerShell:
(Invoke-RestMethod "https://cm.zy1080.xyz/wp-json/ext/v1/steam/top?limit=10").data.games
macOS / Linux(终端):
curl -s "https://cm.zy1080.xyz/wp-json/ext/v1/steam/top?limit=10"
IP 拉黑公示(隐私处理:仅显示前 3 段 · 公示 3 天 · 列表无上限)
暂无拉黑记录。
接口文档(需 Key)
Base URL:https://cm.zy1080.xyz/wp-json/cm/v1/ · 认证:请求头 X-CM-API-Key · 限流:高峰期(8:00-23:00) 45 次/分,非高峰期 30 次/分
| 方法 | 路径 | 说明 | 认证 |
|---|---|---|---|
| POST | ai/chat | AI 问答(OpenAI 兼容,messages 数组) | 是 |
| POST | shorten | 短链创建 {url, expires?} | 是 |
| GET | s/{code} | 短链 302 跳转 | 否 |
| POST | image/upload | 图床上传 multipart file(≤5MB) | 是 |
| POST | text/process | 文本处理 action=hash/format_json/summarize/qrcode/translate | 是 |
| GET | stats | 调用统计(公开聚合) | 否 |
curl 示例
curl -X POST https://cm.zy1080.xyz/wp-json/cm/v1/text/process \
-H "X-CM-API-Key: 你的密钥" -H "Content-Type: application/json" \
-d '{"action":"hash","text":"hello"}'调用统计
4总调用
0今日调用
端点分布
| 端点 | 调用次数 |
|---|---|
/cm/v1/text/process | 4 |